Extbase Questions
Ad
TYPO3 backend workflow when avoiding the storage of data in intermediate table
I have a situation as described in the
How to enable hide button on my typo3 custom ext?
I did an extension that allows you to create custom records (ideas), but this ideas should have the "hidder" field in 1 by default so a
Extending FE-Users with 1:n relation
In my extension i am extending the fe-users model. besides new properties (i.e. nickname) every fe-user can have multiple development entries. so
How to loop ObjectStorage items on fluid from typo3
I have a like feature on my plugin where a user can like an idea, for that i have a mm table where i relate the idea and the user. i want to
sys_category in a powermail save data finisher
I want to write powermail data in the data table of an own extbase extension. the form delivers a uid of a sys_category which i want to persist in
How to learn TYPO3 extension programming?
I am having a hard time to find in the official typo3 documentation information that i need. for example
TYPO3 v10 routeEnhancer generates slug but can't resolve it
I have a weird behavior in my own extension when using a slug. the slug generator in my tca looks like this: 'slug'
Extbase proper relation discovery
I've come accross a weird issue with extbasewhile working on some semi-complicated logic for filtering of courses for a lms tools that we work
Setting a virtual property of model in repository
I'ver created an extension for typo3 to do a radial search for retailers. the user can search for a location and it shows every retailer near that
How to adjust a TYPO3 extension for newer TYPO3 versions?
I would like to update an extension from the ter to make it typo3 v10 compatible. what are the possible solutions and what is the best practice?
Ad
Extend repository in TYPO3 9.5 LTS / Extbase
I'm trying to extend this
How can a filter combine the result of another filter with Logical AND?
I have 2 filters. one filter gets the result of the other filter: <example:widget.myfilter objects="{blogs}"
Typo3 10.4.9 / Exbase: DataMapper delievers object array with empty/null properties by using a own class extends tt_address
I'm using the datamapper in my extension to get a object array of my querybuilder result. it worked under typo3 8.7, but not anymore under typo3
Route Enhancer Configuration, when working with Extbase and Yoast
Since i have created a route enhancer for single view entries of one of our typo3 extensions, the title and description fields are no longer being
How to have an extbase repository respect the l18n_cfg for models mapped onto the pages table?
If you map the pages table to an extbase model like so: return [ \lorem\ipsum\domain\model\newsarticle::class=>[
Howto migrate config.persistence.classes subclasses
As descibed in
Sort Childobjects by specific value
Im currently trying to sort all childobjects i can get by their validity time. my current code is not sorting anything:
Migrate TYPO3 Extbase task to Symfony command
I'm trying to migrate the extension pb_social to typo3 10 lts but
TYPO3 Extension Development: Database Queries in Backend
This is my first time developing a typo3 extension, i'm using extbase/fluid. so far i've been able to set up a page/module for the backend,
TYPO3/Extbase How to create unique slug within create action?
I have slug field in my tca and in general it works, when adding via backend > list module, even if i won't input any value the
Route Enhancer for sf_event_mgt
I can't get the list route enhancer working for
Ad
My registered namespace stops to work after logout from BE
I have my site package extension toolbox with a lot of custom viewhelpers. for not violating dry rule i registered my own namespace
Use of Extbase Repositories in Symfony Command
Im upgrading an extension to work with typo3 v10. since command controllers can not be used anymore, im migrating them to symfony commands as
enablecolumns and QueryBuilder in TYPO3 9.5
I have a question about enablecolumns and querybuilder in typo3 9.5: in the tca i defined the enablecolumns: 'ctrl'
Ignore disabled state in custom TYPO3 Validator
I have a plugin with a form where user can register, to avoid duplicate registrations i've added a custom validator which checks if a fe user
TYPO3: Howto show records from a folder outside the page tree
In my typo3 installaion i have configured two websites in two separate page trees. now i would like to show a record of a custom extension in
TYPO3 Extbase form referrer wrong casing
I made a plugin which allows frontend users to write news articles. this works fine on the mac locally. however the new action gives a wrong
TYPO3 9.5: TCA type 'slug' always adds '-1' to URL
I have the following configuration in my extbase tca configuration: 'path_segment' => array( 'exclude' => 1, 'l10n_mode'
TYPO3 9.5 slug redirect for extbase records results in PageNotFoundException
I want to be able to call blogpost entries by their slug, which is made of their title, through a routeenhancer. the slug is
Howto rewrite complex query to Doctrine DBAL in TYPO3?
I am struggling to migrate a complex sql query to the doctrine dbal in typo3. my old repository query looks like this:
TYPO3 Extbase: Extend tx_cart
I would like to extend the extension cart with a new field to put in the iban in the checkout. so i created a new extension and added a database
How to come back to the same page from Detail view?
I have an extension with a 'list'-view/-action and paginated display (using the fluid paginate vh). from each item there is a link to the
Ad
where to store scheduler task related data in TYPO3
I'm working on an import script that loads data from a json feed. for this i need to save data at two moments: 1) when running the script
Setting relation values in a nested TYPO3 Extbase Backendform
Suppose i have this database model in extbase: model a - property - n:1 relation to model b model b - property -
Creating a pdf in an TYPO3 extbase extension on saving a record
I am wondering how i can generate a pdf in an extbase extension. what i wanting to do is the following: on saving a record in the backend also a
How can I get a rootline / breadcrumb within an Extbase Frontent Plugin in TYPO3
Is there a way to work with dataprocessing / menuprocessor within an extbase frontend plugin in typo3 9? i want to build a page rootline
TYPO3: Override field bodytext to load rte_ckeditor in extension
I'm currently updating a typo3 (and the installed custom extensions) from 6.2 to 8.7. the extensions create some custom content elements, build
TYPO3 9.5 Routing for custom extension (Product Navigator) - replacement of Realurl
Before typo3 9.5 realurl could handle urls and i had the following realurl configuration: 'productconfiguration' => array(
TYPO3: what is the field "access_group" for?
I don't know what is the field "access_group int(11) default 0 not null" for? first i thought it's for restriction by user_group, but there is an
TYPO3 v10.2: Frontend user session saving ($GLOBALS['TSFE']->fe_user) in Custom Authentication Service
Right now i am upgrading an old pibased extension from 6.2 to an extbase 10.2 extension. after some research i found out that the request workflow
TYPO3 / Extbase - Switch into another fe_user - and finally back to origin user
I need an approach for switching from current fe_user into another fe_user (similar to backend "simulate user" does) - and back to origin user.
TYPO3: Inject Service Classes into AuthServiceClass with Constructor
I'm using typo3 10.2 and trying to inject some service classes that i created into my authentication service. class authservice
TYPO3: How to use external PHP libraries in Extbase Extension (no composer installation)
I got typo3 v10.2 running without composer. i am creating an extension and want to include some third party php libraries into my extbase
Ad
Typo3 Extbase: How to sort parent objects by property of child objects
Say i have an extbase extension with parent objects "foo" with an m:n relationship to child objects "bar". each "bar" object has an integer
TYPO3 v9.5.11 Extbase: Inject ServiceObject generated by a ContainerClass into Repository
I am trying to inject an service object into my repository. i have created different service classes under the directory classes/services. there
TYPO3 9 Extbase EXT originalResource of FileReference is always NULL. Why?
I'm developing my own extension. in this extension it is possible to add images to a content element. in the backend viewing everything is working
TYPO3 Parent relation reciprocity
I've a tca problem. there is a relation (m:n) 'parent' which refer to the 'uid', there is also a 'parent_r' (parent
TYPO3 extbase, change sorting of elements in frontend
I created a new extension with the extensionbuilder for typo3 9.5. in my extension, there is a 1:n relation. the n-elements are sort-able. the
TYPO3 Webservice/Rest API as Repository for Extbase Extension
I am developing an typo3 extbase extension to connect to my external application that has a rest-api. all i want is to retrieve the data from my
Caching problem in TYPO3 extension controller while redirecting
When delete action is called, the record is deleted in the database but when it is redirected to listaction the value are still there until caches
File upload using http request in Extbase, TYPO3 CMS
We want to upload file using http request to some api endpoint in typo3 9.
Authenticatee FrontendUser via PHP API call from Extbase
First of all im using typo3 version 8.7. the current problem i'm facing regards authentication of frontenduser (fe_user) stored on a given
TYPO3 Extbase queries always super slow
When pulling 1000+ records, now matter how simple, using extbase in typo3 (in a custom extension), it always takes forever. using custom select
Ad
Add button on TYPO3 backend list view
I need to add button on typo3 backend list view (here for example):
TYPO3 Extbase sort foreign Model (1:n)
I got a seminar and an event model. the seminars have a 1:n relation with the events. now when i select all
TYPO3 Extbase - Manipulating TCA (using Signal Slot / Hook) after it has been cached - possible?
I'm trying to manipulate mainly the tca array (a domain model its "showitem"-value) mainly because those tabs which can be defined
How to Import csv file to database in Typo3 extbase backend extention
I created an extention using extention builder product model create table tx_product_domain_model_product ( name varchar(255)
Typo3 Define storagePid for CommandController command
I would like to import different data using a commandcontroller (scheduler). i allready figured out that it is possible to set a global storagepid
TYPO3 CSV download after SQL-Query
I created a button in my typo3 backend <f:link.action class="btn btn-default" action="redirectdownload"
How to configure speaking URL of tx_blog extension in TYPO3 9.x
I am looking for the configuration yaml for typo3 tx_blog extension.
TYPO3 8.7.x / Extbase: How to get flexform select treeview values?
I'm using flexform for my extension plugin. there is a treeview from which i want to get the values at my controller. but i got only the amount of
TYPO3 system extension "install" overwrite with my own class
I would like to override a method of typo3 system extension "instal" -> class typo3\cms\install\systemenvironment\check with my
Extbase / type problem after update from TYPO3 7 to TYPO3 9 LTS
I have an old extbase extension that needs to be fixed after updating from 7.6 to typo3 9.5.8: this line seems to be the problem:
What is the new method for TYPO3 pi_getFFvalue
Im refactoring a decent sized typo3 project and have to refactor the part with the methods $eids =
Ad
TYPO3 9.5.7: Cannot unlock indexed_search indexing module for editors
I have a page with a file link content element. when i add a new (pdf) file or override an existing, the index data of this page is not updating.
Is there a way to use PageRenderer methods on a page with cachable and non-cachable extbase actions?
If a page contains two extbase plugins and one plugin calls a cachable action and the other a non-cachable action pagerenderer method calls to add
TYPO3 Extbase Parameters in Url get ignored. No action is called
I'm writing an extension which checks for the browser version, and if the version isn't supported a hint is showed. i'm doing this with a
TYPO3 9.5 - QuerieResult Caching in my Extension - function map() on null
I am trying to get a produclist cache working in my plugin. my ext_localconf.php if
TYPO3 / Extbase: Datamapper not working anymore with TYPO3 9.5.x
In older typo3 versions like typo3 8.7.x, i used datamapper to map the results from my querybuilder select result to an array of objects. that is
How to use DataProcessors with TYPO3 plugins
The way to add a dataprocessor to a page or a fluidtemplate is often shown. how can it be assigned to a typo3 plugin? for a page you can
Dynamic recipient in form
I have a custom extension with list and detail of teachers. on the detail page i include a form with code: <formvh:render
Virtual properties in TYPO3 extbase domain models?
I'm trying to use a virtual domain model property in typo3 9.5.x that doesn't have a database field representation but i can't get it to work.
Typo3 TSFE in Backend module
Maybe i'm completely blind and a fool, but how can i access tsfe in be module od typo3 9.5? i'd like to use some page-properties of the
TYPO3: How to configure plugin preview in Backend
In the backend i want to display some configurations of the plugin the editor has selected. like in powermail or news plugin. how can this be
Configure static route for form submit action in TYPO3 9.5.5
I have an extbase extension which renders the form in the frontend and my url is as below:
Ad
TYPO3 v8. Override function in Core class
I need to override the function protected function getlanguageparameter() { $states =
QueryBuilder lastInsertId()
I would like to have the last uid of the entry. for mysql, it is "insertid()". how does that work at extbase? $querybuilder =
TYPO3: Symfony command with arguments AND dependency injection
I made a command in typo3 which has arguments and dependency injection (di). as i understood in symfony di is made with the __construct method.
PHP Warning: class_parents(): object or string expected
I am using typo3 and i have in my extension my own model, controller and repository file. in the backend i created a record which worked without
TYPO3 v9: how to query additional external database (MSSQL)
I am trying to query an additional external database connection in one of my repositories. in localconfiguration.php i've defined two
TYPO3 Extbase field names with numbers
I’ve got problematic use case: i’ve got a field something_10_somotherthing in my database, and it seems that extbase
How to return a proper 404 error from Extbase with a error handling configuration
Typo3 version: 9.5.4 goal: i want to return a 404 error from an extbase controller with the proper
Extbase (TYPO3 9.5) n:m relation with timestamp
I'm just building an extension that has users and messages tables. the message object has a n:m relation "readbyuser" so that i can see which
TYPO3: Render a plugin via Typoscript or ViewHelper and change settings
I would like to load a plugin dynamically according to some data. first i tried to do it with typoscript, but after some research i figured out,
TYPO3 - Extbase - Detect missing files for a given FileReference
I've tried three different ways to detect if a filereference's original file is still existing (i.e. file has been deleted outside
Ad
Problems with new created sys_file_refences
I'm trying to create sys_file_references in a scheduler task in typo3 7.6. but in the created sys_file_references are only title and
How to call an Extbase CommandController via Webhook URL
I would like to call an extbase commandcontroller via an url. the aim is to call it from outside to start an import. yes it would be
Select records at random using extbase's QueryBuilder
I’m working on a bespoke extension in typo3 version 8. in my extension i want to display three items in the front end in a random order
Extbase: PersistanceManager in Repository is NULL
I'm building an extension for typo3 8 and maybe i don't understand the injection mechanisms well enough, but here is my situation: i have
Edit Typoscript Setup of page in Extbase controller
I am currently working on an extbase extension. in that extension i want to edit/(add) the typoscript setup of a specific page from inside the
Good practice on how to set up routeEnhancers for list and detail view of ext:news?
Precondition the ext:news list view plugin is on page www.domain.com/news [id 9] and the detail view on www.domain.com/article [id
How to automatically edit page configuration and add a template from extension controller?
I am writing an extbase extension that automatically creates pages. so far i have managed to add the pages, and they show up in the page tree. i
How to get disabled entities in TYPO3 8.x extbase?
I've set up a simple repository query setting to get certain fe_user in typo3 cms 8.7.22. without disable this fe_user the repository gives back
remove($object) is not deleted from DB
Remove() does not delete record from mysql controller: $roomsrejected =
Persisting value objects in Typo3
I've got a money class that extends abstractvalueobject with the properties $amount (int) and
TYPO3 extbase how to end a script properly
I have a scheduler task running every few minutes that triggers a commandcontroller. if i encounter a specific scenario i need to end the
Ad
TYPO3 Extbase - How to call a controller action from external
Lets say i have an extension called my_extension and in the my_extension a plugin called apiresponse. then i
TYPO3 Extbase soap client
How can i integrate a soap client in typo3 extbase? i have installed php_soap on the webserver. can i use the normal
Ad
Blog Categories
Ad