Questions tagged [typo3]

TYPO3 is an Open Source Enterprise Web Content Management System (CMS), written in PHP. It is typically combined with a MySQL database and runs on many Unix and Windows systems.

Filter by
Sorted by
Tagged with
9
votes
8answers
18k views

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()...
15
votes
3answers
11k views

TYPO3: Hook after creating or editing page

I'm searching for a hook which is called after page creation or changes on pages like "hide page in nav", "deactivate page" or "move/delete page" Does someone know of one? Thanks!
2
votes
2answers
8k views

In an extbase extension, how to access the persistence layer from a scheduler task?

What sounds a bit academic in the title is actually quite straightforward: I have set up a TYPO3 6.1 extbase extension that I've equipped with a scheduler task. The task is supposed to import a CSV ...
13
votes
10answers
29k views

How to debug a query in extbase?

$query = $this->createQuery(); return $query->matching($query->like('linker', "$linkerKey=$linkerValue")) ->setOrderings(array('crdate' => $ordering)) ->execute()...
7
votes
2answers
10k views

RealURL: Remove Controller and Action from URL

I have an extension with a list and show action. Currently this extension can appear on multiple pages: /page-1/ /page-2/subpage/ I have configured realurl like that: $GLOBALS['TYPO3_CONF_VARS']['...
57
votes
6answers
70k views

Bootstrap 4 Sticky Footer Not Sticking

Not really sure why the sticky footer isn't working in Bootstrap 4. I have a TYPO3 website which I am a beginner at. The sticky footer is not sticking at the bottom of the page. Here is a copy of ...
11
votes
2answers
16k views

How to quickly create custom content elements in TYPO3 6.x

In TYPO3 6.x, what is an easy way to quickly create custom content elements? A typical example (Maybe for a collection of testimonials): In the backend (with adequate labels): An image An input ...
14
votes
11answers
45k views

TYPO3 Fluid complex if conditions

I am trying to write the following if condition in fluid but it is not working as I would hope. Condition As part of a for loop I want to check if the item is the first one or 4th, 8th etc I would ...
9
votes
6answers
6k views

TYPO3: 404 for restricted access page instead of login form

I have a link pointing to restricted page. When I access the link directly in logout status, its redirect to 404. Actually it should redirect to login form. I tried: config { ...
4
votes
2answers
5k views

TYPO3: How could I add css and js files via controller initialize action and page renderer?

I am using the new page renderer from TYPO3 8 on controller level to add extension specific css and js files via an initializeAction: public function initializeAction() { $extPath = ...
2
votes
3answers
3k views

Display list of elements grouped by year and by month in TYPO3 Fluid

I have a model where one field is a date. I want to display elements from that model, grouped by year and by month, like this: == 2013 == === April === * Element 1 * Element 2 === March === * Element ...
11
votes
2answers
11k views

How to upgrade TYPO3 4.5 to 6.2

What are the recommended steps to upgrade TYPO3 4.5 (or 6.1) to 6.2? I have a mac and my site is running on a shared Linux account.
22
votes
3answers
14k views

What is the best way to debug Typoscript in TYPO3 CMS?

What is the best way to debug typoscript in the TYPO3 CMS? Assuming I have a list, which is not displayed - what is the strategy to look for the issue?
6
votes
5answers
10k views

Typo3 Extbase AJAX without page typenum

Is there any way to create AJAX calls in Extbase extension without using of page typeNum?
8
votes
2answers
6k views

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-&...
18
votes
6answers
33k views

PHP OpenSSL extension not working while installing TYPO3 6.2.2 on Windows 7

I've installed TYPO3 6.2.2 on Windows 7 but I got an error message as below: PHP OpenSSL extension not working Something went wrong while trying to create a new private key for testing. Please check ...
10
votes
12answers
22k views

Remove attributes "height" and "width" of the image tag

In order to create a responsive website with Typo3 and Twitter Bootstrap, I would like to remove the height and width attributs of images Here's how images are generated in Frontend via content ...
4
votes
1answer
15k views

TYPO3 6.2 typo3_src should be a link

I wanna setup a TYPO3 6.2 Installation on MAMP PRO but when I start I get the error: /typo3_src should be a link, but it does not exist Links cannot be fixed by this system So what to do now? ...
3
votes
1answer
6k views

WinHTTP VBA subsequent request cannot use the previous login credentials?

I'm using WinHTTP in Access 2007 VBA to fetch some list of items requiring a cookie login credential account. First I login through https://www.example.com/login.php with this: Dim strCookie As ...
11
votes
2answers
7k views

TYPO3 ver. 6.x - additional configuration a.k.a. `localconf_local.php`

What we need In TYPO3 ver. 4.x we used to include additional configuration file for overwriting some settings (ie. DB credentials) by adding the include statement at the end of the localconf.php: @...
9
votes
2answers
11k views

TYPO3 - Redirecting to login page when user is not logged in

I have some restricted pages built in Typo3. The problem is I cannot automatically redirect user from these pages to login page. How do I do that? I desperately need it and cannot find a solution ...
3
votes
1answer
5k views

TYPO3 extbase & IRRE: add existing records with 'foreign_selector'

I "kickstarted" an extension with the extbase extension builder that contains some 1:1 and 1:n relations. It automatically set the field types to 'inline' and displayed a nice IRRE UI in the backend. ...
5
votes
1answer
9k views

TYPO3: how to supress deprecated warnings?

I tried modifying the php.ini file (error_reporting = E_ALL & ~E_DEPRECATED), but with no result. There's an older TYPO3 project which I would like to examine, and all these warnings are really ...
5
votes
2answers
7k views

TYPO3 / How to make repository from existing table fe_users?

I am creating a special BE module with Extbase and Fluid and I need a domain object which would be representing standard FE user. When I create new domain object called e.g. Feuser and save it, the ...
3
votes
1answer
2k views

Foreign Key to TYPO3 Frontend User

How can I set a ForeignKey to the TYPO3 FrontendUsers in the Extension Builder? Do I have to set the param map to existing table? oder make a relation? What I want to do: I've got a Model (People) ...
5
votes
2answers
1k views

What is the best usage of TypoScript in Fluid templates?

If I want to use TypoScript like menu generation in a Fluid template I have two possible ways: use the TypoScript to fill a variable for the template. doing it like this: page.10 = FLUIDTEMPLATE ...
4
votes
3answers
14k views

Typo3 Extbase Set and Get values from Session

I am writing an extbase extension on typo3 v6.1 That extension suppose to do a bus ticket booking. Here what my plan is, user will select date and number of seats and submit the form. Here my plan to ...
2
votes
3answers
2k views

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 39]. Following the official example (docs.typo3.org) I tried the "...
1
vote
3answers
6k views

How do you translate EXT:Form forms in TYPO3 CMS 8.7 LTS?

I'm new to TYPO3 and starting out with 8.7 LTS. I have created several forms with the default "form" extension. My site requires some of these forms to be translated into up to 5 other languages. So ...
1
vote
1answer
2k views

TYPO3: pass variable to typoscript via cObject?

I would like to create a dropdown login form in my menu, like in this example: http://bootsnipp.com/snippets/featured/fancy-navbar-login-sign-in-form I have this cObject that calls typoscript for the ...
9
votes
5answers
10k views

TYPO3: SQL error: 'Incorrect integer value: '' for column 'sys_language_uid' at row 1'

I have newly setup TYPO3, but when I try to add/save content, it gives me this error: SQL error: 'Incorrect integer value: '' for column 'sys_language_uid' at row 1
2
votes
2answers
8k views

The default controller for extension and plugin can not be determined ERROR in TYPO3

I built an extension and I would like to add plugin options at the time of adding the plugin to the page Extension Name : hotels in Hotel model , <?php class Hotel{ ... get set ...
1
vote
2answers
2k views

How to get rendered links of a HTML element in TYPO3 7.6

IN TYPO3 versions before 7.6 it was possible to render links inside the content element HTML by using the TypoScript tt_content.html.parseFunc.tags.link < lib.parseFunc.tags.link This does not ...
0
votes
4answers
4k views

Parse an existing JSON string in fluid template?

I have a JSON string with some data I want to render in a template. As Fluid arrays are notated in JSON too, I thought I might just take that JSON string and hand it over to fluid, telling it to treat ...
0
votes
1answer
425 views

Disable Routing in TYPO3 9

I have 3 Sites on a development server in one TYPO3 Instance with one domain. No option to create another subdoamin. Routing doesnt work because some of the pages have the same names. For now I would ...
11
votes
8answers
14k views

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 ...
7
votes
3answers
24k views

TYPO3: How do I insert page content into template

I have some content that I want to appear on multiple pages of my TYPO3 site. I could just insert this into the template, but I also want that content to be editable in the Rich Text Editor. So I had ...
4
votes
1answer
8k views

TYPO3 - Call another repository

Is it possible to call a function in different controllers? I need to call FindByCategoryGrouped($catId) in designRepository.php and getCategories($catId) from categoryRepository.php public function ...
7
votes
5answers
7k views

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 ...
6
votes
3answers
2k views

Switch to composer mode in running instance

How can I switch an existing project easily to composer? This project is updated from 6.1 to 8.7 now and should run in composer. A fresh composer setup is not a problem. For the last project I created ...
5
votes
4answers
3k views

TYPO3 Database migration from fluidcontent to flux

I want to switch from fluidcontent to flux by removing the obsolete fluidcontent. As mentioned in here https://github.com/FluidTYPO3/fluidcontent/issues/424, you have to change the CType for all ...
3
votes
1answer
4k views

How can I get the category object in Fluid of Typo3 Content Element Pictures?

after a long time of Google, I can get the categories of FAL Objects in Typo3 7.6 Fluid. But I can only return a String. I want to get an object like {data}. What I do: TypoScript lib.category = ...
2
votes
1answer
2k views

How to render a Fuid view template without Extbase? I. e an email template by eID

I want to send an email by a TYPO3 eID script using a Fluid template file to render the mail body. I could not find a simple way how to initialize a Fuid View outside of the normal MVC Extbase context....
2
votes
3answers
3k views

Typo3: adds anchor but don't know why

I have a page content element on a page. This has the ID 3 and it has a translation. This element is read out with the following Typoscript lib.marker = RECORDS lib.marker { tables=tt_content ...
1
vote
1answer
2k views

How to set breadcrumb for tx_news TYPO3

I have a TYPO3 site. I need to set a breadcrumb. For news I need to show the news title inplace of 'News Detail' (Page title of news plugin). How to implement that? My code is <v:page.breadCrumb ...
0
votes
2answers
2k views

TYPO3 9: add date to URL routing enhancers for news extension

For the detail pages of tx_news records as well as a calendar extension I wrote myself I want the record date in the URL as I had it until TYPO3 8LTS with the realURL extension: /path-to/my-page/yyyy/...
5
votes
2answers
9k views

Mapping to "pages" table from Extbase in TYPO3 6.1

I created an extension with a domain model Message. This model has a relation m:n with the TYPO3 pages (the one which has the details of the pages, like title, issite_root etc) table. However, by ...
5
votes
4answers
9k views

Get tt_content uid

I am developing an extension that allows admins to save stuff to the database. And I want that each instance of the extension should have it's own Id in the database. Is there some way to get the ...
4
votes
1answer
5k views

TYPO3 TCA execute hook after object save in backend

I want to manipulate some values and execute a custom function if an object is saved trought the backend. I found through my google search that I have to specify this in my ext_localconfphp : $GLOBALS ...
3
votes
3answers
3k views

Extending sys_file_reference (FAL)

I want to extend sys_file_reference with a own field. So i created the field and the TCA. In the backend the field is usable, but i cant refer to the field in my fluid template. ext_tables.php: ...

1
2 3 4 5
11