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

EXTBASE: An object of class "Tx_Extbase_Persistence_ObjectStorage" could not be converted to a plain value

After saving a model with a 1:n relation in the extension builder, this error shows up: An object of class "Tx_Extbase_Persistence_ObjectStorage" could not be converted to a plain value. What needs to be set in the extension builder to fix it?
gSorry
  • 1,254
  • 2
  • 21
  • 29
0
votes
2 answers

Using external libraries in TYPO3 V 6.1 for an Extension

According to this http://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/Autoloading/Index.html from TYPO3 V6 , using namespaces is encouraged and that any PHP file should contain only ONE class. Quoting from the above link - In TYPO3 every…
dora
  • 1,314
  • 2
  • 22
  • 38
0
votes
1 answer

TYPO3: Extbase-Backend Module -> Copy DB-Table and Data

i'm working on my first TYPO3-Project (TYPO3 6.1). I developed a CSV-import which works well, but now i want to backup the table before the import new Data. Thus, i want to copy the Table with the Data. My question, how can i do this in the right…
Hayo
  • 240
  • 1
  • 2
  • 12
0
votes
3 answers

TYPO3 Fluid: Map m:n values from multiple select form to model

I have a m:n relation in my domain model: inquiry is the aggregate root in my domain model several investigators can be assigned to each inquiry. In the inquiry model this is defined: /** * @var…
Mateng
  • 3,742
  • 5
  • 37
  • 64
0
votes
1 answer

TYPO3 - extending an extbase extension with new fields and using these in fluid templates

I'm trying to extend powermail (version 2) with the possibility to add a note for each input field. So far I have created a new extension using extension builder and with a few modifications to ext_tables.php the field show up in the backend. The…
user1708687
  • 67
  • 1
  • 1
  • 7
0
votes
1 answer

Typo3 extbase include html2pdf

How to include html2pdf in extbase v6.1 extension ? I am writing an extension, there I need to convert created field information to pdf with nice table structure. Thank you.
0
votes
1 answer

typo3 extbase validate for multiple records

I have written one extbase plugin, that creates the FE users from front end form. The create action is something like this /** * action create * * @param \TYPO3\Usermanagement\Domain\Model\Users $newUsers * @return void */ public function…
0
votes
2 answers

TYPO3: name of submit button in extbase

I have a form with submit buttons save, save and close, save and view, and save and add, as usual in TYPO3. Each button is a item, and the only difference is the name argument of the input. In my controller, how can I determine…
Charles Brunet
  • 21,797
  • 24
  • 83
  • 124
0
votes
0 answers

Multiple calls to same repository, after first don't get results

I'm currently writing my own extension based on extbase 1.4.6 on typo3 4.6.18. I have a single plugin that is configured with a flexform utilizing switchableControllerActions to determine which action to execute. Both actions do basically the same…
gsnerf
  • 573
  • 1
  • 4
  • 15
0
votes
2 answers

typo3 extbase permissions in extensions

I have written one extension for making service order. The issue I am facing here is, There are FE users belong to three FE user groups namely "client", "Admin" and "Employee". Here the client can make order and he should be able to see only his…
0
votes
1 answer

How to retrieve the previous data record in TYPO3 Extbase?

I have a form that submits data to my controller. The function createAction() takes care for adding a new record to the database. I need to get a certain value (specialValue) from the previous record in the database, which is neither deleted nor…
Mateng
  • 3,742
  • 5
  • 37
  • 64
0
votes
1 answer

Typo3 extbase sql_fetch_assoc error

In Typo3 version 6.1, I have written some custom queries in My extension Repository for example in file Mytest/Classes/Domain/Repository/MytestRepository.php class MytestRepository extends \TYPO3\CMS\Extbase\Persistence\Repository { public function…
0
votes
1 answer

unwanted autoscale

In an extbase extension i want display images in the original imagesize. To have atomatic "width" and "height" i use in the template But it doesnt work like i expected. Typo3 make a resize over…
Pax
  • 19
  • 2
0
votes
1 answer

Extend/Change extensions in TYPO3

I wanted to ask, how to change files in a TYPO3-Extension, that they wont be overwritten after an update of the specific extensions. I know that there are 'hooks', but they only give me some functions, not the hole controller file of an action. Are…
Agash Thamo.
  • 748
  • 6
  • 18
0
votes
2 answers

Setting the order of TYPO3 BE module

I registered successfully a BE module and submodule in Extbase extension with this common code and of course it works: /** Myext modules group */ Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'myext', '', '' ,array(), array( …
biesior
  • 55,576
  • 10
  • 125
  • 182