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
17
votes
11 answers

How to debug a query in extbase?

$query = $this->createQuery(); return $query->matching($query->like('linker', "$linkerKey=$linkerValue")) ->setOrderings(array('crdate' => $ordering)) ->execute(); How can i debug such a generated query in extbase? When…
pdu
  • 10,295
  • 4
  • 58
  • 95
11
votes
8 answers

Typo3 V6: How to create a content element container? (without TV)

For a project I'm using Typo3 v6.0. I'm looking to create nested content elements, or a content element container. I want to be able to create an inline two-column layout without using a specific template for it. I'm looking to do this without the…
Maurice
  • 4,829
  • 7
  • 41
  • 50
10
votes
2 answers

TYPO3: Pass multiple arguments to a partial from a fluid template

I have a fluid template, from where I call an often used snippet (called "partial"): Template: Partial fbLikeBox.html:
Mateng
  • 3,742
  • 5
  • 37
  • 64
10
votes
7 answers

How to get TYPO3 settings in the utility files?

plugin.tx_xxx { setting { storagePid = 23 } } I want this TYPO3 settings in utility file. Please help me.
Vivek Parmar
  • 773
  • 1
  • 10
  • 26
9
votes
1 answer

not working in TYPO3 v8 Fluid

I recently upgraded from TYPO3 7.6 to 8.7 and discovered that using to escape a curly brace in Fluid no longer works. Any advice is appreciated?
Xari
  • 266
  • 1
  • 4
  • 13
9
votes
8 answers

Extbase - get created sql from query

i want to get some database tables from my typo3 extensions. The Extension is based on extbase. The query always returns nothing but the data exists I've tried this: $query = $this->createQuery(); $query->statement('SELECT * FROM `my_table` …
alphanyx
  • 1,647
  • 2
  • 13
  • 18
9
votes
4 answers

extbase repository findAll() returns result null

I have several Controllers like those: CategoryController and NewsController As well as the domain models for category and news and reposirtories for both. In the NewsController I do a dependencyInjection like this (the same way as in…
kapale
  • 535
  • 1
  • 7
  • 15
8
votes
2 answers

Indexed Search extbase htmltags in output

I am using TYPO3 7.6.11 and indexed_search 7.6.0. I use the extbase plugin for indexed_search and in the output it escapes the HTML-Tags to mark the searchword. For example, when I search for "search" I get this output: Test text with
nbar
  • 6,028
  • 2
  • 24
  • 65
8
votes
1 answer

Validation failed while trying to call showAction

I am using TYPO3 7.6.11 and getting the following error when I am trying to call showAction(). Validation failed while trying to call Vendor\Extension\Controller\MyController->showAction(). I've already checked the validation in the model and…
lufi
  • 610
  • 7
  • 29
8
votes
3 answers

How to get value from FlexForm to Controller

I'm practicing on a very easy Extbase Extension and used a FlexForm to get three formula fields. One of them is called "code" which should go to the EmbedderController.php and then to the viewer List.html. I checked all tutorials I could find. I…
Kendel Ventonda
  • 411
  • 3
  • 9
  • 22
8
votes
5 answers

How to create a page url from page uid

I am working on a typo3 extension and I want to generate an url from the page id. Currently I create the url by appending index.php?id=ID to $GLOBALS['TSFE']->baseURL. Is there any other way to create a readable url from the page id, and if yes,…
user1455455
8
votes
1 answer

Execute repository functions in scheduler task

Currently I have an scheduler task, but I want to use function from my extbase repository (in the same extension). I keep getting "PHP Fatal error: Call to a member function add() on a non-object", no matter how I try to include my repo or…
Daan
  • 130
  • 2
  • 6
8
votes
2 answers

How do I bootstrap a plugin on TYPO3 CMS 6.0 with extbase?

I'm trying to use an extbase plugin through typoscript on TYPO3 CMS 6.0. I used the following code, that I found repeated all over the web: 10 = USER 10 { userFunc = tx_extbase_core_bootstrap->run pluginName = Sermons extensionName =…
7
votes
5 answers

TYPO3 tutorial extension, controller does not exist

I'm trying to get started with TYPO3 extensions and was following this tutorial to get to see the basics. In the backend everything works fine, but on the front end I get an error: Oops, an error occurred! Code: 20170209104827c3b58d58 - …
Woeler
  • 227
  • 4
  • 14
7
votes
3 answers

TYPO3 6.2 - how to create FileReference in frontend (FE)?

I have the hypothetical Zoo extension in which I've Animal model with photo field and FrontEnd (FE) plugin with typical CRUD actions. photo field is typical FAL's FileReference and it works perfectly in backend (BE) with common TCA IRRE config. I'm…
biesior
  • 55,576
  • 10
  • 125
  • 182
1
2 3
94 95