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

How to configure Caching in own Extension

I'm wondering how to configure coorectly caching for my own extension. So far i did the following: ext_localconf.php if (!is_array($TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations'][$_EXTKEY])) { …
MadeOfSport
  • 513
  • 1
  • 7
  • 19
0
votes
2 answers

TYPO3 include PHP function and SQL query

Have search the net, but can't find any fix/help. Im running TYPO3 v.6. Extbase/Fluid im trying to do 2 things. Including a php page, and show it in a content element on a page. trying to get some data from a MySQL db, and show it in a content…
Thomas BP
  • 1,187
  • 3
  • 26
  • 62
0
votes
1 answer

The value must be of type 'xx' error by restricted access

I have a product database extension. Based on Extbase + Fluid. Everything working like it should be, but I have a Problem with restricted Access. There are some products only for a certain group of users. When I set a group, and somebody uses a…
András Ottó
  • 7,605
  • 1
  • 28
  • 38
0
votes
0 answers

TYPO3 4.7.14 Include Plugin by TypoScript

At first, I have already read the other two Posts. (Typo3 4.7.2 include extbase plugin via typoscript and Typo3 4.6 include extbase plugin with typoscript) and I also had a look at…
Tony
  • 1
  • 1
0
votes
2 answers

Typo3 extbase validating custom or manual objects

I have created extbase extension, there for some reason I need to create object manually in create action. My create action looks like this, /** * action create * * @return void */ public function createAction() { $newObj = new…
0
votes
1 answer

Typo3 extbase input field array

I am writing small invite a friend extension on typo3 6.1.3. Here what I need is, I can send invitation to friends by adding there email address in text field. After sending by pressing submit button, that person will receive a message and that…
0
votes
1 answer

repository A have a reference to repository B. How get all A where B.field='x'?

I try to figure out how I get all Elements A where the referenced Element B has a value in a special field. Lets say i have the follow models: Person id name active companyref 1 Pers1 1 1 1 Pers2 1 2 Company id name …
nbar
  • 6,028
  • 2
  • 24
  • 65
0
votes
1 answer

TYPO3 6.1: Extbase mapping

I try to map the tx_formhandler_log. But it just wont work. At the ext_tables.php i call $tmp_columns = Array ( "checkbox" => Array ( "exclude" => 1, "label" => "exported", "config" => Array ( "type" =>…
freshp
  • 525
  • 5
  • 20
0
votes
0 answers

How to use the AJAX response in FLUID templates TYPO3 Extbase

I finally made my AJAX working in Extbase Typo3 6. However, I'm trying to use the returned array from AJAX in my FLUID view. my Ajax action in Controller: public function ajaxAction(){ $id = $this->request->getArgument['id']; $record =…
user2354302
  • 1,833
  • 5
  • 23
  • 35
0
votes
1 answer

TYPO3 autoload of external classes

I like to use autoload in TYPO3 6.0< for external classes e.g. Symfony\Component\Yaml. Is there an easier way to create an autoload than ext_autoload.php? The library I what to use have very much classes to define if using ext_autoload. Thanks in…
user2513437
  • 155
  • 10
0
votes
1 answer

TYPO3: Access old-style piBase methods from Extbase extension

Can I access old-style piBase classes and methods from my Extbase extension? For example, can I create an AccessMyoldExtensionService.php Service as a wrapper class and then pull the return values into my controller? In my case, I need to return a…
Mateng
  • 3,742
  • 5
  • 37
  • 64
0
votes
1 answer

Extbase: Ordering of translated records

I'ld like to order my records. I've already set the default ordering in the repository class: protected $defaultOrderings = array( 'title'=> Tx_Extbase_Persistence_QueryInterface::ORDER_ASCENDING ); But when creating a translation of a record…
Sven
  • 722
  • 1
  • 7
  • 25
0
votes
1 answer

TYPO3 Extbase backend module wrong template

I have just installed sample extension called blog_example and i dont understand, that when I open the backend module, i got the frontend template (blog_example/Resources/Private/Templates/Blog/index.html) instead of backend template…
Tomask
  • 2,344
  • 3
  • 27
  • 37
0
votes
2 answers

"in" property in Extbase for querying multi-values in TYPO3

The "in" property used in Extbase does not seem to be working for me. $actor contains an array of Actor model objects. My Movie model and Actor are in m:n relation. I tried something like this in my Movie…
dora
  • 1,314
  • 2
  • 22
  • 38
0
votes
3 answers

in() method - Typo3 - queryInterface

if you use the QueryInterface from Typo3 or Flow3 you can look up in the QueryInterface Extbase Dokumentation for all functions you can use. I already created some ANDs, ORs and LogicalNOTs in Flow3 and they work great. My problem is the in()…
Pete
  • 564
  • 4
  • 29