Menu
  • HOME
  • TAGS

Display Extbase FileReference with Fluid

typo3,fluid,extbase,typo3-6.2.x

Files and file references behave a bit different in fluid that usual: They are lazy-loaded, so the originalResource (Extbase file reference) and originalFile (Core file reference) values are NULL before the first access to them. But you can just access them as usual. The value uidLocal of an extbase file...

Use v:content.render in a Contentelement

typo3,fluid,typo3-6.2.x

I found a solution that works: <v:variable.set name="contentElements" value="{v:content.get(column:'0', limit:'3', pageUid:'9', render:'FALSE')}" /> <f:for each="{contentElements}" as="contentElement" iteration="footerIteration"> <v:content.render contentUids="{0:contentElement.uid}" /> <f:format.html>{contentElement.bodytext}</f:format.html> </f:for> ...

Warning: Illegal string offset 'target' in typo3/sysext/lang/Classes/LanguageService.php

typo3,typo3-6.1.x,typo3-6.2.x

After two days of research and finding. A small line of mistake I could find in my index.php in my module directory [mod/index.php]. I've included locallang.php file using require 'locallang.php'; When I replace that with typo3 API function $GLOBALS['LANG']->includeLLFile it has been fixed. $GLOBALS['LANG']->includeLLFile("EXT:extension_directory/mod1/locallang.php"); ...

TYPO3 object storage is empty

typo3,relation,fluid,extbase,typo3-6.2.x

Please check if the ObjectStorage is related to the correct class in your model. Sometimes the extensionbuilder does set up the ObjectStorage but messes up the annotation. Check if the annotation for "fach" in your ReRe\Rere\Domain\Model\Modul class contains the referenced class. It should look like this: @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\ReRe\Rere\Domain\Model\Fach> If assume...

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

php,typo3,extbase,typo3-6.2.x

Solved: in my ext_localconf.php there was just a '/' missing inside the namespace ... $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:navolspmanager/Classes/Hooks/GetGeoCodesHook.php:\NachVORNE\Navolspmanager\Hooks\GetGeoCodesHook'; Improvements: When updating one field according to other user input we should use the 'processDatamap_postProcessFieldArray' function. That way trim, date and number stuff etc is already done at the moment we grep the...

TYPO3: Dynamically redirect to parent page with typoscript

redirect,typo3,typoscript,http-redirect,typo3-6.2.x

The data type of config.additionalHeaders is string so trying to access the DB or working with constants inside config.additionalHeaders can't work, unfortunately.

Display category and its content in TYPO3

typo3,typoscript,typo3-6.2.x

There is no out-of-the box solution for this. But you can use the following : Or create your own extension where you gather the categories of your page and render them on your page. You then can also create a sort of category menu. You can use category collection :...

News 3.0.1 - custom templates

typo3,typo3-6.2.x,tx-news

As of version 3.0.0, EXT:news is using the layoutRootPaths, templateRootPaths and partialRootPaths instead of their singular variant. This enables you to only copy and modify the templates you really need to change instead of copying all. Have a look at the default settings. So your configuration should respect the new...

With TYPO3 be_layout, how to choose frontend template correctly (performance-wise)?

typo3,typoscript,typo3-6.2.x

The CASE object doesn't "misbehave" like the "if" condition in stdWrap. Here's the solution that works for me from http://forum.typo3.org/index.php?t=tree&th=207295&goto=723619&#msg_723619: apply the CASE one level upwards: page.10 = CASE page.10 { key.data = levelfield:-1,backend_layout_next_level,slide key.override.field = backend_layout default = TEMPLATE default { template = FILE template.file = fileadmin/templates/main/tmpl/main.html marks {...

Get list of Frontend Usergroups

typo3,extbase,typo3-6.2.x

By default each Extbase repository has flag respectStoragePage set to true, that means that user groups need to be placed at the page which is configured as Default storage PID in your exts constants, anyway as I saw you probably don't include it at all. In such case you need...

remove /?no_cache=1 in URL using Typo3 6.2 and RealURL extension [closed]

typoscript,typo3-6.2.x,realurl

Don't use the no_cache option instead run the extension as USER_INT. With tt_news this should work: plugin.tt_news = USER_INT With your custom extension you have got full control about USER vs. USER_INT anyway....

Typo3: The requested page didn't have a proper connection to the tree-root

typo3,extbase,typo3-6.1.x,typo3-6.2.x,typo3-4.5

I fixed this issue. After going to Install tool. In DB Analyser there are so many tables are not properly indexed. After fixing that this issue has been fixed....

Fluxfield for internal Link with pagetree

typo3,fluid,typo3-6.2.x,flux

You can use a normal text input, but add a link wizard to it. Looks like this: <flux:field.input name="link" label="Link!" > <flux:wizard.link/> </flux:field.input> To output the link, use one of the ViewHelpers v:(link|uri).typolink from EXT:vhs: <v:link.typolink configuration="{parameter: link}"> Linktext </v:link.typolink> This works for all kinds of links....

Extbase Typo3 adding Custom JS Library to Backend Module

typo3,typo3-6.2.x

Use a viewhelper in your backend Fluid template: <f:be.container addJsFile = "{f:uri.resource(path:'js/script.js')}"> <!-- Content --> </f:be.container> UPDATE: As mentioned by @biesior (thanks!) the method addJsFile is deprecated. Here is an example using the new and recommended be.container viewhelper method includeJsFiles instead. This new function can include multiple JS files instead...

After Typo3 upgrade, dam fatal errors

upgrade,typo3-6.2.x,dam,fal

And did you uninstall DAM and the extensions that relate to it? Dam to fal will only migrate data to fal, but not fix dam ext.

disabling cache for development Purposes in Typo3 Version 6.2.9

caching,typo3-6.2.x

What I have been expecting to find was one button that fixes it all. What I actually found was the following: The directory /fileadmin/_processed_ contains resized images that the website creates and stores for later reuse, deleting the folder's content prompts the website to recreate everything from scratch, thus reflecting...

Realurl Extension Error Typo3 Update 4.5 to 6.2

typo3,typo3-6.1.x,typo3-6.2.x,typo3-4.5

It appears, that you have the following value in your LocalConfiguration.php [FE][pageNotFound_handling] = READFILE:D:/Xampp/htdocs/project125/404-melding.html With this configuration, TYPO3 handles a pageNotFound event by displaying the content of the file configured (in your case D:/Xampp/htdocs/project125/404-melding.html). When the file can not be found, TYPO3 throws an exception with the code #1294587214. Try...

Custom content element is not rendered in front-end

typo3,typo3-6.2.x

Simple typo: ContentELements -> ContentElements Also bug in TYPO3 that didn't display error message....

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

ajax,typo3-6.2.x

You didn't set the <f:form action="">. The calculated cHash is in your case based on the URL generated by <f:uri> which does not contain any information about the other properties you added in your JavaScript. Hereby you're running into the cHash error. You can prevent that the pageNotFoundHandler is called...

Extension installation prefill table

typo3,extbase,typo3-6.2.x

For me the ext_tables_static+adt.sql dosn't work ... I've done a workarround with prefilling the table if the table is empty!

Extbase Query doesn't work

typo3,fluid,extbase,typo3-6.2.x

You don't need to have a findByUid method in your repository because this method is already defined in the Repository base class. The problem is most likely that you didn't clear the system caches (in Development Context, there's a button for this in the Backend and there's a button for...

Typoscript add class to the first element using stdWrap

typo3,typoscript,typo3-6.2.x

Your original TS is fine. Supposing you have the images in the same CE (Content element), not in several CEs. As such: For easier readability, I have modified the following line: stdWrap.wrap = <div class="item active">A|ENDA</div>|*|<div class="item">B|ENDB</div>|*|<div class="item">C|ENDC</div> Which gives me: <div id="c1531" class="csc-default"> <div id="carousel-example-generic" data-ride="carousel" class="carousel slide carousel-fade">...

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

configuration,typo3,typo3-6.2.x

Add a domain record to each root, the first one with domain 'localhost', the second one with the IP address as domain. If both hostnames are routed correctly, that should do it.

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

typo3,backend,extbase,typo3-6.2.x,typo3-extensions

If I understood well you are asking for ContentElement preview. You need to use cms/layout/class.tx_cms_layout.php hook for this, here's quite nice gist just two additions: don't use t3lib_extMgm class it's removed since 7.x you can register this hook just with: $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['tt_content_drawItem'][$_EXTKEY] = 'EXT:your_ext/Classes/Hooks/PageLayoutView.php:\Vendor\YourExt\Hooks\PageLayoutView'; Depending on how did you register the...

Parse an existing JSON string in fluid template?

typo3,fluid,extbase,typo3-6.2.x

As an alternative to using a custom ViewHelper, you could use a transient property in your model. Let's assume your model has a property "jsonData" that is a JSON encoded string. Now, you add another property $jsonArray and a getter for it: /** * @var array * @transient */ protected...

Typo3 BE : No module “” could be found

typo3,typo3-6.1.x,typo3-6.2.x,typo3-4.5

After a couple days of research. I got the solution for this. The issue is occured because in the Iframe url: parameter 'M' {Module Name} was not generated.[you could able to see the complete url by view frame in new window] This was due to a mis configuration that doesn't...

Automatically go into list view when going to a folder

typo3,typo3-6.2.x

There's an extension 'autoswitchlistview' which does exactly what you're looking for: Whenever you are in the page module and clicking on a sys folder in the page tree, you will be forwarded to list view automatically. View Repository on GitHub...

Extension Documentation with Sphinx

typo3,python-sphinx,typo3-6.2.x

As you can see it's rendered now http://docs.typo3.org/typo3cms/extensions/rere/ BTW good habitat is to publish extensions to TER with English localization/docs as default....

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

typo3,typo3-6.2.x

The "List"-Module (on the left) is your friend: chose the list module and afterwards your rootpage in the pagetree (PID = 0). In the content section in the right upper bar you can "create a new record". Chose "Website language" and fill in the wanted properties and values... Afterwards you...

How to use typoscript object in fluid template as if condition

typo3,typoscript,fluid,typo3-6.2.x

You can use the ViewHelper f:cObject. It would look like this: <f:for each="{newsItem.categories}" as="category"> <f:if condition="{category.uid} == {f:cObject(typoscriptObjectPath: 'lib.myid')}"> Category ID is the same as myid </f:if> </f:for> Alternatively, you can make the value a setting of the news plugin, by setting plugin.tx_news { settings { valuefromlibrary < lib.myid }...

Copy typo3 to a new domain

typo3,typo3-6.2.x

empty the typo3temp folder did the trick.

ExtBase Detail View in Lightbox

typo3,magnific-popup,typo3-6.1.x,typo3-6.2.x

Use dedicated typeNum for this content and in its TS configuration set: disableAllHeaderCode = 1, it can be compared to the common way of rendering pure AJAX types like showed in the other sample. For an example put this into your TypoScript template myPurePage = PAGE myPurePage { typeNum =...

In TYPO3 6.2, remove /fileadmin/ from FAL path (and similar)

typo3,typo3-6.2.x,fal

You can define the fileadminDir in the install tool, see $GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'] FAL Securedownload is only needed if you don't want to reveal the actual location of the file or implement Frontend User based access control for files....

Ajax call TYPO3 Controller function

jquery,ajax,typo3,typo3-6.2.x

In backend module that's pretty simple, just register new action in your controller, i.e: nameAutocomplete (don't forget to add this into your list of allowed actions in ext_tables.php) so you can create proper url with ViewHelper: <script> var MY_AJAX_ACTION_URL = '<f:uri.action action="nameAutocomplete" />'; jQuery.ajax({ type: 'POST', url: MY_AJAX_ACTION_URL }); </script>...

Wrap entire column in a div using Typoscript

typo3,typo3-6.2.x

You can simply put a wrap around the individual columns, they behave like a COA page.20.wrap = <div id="left-column"> | </div> ...

TYPO3 Solr extension and facets

solr,typo3,typoscript,typo3-6.2.x

I assume that your type-field in the solr index only has 4 values, one for pages, 1 each for the two custom tables, and 1 for news. In order to get 6 facets, you need to have 6 different values in the field the faceting is done on. I'm not...

Access tx_fed_page_flexform in fluidtemplate

typo3,fluid,typo3-6.2.x

Found a solution. To set sectionData use v:variable.set. the as in flux:form.data seems not to work. <v:variable.set name="sectionData" value="{flux:form.data(table:'pages', field:'tx_fed_page_flexform', uid:'{section.uid}')}" /> ...

google sitemap for tx_news records with dd_googlesitemap_dmf (or alternative)

typo3,sitemap,typo3-6.2.x

I had to downgrade dd_googlesitemap (using 1.2.0 now) to get dd_googlesitemap_dmf to work

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

typo3,extbase,typo3-6.2.x

Yes, when you're using actions with model binding in param it will always look for object by field defined as ID - in our case it's always uid, but remember, that you do not need to bind model automatically, as you can retrive it yourself. Most probably you remember, that...

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

php,typo3,typo3-6.2.x

I think it needs to be /** * action show * * @param string $id Course-Id * @return void */ public function showAction($id){ } string lowercase and the argument $id must be specified as well...

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

typo3,fluid,typo3-6.2.x

If you name your element settings.sys_category, then you should be able to access its value with {settings.sys_category} in the Fluid template, as well as from $settings['sys_category'] in the Controller. Otherwise, you will need to parse the pi1_flexform field of your content element. In Fluid, it could be done using a...

Mysql 'LEFT JOIN' for “exec_SELECTquery” in typo3 version 6.2

php,mysql,typo3-6.2.x

Finally I found an answer. $select_fields ='DATETIME, message, username'; $from_table ='t_messages LEFT OUTER JOIN fe_users ON t_jobs_messages.sendto = fe_users.uid'; $where_clause ='t_messages.uid =25'; $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery($select_fields, $from_table, $where_clause); Its working for me. Thank you....

Scheduler task load in TYPO3 6.2

php,typo3-6.2.x

In TYPO3 6.2.X, it will be namespace... Consider that we are adding scheduler task in extension called "Test" and vendor name is default TYPO3 Create Task class inside controller which includes execute method So inside YOUR_EXT_NAME/Classes/Task/ , It will be Task.php which contain execute method... It will contain <?php namespace...

How to disable cache for a image carousel in TYPO3

caching,typo3,typoscript,extbase,typo3-6.2.x

in your ext_localconf.php there, where you added your plugin make an usage of the 4-th param of configurePlugin method \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'Vendor.' . $_EXTKEY, 'PluginName', array('Customers' => 'slider',), array('Customers' => 'slider',) // List non-cachable action(s) ); Of course fix the VendorName and PluginName to your own. It will cause that plugin's...

TYPO3 CMS : tx_news : How can I change the labels in List View?

translate,labels,typo3-6.2.x,tx-news

These labels are configured in TCA for given table and only way to override it is changing it's value i.e. by adding this line to typo3conf/extTables.php $TCA['tx_news_domain_model_news']['ctrl']['title'] = 'Change me...'; Problem with this is you can't do it conditionally by default, maybe this EXT will help you (as mentioned on...

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

mysql,typo3-6.2.x

My bad, the problem was, that I used 'sys_category.uid = 645' instead of 'tt_content.uid = 645' ...

Date before 1970 in Typo3

typo3,typo3-6.2.x

Timestamps pre-1970 in typo3 are negative. Any date on or before September 1752 is not supported though due to the switch from Julian to Gregorian. If you need to go that far back then you're out of luck....

Unable to install typo3 version 6.2.9 on apache webserver

apache,installation,webserver,typo3-6.2.x

there was a security server configuration problem, changing SuPHP settings as follows works for me: check_vhost_docroot=false ...

Extbase: configure controller and action in realURL for detail

typo3,extbase,typo3-6.2.x,realurl

Not quite simple, but at least working... In EVERY of my ext I DO NOT use f:link.action VH, instead f:link.page so you can genearte links like ?id=123&tx_yourext_foo=bar Without controller and action params, of course as you can see most probably you'll need to modify your FE plugins, to read these...

What is the relationship between typo3 cms and typo3 flow?

typo3,typo3-6.2.x,typo3-flow

Flow is a PHP framework from TYPO3 family, which can be used on its own. TYPO3 family has a few more members, the most important are TYPO3 CMS and Neos. See the TYPO3 family brand page. Released at the end of 2011, Flow was initially developed as a foundation for...

Typo3 backend not multilanguest

typo3,typoscript,typo3-6.2.x

In Order to be able to translate content in the backend into e.g. english you need to Go to your Root page (ID=0), select the list module and create a 'Website Language' Record 'english'. Go to the page you want to translate and create a record called 'Alternative Page Language'....

$this->request->hasArgument('mail') not working

typo3,typo3-6.2.x

For Extbase extension $_POST['email'] is not an argument! Proper name attr for the input would be like: tx_yourext_yourplugin[email] and only for this methods hasArgument('mail') / getArgument('mail') will be valid. You have 2 possibilites: Fix names for the fields to match the above pattern Or use ViewHelper for rendering valid fields...

Step by step guide for upgrading Typo3 from 6.1 to 6.2

typo3-6.2.x,typo3-6.1.x

Download TYPO3 6.2. source and replace the typo3 folder and index.php file, next go to Install Tool and process upgrade wizard steps. That's all. t3lib folder can be deleted after all it's not used anymore in TYPO3 6.2 (all sources are now in typo3) IMPORTANT: make a full copy of...

How can I add a fontsize selector in typo3 6.2?

font-size,typo3-6.2.x

Multiple problems here : 'L' is used as the language variable. Using this (without disabling it) will conflict with TYPO3's languages selection. You will need to create your own variable. Conditions can not be used INSIDE your typoscript: [globalVar = GP:L = 0] page = PAGE page { includeCSS {...

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

php,email,typo3,typo3-6.2.x

TYPO3 has built in functions for sending e-mails and I would recommend to use the provided classes, since it includes all configuration setup (eg. SMTP auth, correct setting of e-mail headers) which could be configured in TYPO3 install tool. Usage is quite easy and the example below is taken directly...

Typoscript issue with GP vars?

typo3,typoscript,typo3-6.2.x

You code is insecure! Don't use it on production. What you should do instead - is to use TS query markers, which uses prepared statements in a background. lib.products = CONTENT lib.products { table = TABLE select { pidInList = 26506 orderBy = name where = sid like '###sid###' markers...

Typo3 getting image path with CONTENT

typo3,typoscript,typo3-6.1.x,typo3-6.2.x

Instead of using a content element on a hidden page you can use the "Resources" tab of a page, where you can upload files (in your case images). Usually you use the page on the top level of your TYPO3 pagetree for this, so you can inherit selected images to...

Typo3 MM Relation

typo3,extbase,typo3-6.2.x

De facto you need to use methods addMatrikelnr(...) and removeMatrikelnr(...) for adding and remving relations, they are generated by Builder in Fach model. Take a look at a setMatrikelnr method in the model it takes a collection not single object as a param. There's typical set of methods for m:n...

TYPO3-Upgrade 4.5 to 6.2: namespaces

namespaces,typo3,typo3-6.2.x

To use the new XLASS feature, you need to provide a proper autoloading, by either sticking to the convention or by creating an ext_autoload.php file. http://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/Autoloading/Index.html http://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/Xclasses/Index.html...

How to disable powermail javascript files and js libraries including validation?

typo3,typo3-6.1.x,typo3-6.2.x,typo3-4.5

if you want to disable javascript file in powermail try this in the Constants plugin.tx_powermail { settings { javascript { addJQueryFromGoogle = 0 addAdditionalJavaScript = 0 powermailJQuery > } } } if you want to disable js validation try this constant plugin.tx_powermail.settings.setup.validation.client = 0 ...

Typoscript USER / USER_INT objects in powermail input fields

typoscript,fluid,extbase,typo3-6.2.x

I'm just starting out with Typo3 myself, but I needed that functionality also. I had the same problem, it started working for me when I used this: plugin.tx_powermail.settings.setup.prefill { company = USER company { userFunc = tx_extbase_core_bootstrap->run extensionName = ExtPowermail pluginName = Extpowermail vendorName = TYPO3 switchableControllerActions.Extpowermail.1 = list }...

How to upgrade TYPO3 4.5 to 6.2

typo3,typo3-6.2.x,typo3-4.5

Here's a (still partial and to-be-completed) step by step guide from my upgrading practice which I would like to share. Thanks for the guide on https://jweiland.net/typo3/vortraege/typo3camp-berlin-2014.html that has helped me a lot. Note that these are my personal experiences which may or may not apply to your environment. Treat everything...

Get String of n:1 Domain Model Object

typo3,typoscript,extbase,typo3-6.2.x,typo3-6.1.x

If sex is your model that has the property sex (type string) you can use {person.sex.sex} in TYPO3 Fluid. An alternative approach is to adjust the getter method Person.getSex() in your model person so that it returns the property sex from the model sex: getSex() { return $this->sex->getSex(); } Having...

Use of multiple foreign_table in TCA

select,typo3-6.2.x

Nope, it's not possible inselect type, at least is not documented. Anyway you can achieve what's needed group type with internal_type = db - (preferably with suggest wizard) 'products' => array( 'label' => 'Verwendete Produkte', 'l10n_mode' => 'exclude', 'config' => array( 'type' => 'group', 'internal_type' => 'db', 'allowed' => 'tx_products_windows,tx_products_doors',...

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

Your variables are not passed to the partial, so {groups} is not a variable inside your Partial. You can specify the variables you want to use in the partial by giving the attribute arguments on your <f:render.partial> like in your case: <f:render partial="Report/FormFields" arguments="{groups : groups}" /> Since TYPO3 4.6...

Edit Publish Date in second language

typo3,typo3-6.2.x

If you want to have different publishing dates for different languages, this configuration works in TYPO3 6.2: // Enable starttime and endtime for non-default language unset($GLOBALS['TCA']['tt_content']['columns']['starttime']['l10n_display']); unset($GLOBALS['TCA']['tt_content']['columns']['starttime']['l10n_mode']); unset($GLOBALS['TCA']['tt_content']['columns']['endtime']['l10n_display']); unset($GLOBALS['TCA']['tt_content']['columns']['endtime']['l10n_mode']); t3lib_div::loadTCA('tt_content'); is no longer needed as of TYPO3...

Typo3 Bootstrap Elements permissions

twitter-bootstrap,permissions,typo3,typo3-6.2.x

In general your user group should have the correct rights to list and edit page content. Furthermore you have to make the following changes to your user group: Edit your user group Go to the tab Access Lists Make changes to the section Allowed excludefields (enable checkbox) Page Content: Fluid...

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

solr,typo3,extbase,typo3-6.2.x,fal

Solution found: index { queue { tx_myextension = 1 tx_myextension { fields { ... bild_stringS = FILES bild_stringS { references { table=tx_myextension_model_name uid.data = field:uid fieldName=artikelbild } renderObj = TEXT renderObj { stdWrap.data = file:current:publicUrl stdWrap.wrap = | } } } } } } This way I get the URL,...

Typo3 6.2 fluid pagination not working as expected

typo3,fluid,extbase,typo3-6.2.x,typo3-4.5

To fix the above issue i rebuilt the query in extbase query format. In typo3 6.2.x paginate will not work with query statement so we need to convert it into extbase query format. My rebuilt query format is, $constraints = array(); $subConstraints = array(); $query = $this->createQuery(); foreach($PublicationYears as $year)...

How long are piBase extensions going to be supported by TYPO3

typo3,typo3-6.2.x,pibase

Concluding this discussion http://typo3.3.n7.nabble.com/TYPO3-6-2-which-Extensions-will-still-work-td244691.html you don't need to afraid that will be dropped soon, anyway... Keep in mind that next versions of TYPO3 rises PHP requirements, introduces depreciated and/or removed functions etc. Therefore if author of some extension won't fix it to fit new requirements it can stop working even...

show error messages in typo3

error-log,typo3-6.2.x

You can achieve this by setting value of [SYS][displayErrors] to 1 login into Install Tool, go to All configuration Open $TYPO3_CONF_VARS['SYS'] pane search for [SYS][displayErrors] and set required value 1 is ok for local dev, and 2 (with devIPmask check) for remote dev. For production disable it again....

TYPO3 Extension Builder Foreign Key

foreign-keys,typo3,typo3-6.2.x,extension-builder3

Cite from Kartsen Dambekalns It is a half-conscious design decision. Just look up the date when foreign key constraints where introduced in MySQL, and compare to when TYPO3 was 'born'. Of course it would be great to add such references, especially since MySQL can always handle themm, even if the...

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

annotations,typo3,extbase,typo3-6.2.x

when you declare param you need to set type of it. For all of them not only one. when you're not sure what type will be set use 'mixed' why you have @param $newNewsletter if it is not declared in method ? Either delete this annotation or add it to...

TYPO3 generate two Models with one Form

typo3,extbase,typo3-6.2.x

Remove params from your createAction() so you can use methods $this->request->hasArgument('foo') $this->request->getArgument('foo') for custom collecting fields....

Typo3 extbase database query

typo3,extbase,typo3-6.2.x,queryinterface

first of all you dont need this $query->matching( $query->logicalAnd( $query->equals('deleted', 0), $query->equals('hidden', 0) )); disable fields are included in query from default according to setting of table in ext_tables.php multiple matching will not work cause your third matching $query->matching($query->logicalNot( $query->equals('logo', '') )); is overwriting the matching() used before it logicalAnd...

Foreign Key to TYPO3 Frontend User

foreign-keys,typo3,typo3-6.2.x,extension-builder3

Note: As stated in other question creating relations between tables/models doesn't require adding foreign keys I'm not quite sure what do you need it for, but here's description of two most common cases (screenshot shows how to achieve each case with Extension Builder) Creating relation to FrontendUser model / fe_user...

TYPO3 tt_content structure: t3_origuid vs l18n_parent

typo3,typo3-6.2.x

Those fields can have different values. t3_origuid is a generic field pointing to a record from which the current one was derived in some way. For example by copying or localizing it. Here is some documentation for it. The field l18n_parent is reserved for localization purposes....

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

typo3,typo3-6.2.x

This is done using the setting $GLOBALS['TYPO3_CONF_VARS'][FE][pageNotFound_handling]. You can see a short documentation of it in the TYPO3 install tool under "All configuration", and you can also modify its value there. EDIT For simple understanding(people like me :)) 1.select install tool from left main panel 2.select All configuration from it...

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

.htaccess,url-rewriting,typo3-6.2.x,realurl

Finally I found an answer myself. I am not fully known how it works. If anyone can help me please be free to add it. I edited my realurl_conf.php like this and work like a charm.. <?php $TYPO3_CONF_VARS['EXTCONF']['realurl'] = array( // sitename '_DEFAULT' => array( // initialization 'init' => array(...

Language detection not working in Typo3 6.2.12

typo3,typoscript,typo3-6.2.x,language-detection

I've added the following configuration; plugin.tx_rlmplanguagedetection_pi1 { useOneTreeMethod = 1 defaultLang = de limitToLanguages = de,en } page.987 =< plugin.tx_rlmplanguagedetection_pi1 I understood that the functionality is not working only with this configuration. We need to "Select Official Language (ISO code):" in the website langauge ( alternate language we added in...

Typo3 FE User assign to FEUserGroup

typo3,extbase,typo3-6.2.x

If you have your users in a sysfolder you have to give your users the pid of your sysfolder. Otherwise you will not see any users in your List View.

Typo3 Rich Snippets with typoscript

typo3,typoscript,typo3-6.2.x,rich-snippets,google-rich-snippets

This worked out for me. config.htmlTag_stdWrap { setContentToCurrent = 1 cObject = COA cObject { 1 = TEXT 1.value = itemscope 1.noTrimWrap = | | | 2 = TEXT 2.value = itemtype="http://schema.org/Organization" 2.noTrimWrap = | | | 3 = TEXT 3.value = lang="en" wrap = <html | > } }...

Add custom page configuration field in typo3

typo3,fluid,typo3-6.2.x

You need to add the field to the TCA type configuration for the table "pages" where it should show up. There is a utility method for adding it to all configured types.

TYPO3 6.2/TypoScript: add CSS class to figure tag if caption is not empty

typo3,typoscript,typo3-6.2.x

Try with if.isTrue.data = register:allImageCaptions to render the captions. Because FAL data might come from many sources, it is put in a register for each image instead of providing the database rows like in previous releases. To see all registers, use stdWrap.outerWrap.cObject = TEXT stdWrap.outerWrap.data = debug:register ...