Questions tagged [extbase]

Extbase is a TYPO3 CMS extension development framework working closely with TYPO3 Fluid and TYPO3's Extension Builder.

Extbase is a TYPO3 CMS extension development framework written in PHP . Its purpose is to be the foundation of model-view-controller driven extensions. It replaces the older TYPO3 pibase extension development methodology. Extbase works closely with the TYPO3 Fluid templating engine, and with the TYPO3 Extension Builder.

Resources

1425 questions
3
votes
2 answers

Getting translated records in CommandController

I've searched and debugged the last couple of days how to obtain the translated version of a DomainModel object in a CommandController in Typo3 v8.7. In Typo3 4.5/4.7 I've done the following: - input: DomainModel in default language - build a query…
Mika
  • 41
  • 7
3
votes
3 answers

How to clone TYPO3 extension?

I would like to make a copy of an extension as a base for my own extension. How can I clone a TYPO3 extension to start my own with the same behaviour. What are the files and parameters I have to change?
3
votes
2 answers

TYPO3 extension how to limit findAll (best practise)

Hi what is the best practise to limit the result of findAll in TYPO3? I want to do it in controller. Thanks in advance.
Felix
  • 5,452
  • 12
  • 68
  • 163
3
votes
4 answers

Extend TYPO3 femanager

Does anyone have a working example how to extend femanager 3.3.0 on TYPO3 8.7? I created a new Extension which does all the stuff (new database fields for fe_user, TCA, Partials,....). I have the new fields in the femanager plugin and can select…
Christian Ehret
  • 363
  • 2
  • 10
3
votes
1 answer

Extbase TYPO3 upload image for front end user

I am making a plugin with Extbase. My Responsitory got image upload and i want front end user can upload image. When i check the FormFields.html from Partials, the field image upload was empty with simple text: "File upload is not implemented!". I…
Lee
  • 1,041
  • 7
  • 20
  • 31
3
votes
3 answers

TYPO3 Extbase - Change browser page title in single view

I'm trying to change the browser page title when in single view of my extbase extension. All my attempts failed: /** * action show * * @param \Vendor\Abc\Domain\Model\Abc $record * @return void */ public function…
Philipp M
  • 3,306
  • 5
  • 36
  • 90
3
votes
1 answer

Persist object with LazyObjectStorages

I am currently implementing a web application in TYPO3 7/Extbase which has a complex object structure consisting of a root object and a tree of child objects. Let's say it resembles a more complex version of: Object A <--1:n--> Object B <--1:n-->…
taalas
  • 395
  • 3
  • 16
3
votes
1 answer

Assign non persisted object to view using extbase

While trying to assign an object to a view in my controller action I get the following message because this object is not persisted: Could not serialize Domain Object Vendor\Extension\Domain\Model\Object. It is neither an Entity with identity…
Jonas
  • 349
  • 3
  • 21
3
votes
4 answers

Typo3: How can I overwrite the default error message by property validation?

I have a class Publisher, which I want to validate with property validation. But I want to overwrite the default error messages. Here is a snippet from my Publisher model:
Felix
  • 231
  • 2
  • 17
3
votes
3 answers

TYPO3 - Pass a variable from Fluid to a cObject

I'm using fluidcontent and I would like to render a plugin in a content-element. Therefore I created the following COA: form = COA form { 15 < tt_content.list.20.extname_form 15.settings.id = | } This object is getting rendered in the…
3
votes
1 answer

TYPO3 Extbase - Correct way to add unique-constraint?

Does anybody know how to add an unique constraint to ext_tables.sql without creating problems like TYPO3 wanting to re-generate it every time you use the Database analyzer? Example: CREATE TABLE tableName( CONSTRAINT unique_iban UNIQUE (iban)…
Aljoscha
  • 306
  • 3
  • 13
3
votes
1 answer

Elements in Switchable Controller Actions not being displayed by FlexForm in TYPO3

I am having problem figuring out what is wrong with my Switchable Controller Actions. I'm using TYPO3 v7.6.10 Entry in extentionkey/Configuration/TCA/Overrides/tt_content.php: $pluginSignature =…
Fiftywebs
  • 185
  • 10
3
votes
4 answers

Is there any way to use mysql function in extbase querying?

What can i do if i want to something like following using extbase model query (Using Object Relational Model). SELECT uid FROM table WHERE fIND_IN_SET('4',column_name); OR something like SELECT SUM(column_name) FROM table WHERE 1 Note : I don't…
Mihir Bhatt
  • 3,019
  • 2
  • 37
  • 41
3
votes
2 answers

In Extbase 6.2, don't use uid for list page

When using Extbase's "show" action: I would like to look up said event by a special column ('customID'). The actual TYPO3-uid should NOT appear in the URL (with or without RealURL). The…
Urs
  • 4,984
  • 7
  • 54
  • 116
3
votes
1 answer

Extbase "findBy" with multiple parameters

I got an extension in which i want to include some filters, i know figured out that i can filter the results that are shown of my listAction() by using findBy. I tested it and it worked like this: $cars = $this->carRepository->findByCarid("1"); …
Marcel Wasilewski
  • 2,519
  • 1
  • 17
  • 34