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

Property Mapping Exception in Helhum upload example

I am using helhum File Upload Demo to upload the images. But currently i got below error. Exception while property mapping at property path "images.0":Property "name" was not found in target object of type "XXXX\XXXXX\Domain\Model\FileReference…
Vishal Tanna
  • 1,165
  • 2
  • 12
  • 36
3
votes
3 answers

typo3 extbase: validate a form

I created a simple "subscribe to newsletter" form:
Chi
  • 1,320
  • 1
  • 14
  • 48
3
votes
2 answers

Add/Create Element to ObjectStorage using Javascript in Extbase/Fluid TYPO3

what is the correct way to dynamically create new Child Elements in a Fluid Form using JavaScript? Problem: 1:n Relation (Parent/Child) using Extbase ObjectStorages: When the Parent Fluid Form is called it should be possible to add several childs…
3
votes
1 answer

In TYPO3, with extbase and fluid, what is the definition of a "widget"

What is a "widget" in TYPO3? I'm having some challenges creating an extension, and I'm seeing a lot of references to "widgets" doing this and that. I don't know if "widget" is synonymous with "extension". I don't know if it would be a special kind…
nHaskins
  • 805
  • 8
  • 22
3
votes
1 answer

TYPO3/Extbase - How to trim values before validation/saving objects?

In Extbase usually I handle form validation myself within the controller, especially when I need advanced scenarios, but now I've simple, but large form with many fields, so I decided not to waste time and just use TYPO3's validators. So far so good…
biesior
  • 55,576
  • 10
  • 125
  • 182
3
votes
2 answers

Typo3 extbase @param int not working

I got this function in my ProductsRepository: /** * @param int $ProductId * @return \Foo\Bar\Domain\Model\Products */ public function getProductById(int $ProductId) { $query = $this->createQuery(); $query->matching( …
Marcel
  • 627
  • 7
  • 25
3
votes
1 answer

Global variable inside the Flux Form

I am using Typo3 6.2.14 and i want to declare the Global Variable Flux Form. {namespace vt=FluidTYPO3\Vhs\ViewHelpers}
Vishal Tanna
  • 1,165
  • 2
  • 12
  • 36
3
votes
1 answer

Extbase Ajaxdispatcher gives error "The default controller can not be determined"

I am using typo3 6.2.12. I built an extension and I would like to render the Ajax data with Ajax dispatcher and i get following exception "The default controller can not be determined" Please help me. Thanks in advance.
Vishal Tanna
  • 1,165
  • 2
  • 12
  • 36
3
votes
5 answers

TYPO3 Flexform Settings not available during Ajax call

For my TYPO3 Extbase Extension I want to do some kind of pagination. The ajax call and everything else is fine so far. But when I try to access the $this->settings Array during the ajax call, where the flexform frontend plugin values are stored, I…
TheFlame
  • 57
  • 1
  • 7
3
votes
1 answer

Extbase can't use external PHP library

I am building a simple extension to display information on a Google Maps with Typo3. I want to use the following PHP class (http://www.ycerdan.fr/developpement/google-maps-api-v3/) but I can't use it in my Controller. I tried to use autoloading and…
ronan.lp
  • 41
  • 5
3
votes
1 answer

How to get filename in Typo3 solr extension with FAL and own Extbase extension

Before FAL, I can get the filename of an image from my own Extbase extension in the solr config file "typo3/ext/solr/Configuration/TypoScript/Solr/setup.txt" via index { queue { tx_myextension = 1 tx_myextension { …
SenioreT
  • 175
  • 2
  • 9
3
votes
1 answer

How can I render preview of FE plugin diplayed in Page module

I have developed TYPO3 (6.2) extensions with some FE plugins. I need to change informations about plugin, which is displayed in the backend on page view. Now only Title and name of plugin is displayed ... I have used flexforms for configure the…
dusty
  • 189
  • 1
  • 2
  • 12
3
votes
1 answer

get TYPO3 Extbase Repository items in other languages

How can i get items from an extbase respository in a different language? What i tested: findByUid($childUid) $query->getQuerySettings()->setRespectSysLanguage(FALSE); $query->getQuerySettings()->setSysLanguageUid(3); But the result is always the…
Arne
  • 190
  • 4
  • 21
3
votes
1 answer

Adding static SQL tables and their data doesn't work since TYPO3 6.2

I need pre-filled table for an extension which I have developed. Since TYPO3 version 6.2 the import of static SQL data doesn't work anymore. I've nothing changed on the ext_tables_static+adt.sql file, so I'm wondering what's going wrong. Is there…
seboettg
  • 195
  • 8
3
votes
2 answers

TYPO3 object storage is empty

i wanna ad a relation from one model to a nother. /** * @var \TYPO3\CMS\Extbase\Object\ObjectManagerInterface * @inject */ protected $objectManager; /** * action create * * @param \ReRe\Rere\Domain\Model\Modul $newModul * @return void …
Felix
  • 5,452
  • 12
  • 68
  • 163