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
7
votes
2 answers

How to compare DateTime in Extbase repository

I try to compare the start date of an event with the current date in order to only display the next events. This is my try in the eventRepository: public function findNext() { $query = $this->createQuery(); $query->matching( …
qualle
  • 1,347
  • 3
  • 14
  • 29
7
votes
2 answers

RealURL: Remove Controller and Action from URL

I have an extension with a list and show action. Currently this extension can appear on multiple pages: /page-1/ /page-2/subpage/ I have configured realurl like that: $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']=array ( …
lampshade
  • 2,470
  • 3
  • 36
  • 74
7
votes
2 answers

TYPO3 Extbase: setDefaultOrderings in Controller

I have an extension (extbase/fluid) with an main object "Etikett" with a relation to a child object "Land". I want to order my output, so I'm using the setDefaultOrderings method in my Etikett controller, but I got no results, why?…
Ralf
  • 836
  • 1
  • 9
  • 32
7
votes
3 answers

How to use standard fields like crdate and cruser_id with TYPO3 and extbase?

I have the domain models Basket and Article. If I call the following I receive the articles in the basket. $articlesInBasket = $basket->getArticles(); How can I use the TYPO3 standard attributes like crdate and cruser_id. It would be nice to use…
koalabruder
  • 2,794
  • 9
  • 33
  • 40
6
votes
2 answers

Extbase: Choose lazy or eager loading at runtime

I have a domain object Foo that has an 1:n relation to a domain object Bar. There are two major use cases where I need to get all foo's matching some criterion. In case A, I care about the bars attached to each foo, in case B, I don't. There are…
adhominem
  • 1,104
  • 9
  • 24
6
votes
2 answers

TYPO3: How to use external PHP libraries in Extbase Extension (no composer installation)

I got TYPO3 v10.2 running without Composer. I am creating an extension and want to include some third party PHP libraries into my Extbase Extension. I already read in the TYPO3 docs that those should be placed in…
typo3dev
  • 107
  • 1
  • 9
6
votes
2 answers

Difference between addModule and registerModule in TYPO3

There are 2 functions in TYPO3 which seem to more or less do the same: ExtensionManagementUtility::addModule /** * Adds a module (main or sub) to the backend interface * FOR USE IN ext_tables.php FILES ExtensionUtility::registerModule /** *…
Sybille Peters
  • 2,832
  • 1
  • 27
  • 49
6
votes
5 answers

TYPO3 Extbase - redirect to pid

$GLOBALS['TSFE']->pageNotFoundAndExit(''); is currently used, but instead I would like to redirect to a page ID. With the command redirectToUri, I could find no solution, or didn't work. Code: /** * initialize action show * @return void */ public…
Stigi
  • 109
  • 1
  • 1
  • 8
6
votes
1 answer

TYPO3 Extbase - how to use core Signal/Slots

I have a working Extbase extension in TYPO3 V6.2, which stores Products. Now I want to learn about using Signal/Slot (Extbase variant of Hooks). I wonder why the example don't work. When I update a product in List module in the TYPO3 Backend, it…
SenioreT
  • 175
  • 2
  • 9
6
votes
4 answers

TYPO3 Extbase: How to sort child objects

I have an Extbase Model Article and a 1:n Relation Product. In Article TCA i have an inline field configuered. In my Article Template I want to display all related Products. These are oredered by uid. How can i change the ordering of the child…
LuJaks
  • 1,047
  • 1
  • 10
  • 21
6
votes
5 answers

Typo3 Extbase AJAX without page typenum

Is there any way to create AJAX calls in Extbase extension without using of page typeNum?
smitrovic
  • 451
  • 1
  • 7
  • 23
6
votes
2 answers

Get typoscript values in extbase framework

I am new to extbase(MVC) Framework , How can we get typoscript values in our extension : Eg : suppose if i have some typoscript values like: plugin.tx_some-extname.somevlaueX = XXXX plugin.tx_some-extname.somevlaueY =…
Siva
  • 481
  • 7
  • 26
5
votes
2 answers

TYPO3: Frontend Plugin Filter / Search

I've got a problem I can't find any documentation or solution for. I've created a TYPO3 extension with a List and Detail View, everything works fine. Now I want to add some Input Fields above the List view, to let Site-Visitors Filter the List…
Denis49
  • 71
  • 8
5
votes
3 answers

TYPO3 8.7 Query Sorting with Flexform uid´s

I got a problem with many TYPO3 extensions with ordering query results by Uid´s which come from a flexform Plugin setting in the Backend. I try to create a query what gives me the result uid´s in the same order like the flexform is from the Plugin…
Fanor
  • 53
  • 2
  • 8
5
votes
3 answers

TYPO3: No template was found. View could not be resolved for action

I'm experimenting a bit with TYPO3 backend modules and I'm trying to get a view when I click my module in the left menu in the backend. However when I click this I get the following message: Sorry, the requested view was not found. The technical…
Woeler
  • 227
  • 4
  • 14
1
2
3
94 95