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

Typo3 Custom Extensions

I am all new to Typo3. I created an extension called myExtension in /typo3conf/ext/myExtension The folder structure is as follows -Classes --ViewHelpers --myExtensionViewHelper.php -Resources --Resources --Private --Templates …
dora
  • 1,314
  • 2
  • 22
  • 38
0
votes
1 answer

make map from model to mm table with special fields

Hello I want to create class that is bassed on mm table with some special fields. I`m writing plugin that is some kind of message plugin and now I want to mark in mm table (message_frontenduser_mm) is message is read by user and the creation date…
Fixus
  • 4,631
  • 10
  • 38
  • 67
0
votes
1 answer

f:form.select does not show me the data

I have an object adherent that contains an object grade(Class: Grade, membres: $uid,$abelGrade). I want to display all grades in database table 'grade'. so I assign a grades (an array of grades) to my view and i write this code :
NMNM
  • 293
  • 1
  • 2
  • 11
0
votes
1 answer

TYPO3 6.0.4 default controller for extension not found

I created my third extension with the extension builder but this one won't install itself properly. I get the error: The default controller for extension "NtImpressions" and plugin "Gallery" can not be determined. Please check for …
qualle
  • 1,347
  • 3
  • 14
  • 29
0
votes
1 answer

Referential Integrity in List View

I have made an extension in TYPO3 v4.5 with the Extension Builder. Now I have some Tables, that don't have a create/update function, because they don't change very often (only once in some month). To change them, i want to use the list view in…
Agash Thamo.
  • 748
  • 6
  • 18
0
votes
1 answer

TYPO3 4.5 extbase test backend module

I search for a way to test my extbase-extension. I work with two different templatepaths for front- and backend. module.myext{ view { templateRootPath = myext/Resources/Private/Backend/Templates/ partialRootPath =…
freshp
  • 525
  • 5
  • 20
0
votes
2 answers

Images in Extbase - Fluid

I have an standard image upload in TYPO3 Backend, that allows more than 1 image upload. So I have an image database field with data like that: "image1.jpg,image2.jpg". In Frontend, I can explode the field, send the array to fluid, and output it in…
0
votes
1 answer

Change storage pid when programmatically persisting a model

I'm quite new to Extbase and I'm trying to programmatically persist a new Model. The following code works: $testModel =…
user125661
  • 1,558
  • 12
  • 28
0
votes
1 answer

Conditional validation of attributes in extbase: Add errors manually

I need to validate some fields based on values other fields have, within the same model. Since a custom validator only has access to the value it is validating, I can't check other validations there. From inspecting AbstractValidator, I couldn't…
pdu
  • 10,295
  • 4
  • 58
  • 95
0
votes
0 answers

how to find records that do not have a value in the foreign key column in extbase

In extbase, how can I find all records that do not have a value in the foreign link column. I have a model that can relate to a different object. The relation is 1:n and it is called "dayend". I now create a query like this in the responding…
Martin
  • 1,889
  • 3
  • 20
  • 25
0
votes
1 answer

Fluid Extbase HTML not correct

I have this Code: {article.text} My Problem is that if i have a Tag like object oder param in the {article.text.} The Code doesn't compile this an show me the normal text. Is there a other possibility to prevent this…
zoom23
  • 694
  • 2
  • 10
  • 23
0
votes
2 answers

Extbase: hide new records

createAction: is it possible to set newly created records (frontend) to "hidden" by default? I want the Backend Admin to check them first and make them public afterwards.
0
votes
1 answer

findByPid is not working for pages_language_overlay mapping

(I use typo3 4.5 with extbase-extension.) I was map the pages_language_overlay to my extbase-model Tx_Extension_Domain_Model_ModelName { mapping { tableName = pages_language_overlay } } I created a model…
freshp
  • 525
  • 5
  • 20
0
votes
1 answer

typo3 extbase use toArray in an phpunit test

I have an extbase-extension (typo3 4.5) with $test = $this->testRepository->findAll(); $this->view->assign('test', array_merge( array('0' => 'select'), $test->toArray() ) ); it works very well, but i want to test the code…
freshp
  • 525
  • 5
  • 20
0
votes
4 answers

Restrict output of typo3 extbase backend module

I wrote a backendmodule with extbase in typo3 4.5 and I would like to show different extbase models for different usergroups, but I don't know how. My idea was to register one backendmodul per usergroup, but i think its too laborious. I don't want…
freshp
  • 525
  • 5
  • 20