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
3 answers

Extbase update deleted=1 object in Controller fails (Object with identity x not found)

I want do give the function to 'restore' deleted Object in my FE-Ext. It seems, that it does not find any deleted records an so i cannot update them set deleted = 0. What you be you sugestion to handle that from the…
metaxos
  • 151
  • 1
  • 16
0
votes
2 answers

Typo3 Extbase plugin Schelduler

Is there any tutorial or example how to call extbase action from Schelduler? I found something about CommandControler, but it did not work.
smitrovic
  • 451
  • 1
  • 7
  • 23
0
votes
1 answer

from ext_localconf.php eID called controller makeInstance does not find any Repository

Because of using ajax i have a eID configured, see below: I would like to use a existing repository of my extension. So i'm loading a Controller via ext_localconf.php which works, i'm in the…
metaxos
  • 151
  • 1
  • 16
0
votes
1 answer

Extbase ObjectStorage returns a hashcode. But why?

I was just extending an existing Typo3 4.7 Extension with two own Model classes. It runs quite well, Backendforms look like expected BUT when I try to access some SubObjects of my Model Classes in the templates via Object Accessor…
0
votes
1 answer

Get rid of the wrap of the extension content in extbase

I have an extbase extension, and i'm inserting it in a typoscript : lib.content = USER lib.content{ userFunc = tx_extbase_core_bootstrap->run pluginName = plugin extensionName = extension vendorName = TYPO3 } The…
user
  • 539
  • 1
  • 11
  • 32
0
votes
3 answers

Include extbase plugin via typoscript, when having multiple plugins

In my extbase extension a have multiple plugins, in my ext_tables.php i have : \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin( $_EXTKEY, 'plugin1', 'Services du CSPQ'…
user
  • 539
  • 1
  • 11
  • 32
0
votes
1 answer

Typo3 6.1 Extbase - select all fe users

I have an extension where I need to get all frontend users. I tried this: /** * @var \TYPO3\CMS\Extbase\Domain\Repository\FrontendUserRepository $feUserRepository */ $feUserRepository =…
cili
  • 1,037
  • 2
  • 19
  • 34
0
votes
1 answer

How to include public resources in frontend plugin typo3

I'm building a weather widget extension for typo3 6.1.4 using Extbase/Fluid. The extension skeleton was created with extension_builder My question is : How can i include css and js files to the template ? When trying to add a viewHelper i get this…
alex
  • 646
  • 9
  • 19
0
votes
1 answer

TYPO3 extbase - add MM relation with additional field

I have a basic news extension with a m:m relation to the fe_users table. This relation is used for knowing which user accessed which news, so when the user accesses the details view of some news, an entry is added in the MM table. What I want also,…
cili
  • 1,037
  • 2
  • 19
  • 34
0
votes
2 answers

TYPO3 Extbase bidirectional 1:n relation

Let's say we have a 1:n relation between an Author and Book model. Modeling the relation using the Extension Builder, the necessary code to get Book's for an author is provided. But what about the inverse? How do I get the Author for a given Book…
Rico Leuthold
  • 1,975
  • 5
  • 34
  • 49
0
votes
1 answer

TYPO3 realation, new entry to "select" all entries

I have an extbase extension, where I have a model A with a relation to another model B. Model B has a lot of entries, so I dont want to assign every single value by clicking on it. So it would be nice if I would have a possibility to somehow select…
0
votes
2 answers

Extbase add calculated field in query/repository

I have a normal extbase extension. In the controller I get all my records: $stuff = $this->jobRepository->findAll(); $this->view->assign('stuff', $stuff); and in the template I display them: {stuff.title}
nbar
  • 6,028
  • 2
  • 24
  • 65
0
votes
1 answer

how to : specify a default action for a TYPO3 v4.5.30 extbase extension?

I made a new extension in extension builder (a basic 4 model extension with no custom work in it, the only thing slightly fancy it does is extend the fe_users table) and installed it and made a page with the plugin and when I view the page I get a…
The Newbie Qs
  • 483
  • 8
  • 22
0
votes
1 answer

In TYPO3 6.1 fluid, how to correctly write conditions in a Partial?

In my extbase/fluid extension, I can get "if" conditions to work in a List template, but not in a Partial. xxx returns true and writes out "xxx" no matter what item.typ's value is. Is that the right syntax…
Urs
  • 4,984
  • 7
  • 54
  • 116
0
votes
1 answer

TYPO3 Fluid: Don't send all the inputs of a form

I have a Fluid View with some fields. Most of them are populated by jQuery magic (like Autocomplete; Checkboxes are added together, then put into a hidden field, ..), therefor I added some plain html, non fluid inputs, which I won't…
Sascha
  • 858
  • 1
  • 16
  • 30