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

TYPO3 Extbase: CSRF-FormProtection fails for non-admin user in frontend

I have implemented a CSRF protection for my custom TYPO3 extension (according to the documentation) and it's working nicely for non-authenticated frontend visitors and also for backend admins in frontend. A strange thing I noticed is that an error…
Valentin B.
  • 103
  • 1
  • 5
5
votes
2 answers

TYPO3 Extbase: How to get disabled related Object, without raw sql-query?

Scenario: I have following model: ContactPerson has a relation to FrontendUser and is the owning side of the relation. Now I have following problem: I am activating/deactivating the FrontendUsers in a task, based on the ContactPersons which are…
Aljoscha
  • 306
  • 3
  • 13
5
votes
1 answer

FAL FileReferences aren't localized in FE

In TYPO3 6.2 in my model I have a common field for files called documents, it's ObjectStorage of \TYPO3\CMS\Extbase\Domain\Model\FileReference nothing unusual :) The problem is on localized pages, just when I create a localized version of my obj all…
biesior
  • 55,576
  • 10
  • 125
  • 182
5
votes
1 answer

Sort elements through child objects

I have an item object with an 1:n relation to categories. Lets say categories is a numeric value. I tried to sort all items as per categories with setOrderings() but it doesn't work. //inside findAll() in my ItemRepository…
d4ny3l
  • 163
  • 18
5
votes
1 answer

Typo3 FAL missing alternative text field in Extension

i am using FAL in my Extension and cant get the alternative field showing. Please look at these 2 images to have a better view: Image 1: This is the view in my extension Image 2: This view is in Typo3 Page Ressource Tab As you can see the image is…
nstungcom
  • 347
  • 2
  • 13
5
votes
1 answer

PHP error "Cannot redeclare class" in extbase-based extension of Typo3 4.7

I have created an extension for Typo3 4.7 (actually, it was created for Typo3 6.2, but I am trying to backport it) using the extbase framework. I have already removed all namespaces from the core and also checked TYPO3 - Call another repository.…
Christoph
  • 1,964
  • 2
  • 27
  • 44
5
votes
2 answers

Delete file when deleting sys_file_reference

I am writing an extension which allows to upload files in the frontend and backend of a TYPO3 instance. The upload works in both views but if the admin wants to delete an upload in the backend in list view, the "physical" file, which is located on…
Vanessa-Joyce
  • 183
  • 3
  • 8
5
votes
1 answer

How to add Tooltips to a Flexform Plugin Configuration?

I guess its quite Simple as soon as you know it once, but I am searching on this Topic now for 4+ Hours. So maybe someone can help me out, with a push to the right direction. I develop an Extension for TYPO3 6.2 with Extbase. The Plugin…
Panade
  • 309
  • 3
  • 12
5
votes
1 answer

TYPO3 Extbase getArguments from other Extension

I've got an extension with two plugins and I need to access the getVars from both. $this->request->getArguments(); The above code gives me, of course, only the vars from the current plugin. Anybody knows how I can access the Vars from a different…
lufi
  • 610
  • 7
  • 29
5
votes
2 answers

TYPO3 / How to make repository from existing table fe_users?

I am creating a special BE module with Extbase and Fluid and I need a domain object which would be representing standard FE user. When I create new domain object called e.g. Feuser and save it, the extension builder creates special repository and…
Tomask
  • 2,344
  • 3
  • 27
  • 37
5
votes
1 answer

"Map to existing tables" in Extension builder showing weird issues in TYPO3

In my extension MyExt, I mapped the model Page to pages table in TYPO3. Firstly it shows me the type mismatch error, I anyhow went ahead and saved it. The following things happen: My Page tree becomes like this: My New Record Form shows only…
dora
  • 1,314
  • 2
  • 22
  • 38
5
votes
2 answers

Mapping to "pages" table from Extbase in TYPO3 6.1

I created an extension with a domain model Message. This model has a relation m:n with the TYPO3 pages (the one which has the details of the pages, like title, issite_root etc) table. However, by using the mapping to existing tables option, it gives…
dora
  • 1,314
  • 2
  • 22
  • 38
5
votes
1 answer

TYPO3 Extbase: How to access "modified" flag of my object property?

I frequently use the Extbase DebugUtility (Tx_Extbase_Utility_Debugger::var_dump($object)). It displays additional data for each property, especially the "modified" flag - see screenshot. How can I access this "meta property" from within my…
Mateng
  • 3,742
  • 5
  • 37
  • 64
5
votes
1 answer

TYPO3 TCA select, NULL value in items array

I have made an extension in Typo3 4.5 with extbase and fluid. Now to insert some data i use the backend module 'list' that makes some forms with the TCA of the tables. To make a select box optional, I insert an item before the foreign table like…
Agash Thamo.
  • 748
  • 6
  • 18
5
votes
2 answers

TYPO3 Extbase code for pi_getLL?

in pi based Extension I have: $this->pi_getLL('languagekey') to get my translated variable. What is the Extbase code for that? I know how to do this in Fluid Template, but I need it in the Repository.
1 2
3
94 95