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
4
votes
1 answer

Ignore validation on showAction

I create a Extbase Extesion and i would like ingore validation on "showAction". I define a Model Validation for my Model "Event" and add this annotation over my "showAction" in my "EventController". /** * action show * * @param…
smartcoderx
  • 1,021
  • 2
  • 14
  • 32
4
votes
1 answer

Display Extbase FileReference with Fluid

In an extbase extension, I have a FileReference Object. It was created with extension_builder originally. From The Model: /** * apprenticeshipDocument * @var \TYPO3\CMS\Extbase\Domain\Model\FileReference */ protected $apprenticeshipDocument =…
Urs
  • 4,984
  • 7
  • 54
  • 116
4
votes
1 answer

Get parent pages of current page in extension

Is there a way to get all Parent IDs from a subpage via php? ... Page Page 12 Subpage 21 Subpage 22 CurrentPage 23 Want to get 12,21
anguish
  • 458
  • 1
  • 7
  • 27
4
votes
0 answers

TYPO3 | Extbase | Domain Model | Lifecycle Hooks

After hours and hours where I searched the whole universe for an answer, I decided to ask you clever guys again. I' working on Typo3 6.2. I've written an Extbase extension including domain models, which is working fine. Instead of custom backend…
Jean
  • 165
  • 2
  • 13
4
votes
1 answer

Typo3 Extbase Repository->findAll() returns empty

I just can't findAll() make return anything even though I am able to access a specific record by findByUid(). I have taken note (and tried to workaround / set up) of the typoscript solution and the record storage page bug without any success. I am…
Mario
  • 2,619
  • 1
  • 24
  • 22
4
votes
1 answer

Get data from two different models in one controller in TYPO3 extbase

I'm novice to the "new" MVC framework extbase on TYPO3. I'm trying to create a simple form with two selectors, one for "Schools" and one for "Programs". I have made both models using the Extension Builder and I'm able to list all the schools and all…
Memochipan
  • 3,405
  • 5
  • 35
  • 60
4
votes
1 answer

TYPO3 extbase: how to use ObjectStorage?

I'm trying to use a m:n relation, the same way as FrontEndUser is related to FrontEndUserGroup, e.g. without intermediate mm table. In my controller, I build my object, then I call $barRepository->update($barObject); to update the values of my…
Charles Brunet
  • 21,797
  • 24
  • 83
  • 124
4
votes
3 answers

EXTBASE: How to get hidden record

How to get hidden record in frontend? Want to get hidden record then change hidden to 0.
gSorry
  • 1,254
  • 2
  • 21
  • 29
4
votes
3 answers

TYPO3: get path out of file reference in Extbase

i've created a Custom Content Element with Fluid and Extbase (TYPO3 6.1), in which you can define a picture. In the picture-settings i can set a img-link, which is targetting a file. In my Controller i can access this data…
Hayo
  • 240
  • 1
  • 2
  • 12
4
votes
1 answer

How can the current language be added to an extbase redirect?

In my extbase controller action, I want to redirect to another controller/action after a file has been uploaded, so I call $this->redirect('index', 'Download', null, null, $this->settings['listView']); Problem is, that the current language…
Michael
  • 2,309
  • 1
  • 23
  • 34
4
votes
2 answers

EXTBASE: How to get current page uri in extbase controller?

How to get uri of current page in extbase extension controller? In case I need to send current uri via email or save it to database for later use or statistics.
gSorry
  • 1,254
  • 2
  • 21
  • 29
4
votes
4 answers

Typo3 Extbase Set and Get values from Session

I am writing an extbase extension on typo3 v6.1 That extension suppose to do a bus ticket booking. Here what my plan is, user will select date and number of seats and submit the form. Here my plan to push the date and rate of the selected seat to…
4
votes
3 answers

Set TYPO3 extbase storagePageIds / storagePid to current

I am using the TYPO3 extension feupload, which relies on extbase. This is my first contact with extbase. But the question is about extbase in general. I expect TYPO3 to include the usual "IN (current-page)" pid check by default in queries, unless…
Urs
  • 4,984
  • 7
  • 54
  • 116
4
votes
2 answers

$this->settings empty in Extbase extension

recently I created an extension with the new Extension Builder (TYPO3 6.0, Extbase 6.0). To see if the setup.txt works I added a simple line to it: plugin.tx_myext { view { templateRootPath = {$plugin.tx_kremsimpressions.view.templateRootPath} …
Florian Rachor
  • 1,574
  • 14
  • 31
4
votes
3 answers

Combining two QueryResults in a Extbase Repository

I'm programming a TYPO3 - extension for a website. Since I'm using the Extbase Framework I have a Repository class (Tx_Extbase_Persistence_Repository) where I do two sql queries in a row: $query1 =…
Fabian Fritz
  • 390
  • 3
  • 14