FAQ Database Discussion Community


Copy typo3 to a new domain

typo3,typo3-6.2.x
I try to copy a typo3 installtion to a new directory (and new domain), but got some problems I can't figure out where they come from. What I have done is: I copied all the files to the new directory (New domain is mapped to this directory). I copied the...

Typo3 Rich Snippets with typoscript

typo3,typoscript,typo3-6.2.x,rich-snippets,google-rich-snippets
I have not been successful to implement rich snippets in my typo3 site. Basically I have tried to wrap the html tag and include meta snippets to no avail but a chain of site errors. page.meta.itemprop.name = name page.meta.itemprop.description = description page.meta.itemprop.image = http://www.example.com/img/01.png The html code is the following...

In extbase, how to access item by another value than uid

typo3,extbase,typo3-6.2.x
In a custom extbase extension, I need to call a show action, passing it another value than uid (this is a continuation of Use other than primary key as RealURL id_field). As the value "other than uid" is not resolved, it results in the exception http://wiki.typo3.org/Exception/CMS/1297759968 EDIT: here's the current...

TYPO3-Upgrade 4.5 to 6.2: namespaces

namespaces,typo3,typo3-6.2.x
I'm updating an old TYPO3 to latest verison 6.2.12. As I do so I replace deprecated classes with the proper namespaces. E.g. t3lib_div to \TYPO3\CMS\Core\Utility\GeneralUtility or t3lib_extmgm to \TYPO3\CMS\Core\Utility\ExtensionManagementUtility. But I cant find the proper namespaced class for t3lib_svbase. Any suggestions? . And I absolutely have no clue what I...

why can't my typo3 6.2 ajax action be found?

ajax,typo3-6.2.x
I am trying to hit an ajax action "ajaxfactsAction()" in my controller Factoids. But when the ajax call is made I get a 303 error and a redirect to another page. This is what I have in my template that calls the ajax: <f:section name="main"> <h1>I am</h1> <f:form action=""> <f:form.select...

disabling cache for development Purposes in Typo3 Version 6.2.9

caching,typo3-6.2.x
I'm very new to Typo3 and am struggling with a few cached images that refuse to update. There has to be a option to deactivate all caching somewhere, and to flush everything. I need to know how....

Access tx_fed_page_flexform in fluidtemplate

typo3,fluid,typo3-6.2.x
This question is related to Access fluidpage configuration in template. I try the same as in the question above. But as flux:flexformis outdated and replaced with flux:form there may be some changes I'm not aware of. With the following code I try to access the flex:form.fields from the menu-items: <v:page.menu...

Custom content element is not rendered in front-end

typo3,typo3-6.2.x
Need help with a custom content element that is not being rendered. This is my typoscript: tt_content.cat_button = FLUIDTEMPLATE tt_content.cat_button { template = FILE template.file = EXT:so_product/Resources/Private/Templates/ContentELements/CategoryButton.html layoutRootPath = EXT:so_product/Resources/Private/Layouts/ } Even if I misspell CategoryButton.html, there won't be an error message. So how will I know if the correct...

Typo3 6.2: “Could not find a suitable type converter for ”String“ ” exeption after update

php,typo3,typo3-6.2.x
Typo3 was from a very old version updated to Typo3 6.2. The most things are working now, but I have one own written extension that give me the following error: Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1297759968: Exception while property mapping at property path "":Could not find a suitable...

Fluxfield for internal Link with pagetree

typo3,fluid,typo3-6.2.x,flux
How can I create a fluxfield to create a link to another page, where the user can chose the page in a pagetree. Something like the Modify Linkfrom the RTE. Is there something? Or how else would I create a field for a internal link? Just an inputfield where the...

Edit Publish Date in second language

typo3,typo3-6.2.x
Some of you might know the issue with the publishing and expiring date of elements and pages in other languages than the default. Setting the dates in the default language works perfectly. I copied the element into the secondary language. But there, the backend form fields (starttime / endtime) are...

News 3.0.1 - custom templates

typo3,typo3-6.2.x,tx-news
Since I upgraded to Typo3 6.+, I've had a lot of hard times to get my custom templates/partials to work under a custom extension extended from News 3.0.1. Of course I ran through the documentation : http://docs.typo3.org/typo3cms/extensions/news/stable/singlehtml/#changing-paths-of-the-template But I don't get it, I tried to use the typoscript from the...

Wrap entire column in a div using Typoscript

typo3,typo3-6.2.x
I have a normal and a left column, and want to wrap them each in a div. What's the correct Typoscript for this? I can only find code for wrapping each element in something. This is what I've got so far: page = PAGE page.typeNum = 0 page.10 < styles.content.get...

How to make a website with two language for front end using TYPO3 v6.2

typo3,typo3-6.2.x
I need to create a website with two languages one with English and German. I'm not aware of TYPO3 scripts. As I studied different references I saw this one and tried to work out. But I'm not able to use it because their is no language bar in top of...

Typo3 extbase database query

typo3,extbase,typo3-6.2.x,queryinterface
I have an extbase database query like below. $query = $this->createQuery(); $result = $query->statement("Select * FROM table1 WHERE hidden = 0 AND deleted = 0 AND (".$PublicationYears.") AND logo != '' ORDER BY uid ASC LIMIT 0, ".$iLimit." ")->execute(); return $result; $PublicationYears = "ttra = '12' or ttra = '13'...

Display category and its content in TYPO3

typo3,typoscript,typo3-6.2.x
I am using TYPO3 6.2.9 CMS.I make category and assigned to page.But I don't know how to display the category when i am showing the page i want all the category assign to that page must display then after clicking that category the content which i have assign to that...

Typo3 FE User assign to FEUserGroup

typo3,extbase,typo3-6.2.x
I'm creating a FEUser programmatically (works fine) in the second Step I want to assign this FE User to an existing FEUsergroup. I Thought it works fine but it didn't. In database the entry is set and the counter goes up. But If i check the usergroup in List-View there...

Use v:content.render in a Contentelement

typo3,fluid,typo3-6.2.x
I try to render some Elements from another page via fluid in a Partial and try to use v:content.render. As you can see in the code I want to render 3 elements from the page with the Uid 9. But as soon as I have the v:content.render element in it...

How to access two TYPO3 root folders one with “localhost ” and other with “IP Address”

configuration,typo3,typo3-6.2.x
I need to access two root folders (shown below) one with localhost as starting url and other with IP address as starting url. How can I configure it? I have added Domain for rootpage as shown below. But dosen't work I am using TYPO3 v6.2 Thanks in advance...

RealURL extension not working for typo3 v6.2.x when domain given as IP Address

.htaccess,url-rewriting,typo3-6.2.x,realurl
I have a webpage tree structure given below In this tree when I access like http://localhost/mysite its redirect to "Root Local" and accessed like http://192.168.1.20/mysite/ its redirect to "Root IP" by setting it in domain. I implemented realURL extension. and it working fine for localhost and URL become http://localhost/mysite/en/home/ ....

How to get filename in Typo3 solr extension with FAL and own Extbase extension

solr,typo3,extbase,typo3-6.2.x,fal
Before FAL, I can get the filename of an image from my own Extbase extension in the solr config file "typo3/ext/solr/Configuration/TypoScript/Solr/setup.txt" via index { queue { tx_myextension = 1 tx_myextension { fields { ... myimage_stringS = articleimage ... } } } } Where "articleimage" was a database field with the...

How to use typoscript object in fluid template as if condition

typo3,typoscript,fluid,typo3-6.2.x
I have a typoscript TEXT object: lib.myid = TEXT lib.myid.value = 1413 And want to use it in a fluid template (for tx_news): <f:for each="{newsItem.categories}" as="category"> <f:if condition="{category.uid} == {lib.myid}"> Category ID is the same as myid </f:if> </f:for> How can I do this?...

How can I add a fontsize selector in typo3 6.2?

font-size,typo3-6.2.x
I want to add a fontsize selector in typo3 6.2. so I have created the following three files: fontsize_normal.css fontsize_medium.css fontsize_large.css and the relevant typoscript settings looks as follows: config { linkVars = L(0-2) uniqueLinkVars = 1 } obj.fontsize = COA obj.fontsize { 1 = TEXT 1.wrap = <div>|</div> 1.value...

Automatically go into list view when going to a folder

typo3,typo3-6.2.x
When clicking on a folder in TYPO3 CMS backend, I get this message: The current page is a folder. Folders usually don't contain content elements but are used for collecting other types of records. Can I make TYPO3 go into list view automatically? I don't see no reason why it...

Typo3 6.2 fluid pagination not working as expected

typo3,fluid,extbase,typo3-6.2.x,typo3-4.5
My typo3 6.2(Upgraded from Typo3 4.5) fluid paginate displays all the items instead of 5 items. My Repository Method : public function getRandomLocation($iLimit) { $query = $this->createQuery(); $result = $query->statement("Select * FROM tx_sfel_domain_model_ttblocationsproduktegruppen WHERE hidden = 0 AND deleted = 0 AND logo != '' ORDER BY uid LIMIT 0,...

How can I render preview of FE plugin diplayed in Page module

typo3,backend,extbase,typo3-6.2.x,typo3-extensions
I have developed TYPO3 (6.2) extensions with some FE plugins. I need to change informations about plugin, which is displayed in the backend on page view. Now only Title and name of plugin is displayed ... I have used flexforms for configure the plugin and I would like to show...

Typoscript USER / USER_INT objects in powermail input fields

typoscript,fluid,extbase,typo3-6.2.x
I've a custom extension to render a value from database. I want to prefill the returned value of the extension using powermail prefill typoscript. But when I add the plugin as userfunction, then it will display strange output in frontend. See my typoscript code below; lib.companyname = USER_INT lib.companyname {...

How to change default “Page Not Found” window (template) in TYPO3 v6.2.x

typo3,typo3-6.2.x
I made a website with TYPO3 v6.2.x. When the url goes wrong it shows the default typo3 "page not found" template(window). Its shown below. I need to change it. So that I want to add custom text or images to show the error page as my style(without typo3 logo and...

How to disable cache for a image carousel in TYPO3

caching,typo3,typoscript,extbase,typo3-6.2.x
My TYPO3 extension has a lib that generates random 5 images from the total stock, for example out of the 100 images. This is done randomly every time the page is loaded. Only default the TYPO3 cache is enabled so every time the same 5 images are showed. As the...

google sitemap for tx_news records with dd_googlesitemap_dmf (or alternative)

typo3,sitemap,typo3-6.2.x
I try to let typo3 generate a sitemap for all the news records. For that I tried the dd_googlesitemap_dmf extention. The dd_googlesitemap works (it creates a sitemap for all the typo3 pages - but not for extensions). I filled in the basic infos into the configuration and called the url...

How to send emails from typo3 v6.2 [closed]

php,email,typo3,typo3-6.2.x
I am working with an extension in typo3 v6.2. In that extension i need to send emails to corresponding email address. Is normal mail function can use to send emails from typo3 v6.2? Or is there any other method please let me know. I have $to = $to_email; $subject =...

How to access TCA-fields in the Fluid template for a custom content element

typo3,fluid,typo3-6.2.x
I've created a custom content element called cat_but (category button). I've added TCA and content element wizard without problem. The category button have only one field: sys_category. Exactly one category should be selected. From this, I want to render a link action to a controller using that category as argument....

Typo3 - extbase - Missing type information, probably no @param annotation for parameter “$currentPage”

annotations,typo3,extbase,typo3-6.2.x
I get the following error in Typo3 Backend: Missing type information, probably no @param annotation for parameter "$currentPage" in Tx_OptivoBm_Controller_NewsletterController->newAction() The function is set up like that: /** * action new * * @param $currentPage * @param $newNewsletter * @dontvalidate $newNewsletter * @return void */ public function newAction($currentPage) { if...

Display Extbase FileReference with Fluid

typo3,fluid,extbase,typo3-6.2.x
In an extbase extension, I have a FileReference Object. It was created with extension_builder originally. From The Model: /** * apprenticeshipDocument * @var \TYPO3\CMS\Extbase\Domain\Model\FileReference */ protected $apprenticeshipDocument = NULL; etc. In the frontend, <f:debug>{institution.apprenticeshipDocument}</f:debug> gives me this: First Thing: originalResource is missing. Second: When calling {institution.apprenticeshipDocument.uidLocal} directly, the value is...

What is the relationship between typo3 cms and typo3 flow?

typo3,typo3-6.2.x,typo3-flow
Typo3 CMS is an Open Source content management system and TYPO3 Flow is a PHP-based application framework, then is there any relation between Typo3 CMS and TYPO3 Flow. Please help me to find an answer. Thanks in advance....

Typoscript add class to the first element using stdWrap

typo3,typoscript,typo3-6.2.x
I have a custom requirement to display an image slider using TypoScript. The images are taken from default tt_content image content element. I've added the following TypoScript code to implement this; lib.homeslider = COA lib.homeslider { 10 = CONTENT 10 { table = tt_content select { where = colPos =...

Typo3 Bootstrap Elements permissions

twitter-bootstrap,permissions,typo3,typo3-6.2.x
I would like to set up a user group which has permissions to insert the Bootstrap content elements on pages (e.g. Bootstrap: Column Row, Bootstrap: Button Link ...), I cannot find these permissions anywhere. I am using Typo3 6.2.4 Bootstrap Package, which includes Fluid Content: Twitter Bootstrap Elements (fluidcontent_bootstrap) Any...

How to use Hook “processDatamap_postProcFieldArray” in TYPO3 6.x

php,typo3,extbase,typo3-6.2.x
Use case: When saving an object (in backend, maybe in frontend too later) I want to manipulate values before saving to database. Problem: The file seems to get included (shows an error on save if I choose a wrong file path) but the function does not seem to be executed...

TYPO3 Solr extension and facets

solr,typo3,typoscript,typo3-6.2.x
I have a small question about TYPO3 solr facets.At present in my website I have 6 different indexing configuration available. Two of them are custom extension table's and one is tt_news and rest of the 3 are pages table with some custom condition. I managed to add this using additionalWhereClause...

How to upgrade TYPO3 4.5 to 6.2

typo3,typo3-6.2.x,typo3-4.5
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.

How does my frontend usergroup list get lost between Extbase action controller and Fluid template partial in TYPO3 6.2?

typo3,fluid,extbase,typo3-6.2.x,typo3-extensions
I'm using TYPO3 CMS 6.2.12 and Extension Builder 6.2.0 to model a Report class and build an extension to manage it. One of the domain driven design requirements is that a report author be a logged-in front end user. A second requirement is that the author choose a single group...

Get String of n:1 Domain Model Object

typo3,typoscript,extbase,typo3-6.2.x,typo3-6.1.x
I made an extension for typo3 with the extension builder. In there I have a relation called "sex" that refers to another model object from type n:1 (of course, everyone can only just have one sex). Now I want to present that in a table. When I use {person.sex} I...

TYPO3 tt_content structure: t3_origuid vs l18n_parent

typo3,typo3-6.2.x
I had to import a few posts from one TYPO3 site into another, which lead into some exploring of the DB structure. A specific question arose: In localised content elements (tt_content entries with sys_language_uid = 1), the fields t3_origuid and l18n_parent are redundantly filled. l18n_parent is required for the backend...

How can I implement a multi join in Typo3 via userfunction?

mysql,typo3-6.2.x
I want to implement the following sql query: SELECT title FROM sys_category JOIN sys_category_record_mm ON sys_category.uid = sys_category_record_mm.uid_local JOIN tt_content ON sys_category_record_mm.uid_foreign = tt_content.uid WHERE tt_content.uid = 645 If I execute this query directly via phpmyadmin it is working, but if I try the following via userfunction the content of...

Language detection not working in Typo3 6.2.12

typo3,typoscript,typo3-6.2.x,language-detection
I've a website which has 2 languages: German (de) as default and English (en) as translated. I am trying to implement language detection functionality in the website using the extension "rlmp_language_detection" version 7.0.0. What I want to achieve is, for the countries Austria (at), Switzerland (ch) and Germany (de), the...