FAQ Database Discussion Community


How can I use an injected object in the constructor?

typo3,extbase
I have a service class in my Extbase extension and want to use the ObjectManager to create an instance of an object in the constructor. /** * @var \TYPO3\CMS\Extbase\Object\ObjectManagerInterface * @inject */ protected $objectManager; public function __construct() { $this->standaloneView = $this->objectManager->get('TYPO3\CMS\Fluid\View\StandaloneView'); $this->standaloneView->setFormat('html'); } Unfortunately this doesn't fails with an error...

Is it possible to set by fluid a argument that the typo3 backend uses as input

typo3,fluid
In the typo3 template I'm using the following line to get the last 5 added items from the backend and this works. <f:cObject typoscriptObjectPath="lib.lastaddeditmes" /> Only the number of item I want to have it flexible and set in the fluid template. So for example like below where the qty...

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'...

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 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...

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...

CKEditor remove classes from html tags in TYPO3

ckeditor,typo3
I am using CKEditor in Typo3.When i am writing For example if I hit source and create p class="font12" and when i save it.It returns only p not the class. so i need this class should not be removed.I have searched it on google but have not find the solution...

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...

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...

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...

Typoscript HMENU drop down is not working,
  • -Tag closes to early
  • drop-down-menu,typo3,typoscript
    Got the following - reduced to a minimum - code: CSS: html { height: 100%; } body { height: 100%; font-size: 1.5em; line-height: 1.5; font-family: Arial, Verdana, Helvetica, sans-serif; } a, a:link, a:active, a:visited { color: #e23427; text-decoration: none; } li { list-style: none; } /**1. Ebene Hauptnavigation**/ ul.topNav {...

    typo3 news realurl overwriteDemand

    typo3,fluid,realurl
    I am using Typo3 7.1 + Fluid(Latest Integrated with 7.1) and I am very new to this latest version. Added News plugin(tx_news) and using Categories. Categories are left menu and located in News List page as well as News Detail page. I am getting url look like this, http://domain.com/de/sample/?tx_news_pi1%5BoverwriteDemand%5D%5Bcategories%5D=5&cHash=8aa8fd1fb7a5e47165a4e4acca3125e9 I...

    Remove default html header with typoscript

    typo3,typoscript
    I use an own extension which generates the html header and this works fine. Only the default header is still generated, so when we look at the page code there are two htlm headers generated. Even if I use the setting below. Any ideas? page = PAGE page.config { noPageTitle...

    Show Typo3 FlexForm checkbox items inline

    typo3
    Would it be possible to show the checkboxes inline, so behind each other with a FlexForm? I'm now using the following code, but this shows every setting in a vertical list. <settings.ownchoice_for_sale> <TCEforms> <label>For sale</label> <config> <type>check</type> </config> </TCEforms> </settings.ownchoice_for_sale> <settings.ownchoice_reserved> <TCEforms> <label>Reserved</label> <config> <type>check</type> </config>...

    PHP array passed by reference?

    php,arrays,typo3,pass-by-reference,pass-by-value
    I've been looking for an answer to this issue I have with an array but so far no answer here nor the web. We have a TYPO3 website that has indexed search configured and installed. We crawl records (~60000) using the crawler extension. Everything was configured and running fine but...

    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...

    typo3 flow persist updated relation

    php,doctrine2,typo3,typo3-flow
    I have an issue TYPO3 Flow updating my relations. Am I wrong, that Flow should update changed relations automatically, so I don't have to update the related entities with the respective repository? Example 1: I have a model "Project" with multiple "Job" childs on attribute "jobs". If I do: $project->setJobs($collectionOfJobs);...

    Disable TemplaVoila Backend Layout for some sections

    typo3,fluid,templavoila
    I hope a TemplaVoila Professional can help me with this little challenge. I've a TYPO3 6.2.6 Installation with TemplaVoila 1.9.2. We are now switching over to Fluid and I want to start with one section, a small microsite. How can I disable TemplaVoila BE-Layout and enable the Fluid BE-Layout for...

    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...

    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...

    Using FAL in Extbase correctly

    typo3,extbase,fal
    Domain model class Image extends AbstractContent { /** * @var \TYPO3\CMS\Extbase\Domain\Model\FileReference */ protected $file; /** * Gets the image file * * @return \TYPO3\CMS\Extbase\Domain\Model\FileReference */ public function getFile() { return $this->file; } /** * Sets the image file * * @param \TYPO3\CMS\Extbase\Domain\Model\FileReference $file * @return void */ public function setFile($file)...

    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 =...

    How do I access GET/POST from a view helper?

    typo3,typo3-6.1.x
    I have a custom content element which uses a view-helper that inherits from link action. I want to use specific CSS when this link is "active". One way to do this would be to read _GET and check for link variables. Can I access _GET in a sane way from...

    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....

    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...

    Where are TYPO3 constants from constant editor stored?

    typo3,constants
    In Typo3 Backend -> Template -> Constants there is a constant editor. Where does TYPO3 saving the constants? Tried an fgrep -ri for an existing pattern, in case of saving to filesystem - no matches. Tried an MySQL search for an existing pattern, in case of saving to DB -...

    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...

    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...

    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 convert nodes to uris in TYPO3 Neos

    typo3,typo3-neos
    I created a custom node type with a link field in TYPO3 Neos 1.2.1. When I pass the property value to the template, and try to render it as a link, then an execption is thrown: Paths must not contain two consecutive slashes. The link property value is »node://c969f0d4-2e01-87b9-25a8-6079c5a292fe«. I...

    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...

    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...

    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...

    Typo3 Neos Cannot Load Custom Plugin JS On Backend, Must Refresh To Make It Works

    typo3,typo3-flow,typo3-neos
    i'm trying to load my custom plugin on backend, e.g. datatables.js. But the JS is not working, i must refreshing the page once to make it works, there is also no error on the backend webbrowser console. How to solve this? Any help would be much appreciated! thanks....

    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...

    TYPO3 additional url rewrite for a plugin

    .htaccess,mod-rewrite,url-rewriting,typo3
    RealUrl is a great thing, but it doesnt solve all url problems. Many times I need to shorten the plugin's url. Or I have specific situation for shortening the urls... I'm searching a solution to rewrite the url and let the RealUrl to handle it after. This way I could...

    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 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...

    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...

    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...

    userfunc condition for detecting mobile device

    typo3,typoscript,typo3-7.x
    Since TYPO3 7 the condition 'device' and 'useragent' are deprecated. No I'm looking for a userFunc to use as a condition for detecting mobile devices. My aim is to hide or to show some special pages on mobile devices. I used the extension 'contexts_wurfl' for a while but I guess...

    TYPO3: How to create a Dropdown in own Extension

    typo3,typoscript
    I'm creating a filter in my extension, and i need there a dropdown from the entries of a table in the extension (in my example the colors table). I tried this: <select class="option-set clearfix form-control" data-filter-group="farben"> <option value="*" data-filter-value="" class="selected">Alle Farben</option> <f:for each="{steines}" as="steine"> <option value="#filter-farben-{steine.farbe.name}" data-filter-value=".{steine.farbe.name}">{steine.farbe.name}</option> </f:for> </select> The...

    How can I read lines from a file in Typo3?

    typo3
    I have to read in a big file in Typo3 (Version 6.2.10) in a plugin we wrote. The file is uploaded via the backend and as it changes it will be newly uploaded. Currently I use: $file->getOriginalResource()->getContents(); $file is a \TYPO3\CMS\Extbase\Domain\Model\FileReference. That works fine, as long as the file in...

    TYPO3 6.2 scaling img using gifbuilder did't work

    imagemagick,typo3,typoscript,yag
    After upgrading TYPO3 from version 6.2.9 to 6.2.10 the scaling images using GIFBUILDER didn't work. When I'm testing image processing in Instal Tool everything looks ok, byt when I want to change img using GIFBUILDER scaling img didn't work. My actual configuration looks like this: 'GFX' => array( 'colorspace' =>...

    Can I also slide content with Fluid Powered TYPO3 (fed flux fluidcontent)

    typo3,slide,fluid,flux,col
    I try to slide content elements at my TYPO3 Backend (v6.2) with Fluid Powered TYPO3. So I don't have CSS_Styled_content included. http://wiki.typo3.org/Content_Slide Example: 10 < styles.content.getRight 10.slide = -1 Especially I'd like to slide my content from the colPos=0 'Slider' to the Pages below. Is this possible with FLUID /...

    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...

    How to end typo3 realurl with .html

    typo3,realurl
    I'm using the realurl extension to make nice urls, only they all end with the / char. How can I let them end like a .html file? /path/to/page/ Would like to have: /path/to/page.html...

    How to get Query object to felogin repository?

    typo3,typo3-6.1.x
    i need Query object of TYPO3\CMS\Felogin\Controller\FrontendLoginController in my extention repository so i can create my own query conditions.

    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...

    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...

    Hide typo3 content elements for specific user(groups)

    typo3,typoscript
    I want to "hide/deactivate" the table element for specific users/usergroups in the typo3 BE. Or to be more clear: I want to ONLY allow it to ONE specific user (admin). How can i do that? NOTE: At the moment the table element is deactivated in the global TS-config via tt_content...

    Typo3 Neos: How to pass parameter from typoscript using 'TYPO3.Neos:Plugin'?

    typo3,typoscript,typo3-flow,typo3-neos
    i wanted to pass a parameter dynamically via aloha editor, i have select box like this on .yaml properties: events: type: string ui: label: 'Events' reloadIfChanged: TRUE inspector: group: 'document' editor: 'TYPO3.Neos/Inspector/Editors/SelectBoxEditor' editorOptions: dataSourceUri: 'events/list' and on .ts2 file i use this prototype(Festival.Backend:Events) < prototype(TYPO3.Neos:Plugin) { package = 'Festival.Backend' controller...

    In a Typoscript HMENU, how to force the language for the URL

    typo3,typoscript,realurl,typo3-4.5
    I have a multi-language, multi-site, multi-domain TYPO3 (4.5) Instance where RealURL keeps me busy. In some sub-sites, I just can't get it to create the right URLs for Languages 1 and 2. It will result in the pattern www.language-2-domain.com/language-1-pagetitle Instead of keeping on fiddling with realurl_conf, I would like to...

    Typo3 BootStrap 3 navbar (typoscript)

    twitter-bootstrap-3,typo3,navbar,typoscript
    Hi I am new to typoscript and I need help in getting the menu working. The following typoscript will render the Bootstrap navbar, yet the menu is thrown out of the navbar completely without css styles. topnavigation = HMENU topnavigation.wrap ( <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <div class="container"> <div class="navbar-header">...

    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.

    Table custom class removed in front end

    typo3
    I am using Typo3 V6.2. I create a style table-1 for the my custom tables inserted with the RTE. Everything is OK and I can select the table-1 style in the table properties panel. But in front end Typo3 generates the following code : . I guess I have somme...

    How to render content of parent documentNode in TYPO3 Neos?

    typo3,typo3-neos,typoscript2
    I have a simple question. I have a custom content area on my page called "left". Its added to the NodeType "Page" as a childNode in the yaml file: 'TYPO3.Neos.NodeTypes:Page': properties: [...] childNodes: 'left': type: 'TYPO3.Neos:ContentCollection' In my TypoScript I added it to the page.body.content part: page.body.content { main =...

    Typo3: capture default generated css in lib

    css,typo3,default
    I need to capture the default generated CSS inside a lib, which will be displayed in an XML page type. For this, I tried: lib.defaultCss = COA lib.defaultCss { 10 < plugin.tx_cssstyledcontent._CSS_DEFAULT_STYLE wrap = <defaultCss><![CDATA[|]]></defaultCss> } page.1 < lib.defaultCss In the object browser I can see the correct value (default...

    why my frontend empty with automaketemplate after migration

    typo3,typo3-6.1.x
    I have an empty after migration from typo3 4.5 to 6.2.10. Hello world in body works but with the typoscript with the extension automaketemplate there is an empty body tag. Anybody have an idea why ? Thank you very much in advance. Mohamed...

    Routes for TYPO3 Neos plugin

    typo3,typo3-flow,typo3-neos
    I'm trying to define routes for my plugin. Everything is working as it should, because I got pretty URL on output, but unfortunately while I'm trying to access it I get an 404 error with message: #1303209195: No controller could be resolved which would match your request. Package key: "",...

    Fluid image with extra data for cycle2

    typo3,fluid
    I'm using cycle2 for a image slider, for adding a title extra data is needed in the image url, so I want to generate the following url: <img src="foto.jpg" data-cycle-title="Title" data-cycle-desc="Subtitle" /> I tried the following but this generates an error? <f:image src="foto.jpg" data-cycle-title="Title" data-cycle-desc="Subtitle" /> ...

    typoscript lib set variable for controller

    typo3,typoscript
    to modify my breadcrumbs on certain pages, I added a plugin which is supposed to add something to my breadcrumb values. But I need a certain get variable value and it just doesn't work: lib.tippBreadcrumbs = USER_INT lib.tippBreadcrumbs{ vendorName = Package userFunc = tx_extbase_core_bootstrap->run extensionName = SomethingArticles pluginName = ArticleBreadcrumbs...

    typo3 templavoila check current language

    typo3,typoscript,templavoila
    Hi i have 4 languages in my typo. Here is my main configuration for them: #LANGS config.linkVars=L config.defaultGetVars.L = 0 config.sys_language_overlay = hideNonTranslated [globalVar = GP:L = 3] config.sys_language_uid = 3 config.language = en config.locale_all = en_EN config.htmlTag_langKey = en plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 3 [globalVar = GP:L = 2] config.sys_language_uid =...

    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...

    Typo3 Minor Update from 4.5.29 to 4.5.39

    typo3,typo3-4.5
    I want to update a Typo3 installation from 4.5.29 to 4.5.39. In the current installation I don't have typo3_src or any other symlinks. Typo3 is directly in the httpdocs. I know newer Versions (6.2.*) can be ugpraded by adding the new typo3_src and change the link to the new one....

    Output nested tags with one single ViewHelper

    typo3,fluid,view-helpers
    I have a TYPO3 project with an extension using Extbase and to implement lazy loading and retina images while maintaining compatibility if javascript is disabled, I need to generate some output like this: <noscript data-src-small="small.jpg" data-src-large="large.jpg" data-width="300" data-height="200"> <img src="small.jpg" width="300" height="200"> </noscript> So I wrote a custom ViewHelper (or...

    htaccess and authentication for multiple domains

    .htaccess,typo3
    I am running a mutlisite TYPO3-Site. For the pre-live process, I want to add a htaccess with a htpasswd for 3 / 4 sites. How can I configure the htaccess-file to trigger the authentication only for specific urls? For example: http://example.org shouldn't get a password-protection, while http://example2.org should. Both sites...

    tt_news single view with static news_id

    typo3,tt-news
    I am using Typo3 Version 6.2 with the plugin tt_news. All I want to do is: Have a simple page on my website On that page I want to have a tt_news single view the news_id of this view should be static (set by me) and NOT by GET variables...

    TYPO3 special menu “browse”

    menu,typo3,typoscript
    I'm trying to build a browse menu in TYPO3 that should be added to all subpages to navigate trough all submenu pages. That's what I got: temp.prevPage = HMENU temp.prevPage { special = browse special{ items = prev value = 22 prev.fields.title = <img src="fileadmin/dev/pics/prev.gif" title="next page" alt="prev page"/> }...

    How to get page categories in Typoscript (and use with tx_news)

    typo3,typoscript,tx-news
    I would like to read out a page's system categories for further use with tx_news (to display news that have the same categories as the page - as tx_news is using system categories). I was looking for a native solution, hopefully via getText, something like: plugin.tx_news.settings.categories.data = page:categories but that...

    Typo3 - TMENU get Content from Colpos

    typo3,typoscript
    i have an TMENU, in that Menu I would have the Content from the Subpages in the Menu. On every Page is an Col (colpos=0) with Content. Is it possible to get the Content from there to the Menu? lib.mainmenu = HMENU lib.mainmenu { 1 = TMENU 1 { wrap...

    How to use HTACCESS to block all visits to a specific subdomain, except from defined IP's [duplicate]

    php,apache,.htaccess,typo3
    This question already has an answer here: Restrict / Block Directory Based on IP Address 1 answer Scenario: A single TYPO3 installation running multiple websites with multiple (sub)domains. What I'm trying to achieve: For one specific website I want to be able to block all traffic from the outside...

    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...

    Clean way to switch between typo3 fluid page and action link

    typo3,fluid
    Is there a more clean way to switch between a page or a action link in fluid based on a var? Now i used the if then statement but this increases a lot of double code lines. See example: <f:if condition="{var}"> <f:then> <f:link.page pageUid="{PageId}"> // a lot of code lines...

    RealURL: caching or not?

    typo3,realurl
    Upon fiddling with a RealURL config, I noticed that I had unknowingly turned off RealURL caching, as in this old post http://blog.marit.ag/2007/07/24/realurl-pathcache-ausschalten/ As of 2015, are there still reasons to disable RealURL Caches?...

    Replace URLs in Typo3 DB

    mysql,database,typo3
    So I have a Site created with Typo3. I also have a domain which is linked to the folder of the Typo3 Installation. www.example.org I created a Subdomain and linked it to the same folder and used the Main Domain for something else. But now everything on the Subdomain still...

    TYPO3 fluid get @attributes

    typo3,fluid
    I want to get attributes from an xml feed. If i f:debug the Array in fluid, i can see the attributes as an array with the name @attributes: array(6 items) title => 'Test Title' enclosure => array(1 item) @attributes => array(3 items) url => 'http://www.example.com/test.jpg' (55 chars) length => '83423'...

    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...

    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 to get typo3 settings in the utility files?

    php,typo3,fluid,extbase
    plugin.tx_xxx { setting { storagePid = 23 } } I want this typo3 settings in utility file. Please help me....

    PHP error “Cannot redeclare class” in extbase-based extension of Typo3 4.7

    php,typo3,extbase
    I have created an extension for Typo3 4.7 (actually, it was created for Typo3 6.2, but I am trying to backport it) using the extbase framework. I have already removed all namespaces from the core and also checked TYPO3 - Call another repository. However, I have the problem that calling...

    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...

    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...

    Relationships Typo3

    typo3,typo3-flow,typo3-neos
    can anyone tell me about relationship on typo 3? e.g. i got 2 tables, 'A' and 'B', currently i got simple form that can inserting data into 'A' table, the 'A' table fields are "name","id_types","address". the "id_types" is foreign_key from 'B' table. And the 'B' table fields are "id_types","types_name". How...

    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 assign variable in fluid?

    typo3,fluid,view-helpers
    I want viewhelper that can be helpful to assign variable in fluid, I dont want variable to be passed from controller.

    TYPO3 Extbase build own Sitemap

    typo3,sitemap,extbase
    There are a lot of sitemap Generators for TYPO3 in the TER available. But none of them can handle Sites created by Extbase, which are not shown in the TYPO3 page tree. Edit Thanks to biesior, detailed informations: Unconventional I switch in TypoScript the GET Parameter for my Extbase extension[globalVar...

    Typoscript CASE & default value

    typo3,typoscript
    See below for my typoscript code typolink.parameter.cObject = CASE typolink.parameter.cObject { key.field = pid 3725 = TEXT 3725.value = 5574 5515 = TEXT 5515.value = 5574 3748 = TEXT 3748.value = 5574 default = TEXT default.data = pid } What I am trying to implement is , In a CASE...

    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...

    extbase extension - howto update breadcrumbs

    php,typo3,breadcrumbs,extbase
    I created an extension with extbase which displays different content dependning on the GET parameters. Is there a way to update the breadcrumbs to reflect this? My breadcrumbs look like this in typoscript: temp.breadcrumb = HMENU temp.breadcrumb { special = rootline special.range = 0|-1 1 = TMENU 1 { noBlur...

    PHP errors parsing Realurl config file

    php,typo3
    I have installed the typo3 rearurl extension in Typo3. If I copy to the default manual config location typo3conf/realurl_conf.php a configuration file with for example: <?PHP $TYPO3_CONF_VARS['EXTCONF']['realurl'] = array( '_DEFAULT' => array( ), ); ?> I getting PHP errors like below? Parse error: syntax error, unexpected '$TYPO3_CONF_VARS' (T_VARIABLE) in /home/extension/public_html/typo3conf/realurl_conf.php...

    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 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,...

    Edit headlines (header level) FLUID Powered TYPO3 fluidcontent_core instead of CSS_Styled_Content

    header,typo3,fluid,fedext
    How can I edit my Header info fluidcontent_core Extension. I use it instead of the 'normal' CSS_Styled_Content with FLUIDPAGES 3.1.2, FLUX 7.1.2, FLUIDCONTENT 4.1.2, FLUIDCONTENT_CORE 4.1.1 and VHS 2.1.4 - the latest versions of FLuidTYPO3. For example, I need an additional <div class="text-center">|</div> for my <h1> Header, like this <div...

    uid of parent page or pid of current page for Typoscript db queries

    typo3,typoscript
    I want a list of uids of the current active parent of my menu. I got a solution, which gives me exactly that, however, my solution is really static, as it doesn't take the current active "parent" menu but a fixed value i typed in. Here is my code: lib.dbValues...

    How to get all FAL File Objects which are referenced?

    repository,typo3,extbase,fal
    I'm trying to make a extbase extension for TYPO3 to get alle file objects with mimetype image/... which referenced by any content, plugin or fluid in typo3. But i don't know which is the best way to get these data. How should i create a model in my extension and...

    File url [tmp_name] after upload via Typo3 backend

    typo3,fluid
    I'm building a typo3 extension and in a backend plugin I want to build a image upload form. I seem not to get the correct $_Files url. The following fluid form is used: <f:form action="customerSliderImages" id="customerSliderImages"> <f:form.upload name="custSlider[sliderimage]" /> <f:form.submit value="Upload" /> </f:form> I want to have the [name] and...

    TYPO3 extbase create url in repository (not controller)

    typo3,extbase
    There are good tutorials on how to create URL's in the controllers like this one. Examples are: $this->uriBuilder->reset()->setTargetPageUid($page_uid)->setCreateAbsoluteUri(TRUE)->build(); $this->controllerContext->getUriBuilder()->reset()->setTargetPageUid($page_uid)->setArguments(array('person'=>$person->getUid())->buildFrontendUri(); In works from the controller. But I cannot do the same work in a repository. Error log say that reset() in first example and getUriBuilder in second example is called on...

    Fluid Powered TYPO3 FLUX Fluidcontent - No Output in Frontend?

    output,typo3,frontend,fluid,flux
    I've made a TYPO3-Installation 6.2.9 with Fluid powered TYPO3 - the first steps with the Pre-configured Distribution "Site" were fine. My Site/Page-Template is installed and I added all the TypoScript stuff. Now I want to use FLUIDCONTENT (FCE) with FLUX. I've added a new Template-File TeaserOne.html and I try to...

    Typo3 DCE Images

    image,typo3,fluid,dce
    I'll try to design my own content elements with DCE (Dynamic Content Elements). The problem I have a problem when I try to work with images. I created a select field for images which works fine. In the fluid template I have the following code for handling the image: <f:image...