This will make it so authorisation unless the host ends in example2.com # set the "require_auth" var if Host ends with "example2.com" SetEnvIfNoCase Host example2\.com$ require_auth=true # Auth stuff AuthUserFile /var/www/htpasswd AuthName "Password Protected" AuthType Basic # Setup a deny/allow Order Deny,Allow # Deny from everyone Deny from all #except...
Got it. With the hint form vijay rami I found out, that you have to render images in dce like this: <f:for each="{dce:fal(field:'image', contentObject:contentObject)}" as="fileReference" iteration="iterator"> <f:if condition="{iterator.isFirst}"> <f:image src="{fileReference.uid}" alt="" treatIdAsReference="1" /> </f:if> </f:for> Of course you have to edit in the first line "field:'image'" to your name....
the templates of content_core are all in the Private dir of the ext. itself. If you take a look at them, you will see that the headers are rendered from a comma separated string set in the setup.ts and deflated as an array. You can make your ow array or...
I did not know the answer, but another smart person did: http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/2011-October/010591.html learned something myself...
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...
After Migration Follow this step: 1) Upgrade all the compatible extension and disable those extension which is not compatible. 2) Check the typoscript , some of typoscript has been removed in 6.2 version. need to removed or need to replace with latest. 3) Check the install tool > upgrade wizard....
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...
There are two (three with realurl) places where you need to look if changing the domain of a TYPO3 site, if everything is done by the book and noone hardcoded the domain all over the place or something. Usually you do not need to work in the database directly. After...
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 | > } }...
imagemagick,typo3,typoscript,yag
Probably this issue was posted on forge https://forge.typo3.org/issues/65378. If so, I think you should add your comments to the this thread. This will speed up reaction of TYPO3 team....
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....
You can extract the code within the links into a partial. For this, first create a partial template. Inside an Extbase extension, they are placed in Resources/Private/Partials by convention (you can change this by using the setPartialsRootPath() method on the template object, but usually that shouldn't be necessary). # Resources/Private/Partials/LinkContent.html...
In your realurl configuration file (usually typo3conf/realurl_conf.php1) there is a section fileName. In it there is a key defaultToHTMLsuffixOnPrev. Set it's value to 1. Should look somehow like this afterwards (generated by realurl autoconfig): 'fileName' => array( 'defaultToHTMLsuffixOnPrev' => 1, // <-- Important part 'acceptHTMLsuffix' => 1, 'index' => array(...
First of all, you shouldn't do this. For creating URIs in Extbase, you need access to the current controller context, because there are several factors that go into creating an URI (currently called controller action, current host name, selected language, ...). If you would create URIs within your repository (i.e....
Use default.data = field:pid instead of default.data = pid. TYPO3 needs to know where to look for pid, it could be a request parameter, register, configuration setting and so on as well.
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,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...
.htaccess,mod-rewrite,url-rewriting,typo3
Thank to the Fixus I was on a right track again... Forget about the .htaccess! RealUrl can do it all! Answer to my question is to use RealUrl hooks: For my example: function user_encodeSpURL_postProc(&$params, &$ref) { $params['URL'] = str_replace('zimmer-details/rooms/', 'room/', $params['URL']); } function user_decodeSpURL_preProc(&$params, &$ref) { $params['URL'] = str_replace('room/', 'zimmer-details/rooms/',...
Here is my Solution lib.mainmenu = HMENU lib.mainmenu { 1 = TMENU 1 { wrap = <ul id="mainmenu">|</ul> expAll = 1 NO { wrapItemAndSub = <li>|</div></li> ATagParams = class="drop" } submenuObjSuffixes = a || b || c || d || e } 2a < .1 2a { wrap = <div...
To achieve this, I can use so-called constructor injection. The ObjectManagerInterface is defined as an argument of the constructor and then automatically injected by Extbase: /** * @var \TYPO3\CMS\Extbase\Object\ObjectManagerInterface */ protected $objectManager; public function __construct(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager) { $this->objectManager = $objectManager; $this->standaloneView = $this->objectManager->get('TYPO3\CMS\Fluid\View\StandaloneView');...
The easiest way to achieve what you want is to use a partial. It would look like this: {namespace x=Yourcompany\Yourproduct\ViewHelpers} <f:comment> Parameters: * src: src of the image * width: Width of the image </f:comment> <x:noscript src="{src}" width="{width}"> <f:image src="{src}" width="{width}" /> </x:noscript> You can use it like this: <f:render...
Use this instead <?PHP $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] = array( '_DEFAULT' => array( ), ); ?> In newer version there are some problems with $TYPO3_CONF_VARS vs $GLOBALS['TYPO3_CONF_VARS'] the last one works always....
I had to downgrade dd_googlesitemap (using 1.2.0 now) to get dd_googlesitemap_dmf to work
Like you can see my and derhansen small discussion the problem is in your collection. If you will pass in collection: Red, Blue, Blue, Blue, Yellow, Yellow then your loop will display every position from collection. The same thing will be with select viewhelper The thing you should is to...
You can't do that in the view, instead you can make a copy of lib.lastaddeditmes in TypoScript and then use it in other place like: lib.lastaddeditmesOnlyThree < lib.lastaddeditmes lib.lastaddeditmesOnlyThree.someSetting.items = 3 and in view: <f:cObject typoscriptObjectPath="lib.lastaddeditmesOnlyThree" /> Remember that TypoScript is just a configuration syntax (not programming language) so it...
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> ...
I guess that is here to get you started: http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartII/Modeling.html All relationship in TYPO3 Flow is done in the mvc model and it uses various design patterns to make it easy for the programmer. So in your case the best way would be not to even touch the database by...
probably this is defined in the typoscript of the ext. have a look at the TS files of the extension itself, you will have a greater inside of the plugin's setting then googling it.
The constants set in the constant editor are stored in TypoScript syntax in the field constants of the table sys_template.
Ok, I finally figure out what was wrong. I defined my route for plugin with optional params, which somehow was wrongly interpreted by request handler. Correct routes for my plugin should looks as follows: - name: 'Nice urls for my plugin' uriPattern: '{node}/q/{--acme_myplugin-element.object1}/{--acme_myplugin-element.object2}' defaults: '@package': 'TYPO3.Neos' '@controller': 'Frontend\Node' '@action': 'show'...
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....
You can use something like this code in your DOCUMENT_ROOT/.htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} ^(?:www\.)?subdomain\.com$ [NC] RewriteCond ${ipmap:%{REMOTE_ADDR}} !^(127\.0\.0\.1|192\.168\.|10\.|1\.2\.3\.4)$ RewriteRule ^ - [F] ...
If you use ts for create sitemap you can add any items. http://www.adick.at/2010/06/01/typoscript-xml-sitemap/. MB this will help 20 = CONTENT 20 { table = tx_adprojects_domain_model_project select { orderBy = title ASC languageField = sys_language_uid pidInList = 11,12,13,14,15,30 } renderObj = COA renderObj { stdWrap.wrap = <url>|</url> 5 = TEXT 5...
Simple typo: ContentELements -> ContentElements Also bug in TYPO3 that didn't display error message....
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...
You have to replace the folder t3lib, typo3 and the file index.php with the files from the new core, then clear all caches. That should be it. But don't just copy the new folders over, remove them (maybe rename first in case you need to switch back). Leaving them in...
left = ContentCollection { @override.node = ${q(node).children('left').children().count() == 0 ? q(node).parent().get(0) : node} nodePath = 'left' } Is untested but should work just fine. Note that this only goes one level up. If you need to fallback to more levels this needs to be done a bit differently....
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...
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...
I don't think you should use document ready as this event is only fired once in the backend (unless you refresh the entire be). Instead you should use Neos.PageLoaded. if (typeof document.addEventListener === 'function') { document.addEventListener('Neos.PageLoaded', function(event) { // Do stuff }, false); } You can find documentation here: http://docs.typo3.org/neos/TYPO3NeosDocumentation/IntegratorGuide/InteractionWithTheNeosBackend.html...
I get the hint in the Slack channel of TYPO3. You just need to set plugin.tx_myext.persistence.updateReferenceIndex = 1 respectively module.tx_myext.persistence.updateReferenceIndex = 1 and the index will be updated. Alternatively you could use \TYPO3\CMS\Core\Database\ReferenceIndex::updateRefIndexTable()....
You can add below line in the your controller. $objectManager = \TYPO3\CMS\Core\UtilityGeneralUtility::makeInstance('Tx_Extbase_Object_ObjectManager'); $configurationManager = $objectManager->get('TYPO3\\CMS\\Extbase\\Configuration\\ConfigurationManager'); $this->setting = $configurationManager->getConfiguration(\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT); $this->ts_config = $this->setting['plugin.']['tx_xxxx.']['settings.']['storagePid']; I think...
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}')}" /> ...
Flexforms does not support such palette functionality like TCA offers. You can use a multiple value selector to offer all available options in a single field instead of using checkboxes (see: http://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Select/Index.html#columns-select-examples-multiple). An example of this in your case: <settings.ownchoice> <TCEforms> <label>Own Choice</label> <config> <type>select</type> <items> <numIndex index="0"> <numIndex index="0">For...
try add 'fixedPostVars' => array( ... '35' => 'newsDetailConfiguration', #change you id page with news detail plugin '79' => 'newsTagConfiguration', # change you id page with news tag plugin if need #'69' => 'newsCategoryConfiguration', # change you id page with news category plugin ), ...
You can do it in just the same way it is done in css_styled_content internally, using a CONTENT object: lib.content_not_cascading_without_default = CONTENT lib.content_not_cascading_without_default { table = tt_content # This enables content sliding. For more possible values # check the docs (linked above) slide = -1 select { # Use the...
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,...
This is because _CSS_DEFAULT_STYLE is a property, not an object. Try this instead: lib.defaultCss = COA lib.defaultCss { 10 = TEXT 10.value < plugin.tx_cssstyledcontent._CSS_DEFAULT_STYLE wrap = <defaultCss><![CDATA[|]]></defaultCss> } page.1 < lib.defaultCss ...
I have a workaround that i will use for now (untill i have a better grasp on how to typoscript). I just broke the query condition with a marker: lib.dbValues = CONTENT lib.dbValues { table = pages select { selectFields = uid #pidInList = pid where = pid NOT IN...
Here's a solution that works in my setup. The editor chooses categories for the page, and gets all news items that belong to the category. temp.categoryUid = CONTENT temp.categoryUid { table = pages select { // dontCheckPid doesn't exist for CONTENT objects, so make it recursive from root page (or...
In order to have no hassle with autoloading, you need to stick to the Extbase naming convention even if you're not using namespaces: Tx_MyExtension_Controller_ProjectController should be the following file: EXT:my_extension/Classes/Controller/ProjectController.php (Mind the UpperCamelCase extension name which transform to underscores in the directory structure.) If you don't know which 6.2 class...
twitter-bootstrap-3,typo3,navbar,typoscript
Biesior, thanks for pipe suggestions, it did set me in the right direction. After a load of research and hacking (not being a coder and alien to typoscript), I managed to get the bootstrap 3 inverse navbar working correctly with in typo3. The following code works out of the box....
Note: I have only an old Typo3 4.3.5 installation, but I hope this hasn't changed much. In User admin, edit group permissions and go to Access lists. At the bottom is "Explicitly allow/deny field values" where you can restrict specific content types. With the restriction, affected users still see the...
On the rewritten question: how to remove the page title tag. config.noPageTitle = 2 This is an age-old extravaganza of TypoScript: https://forge.typo3.org/issues/14929...
Of course you can, the same way as you would do it within controller: $fooInGet = \TYPO3\CMS\Core\Utility\GeneralUtility::_GET('foo'); $barInPost = \TYPO3\CMS\Core\Utility\GeneralUtility::_POST('bar'); $zeeAnywhere = \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('zee'); ...
Define namespace like following at the top {namespace v=FluidTYPO3\Vhs\ViewHelpers} Then use set viewhelper <v:variable.set name="test" value="12345" /> {test} {test} will return value 12345...
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...
Insert the following lines to the setup field of an ext-template at the page where you want to display the selected news item in SINGLE view if no SINGLE view for another record was requested: # hide the "no news id" message plugin.tt_news._LOCAL_LANG.default.noNewsIdMsg = # set the tt_news singlePid...
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...
Since data-cycle-title and data-cicle-desc are not registered arguments within the ImageViewHelper you cant pass those values directly. But there is a additionalAttributes argument for the rescue. You can add as many attributes as you like to have in your image tag. additionalAttributes expects an array notation: <f:image ... additionalAttributes="{data-cycle-title: 'Title',...
I think Below code is useful to you $query = $this->persistenceManager->createQueryForType('TYPO3\CMS\Extbase\Domain\Model\FrontendUser'); Write in this your extension repository....
Urs, I have no idea why blog's author gave that statement but it's generally wrong. Have no idea what kind of problems they encountered (maybe if they described it, it had some sense), anyway best solution is proper RU configuration instead of disabling the cache. Keep in mind that general...
It seems you did not define the enctype attribute on the <f:form> tag. <f:form ... enctype="multipart/form-data"> ... </f:form> See also: http://www.w3schools.com/tags/att_form_enctype.asp http://wiki.typo3.org/Fluid#f:form ...
You can simply put a wrap around the individual columns, they behave like a COA page.20.wrap = <div id="left-column"> | </div> ...
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...
I bet if you keep the processor and remove the neos:link.node from your template then the <f:debug>{link}</f:debug> will show a http:// link to the node. The error happens with the link ViewHelper which expects a node or node path but neither a node:// not a href:// link (maybe we should...
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.
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...
typo3,typoscript,realurl,typo3-4.5
This is an obvious example of "get desperate and look for hacks instead of looking at the problem after a good night's sleep". There were inconsistencies in the RealURL Config which provoked the erroneous behaviour. I'm posting the hopefully fully working RealURL config. It covers two single-domain/multi-language websites as well...
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...
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 :...
typo3,typoscript,typo3-flow,typo3-neos
The arguments from the TypoScript plugin object is available as internal arguments on the request, which is available in the controller action. /** @var \TYPO3\TYPO3CR\Domain\Model\Node $currentNode */ $currentNode = $this->request->getInternalArgument('__node'); A few additional tips can be found here...
Thanks Christoph. This solution works: <f:for each="{rss_news.enclosure}" as="item"> <img src="{item.url}" alt=""> </f:for> ...
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...
You can copy it to a temporary local path with $path = $file->getOriginalResource()->getForLocalProcessing(false); Then you can use fgets as usual to loop through the file line by line....
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...
output,typo3,frontend,fluid,flux
It seems that the frontend rendering configuration for the CType fluidcontent_content is missing. Did you add the following to your typo3conf/AdditionalConfiguration.php: <?php $GLOBALS['TYPO3_CONF_VARS']['FE']['contentRenderingTemplates'] = array('fluidcontentcore/Configuration/TypoScript/'); ...
You can accomplish this with TypoScript using the PAGE Object. The code below shows you how to execute your own code before executing something else (like the template engine/content rendering etcetera). page.01 = USER_INT page.01 { userFunc = TYPO3\MyExt\Utility\MobileDeviceUtility->detectMobileDevice } And in code: <?php namespace TYPO3\MyExt\Utility; class MobileDeviceUtility { /**...
drop-down-menu,typo3,typoscript
Only a partial answer, for the problem with the first menu level: You are using allWrap to add the <li> tag, which only wraps the menu item, but not the submenu. Use wrapItemAndSub instead, as you did on the second menu level. Link to documentation. Also, some indentions in the...
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">...
Using translation labels in TypoScript You can use a translation label in TypoScript. For example: {LLL:typo3conf/customlabels.xlf:label.id} {LLL:EXT:mytemplateext/Resources/Private/Language/locallang.xlf:label.id} You may want to look at: http://docs.typo3.org/typo3cms/FrontendLocalizationGuide/BasicSetupOfALocalizedWebsite/Llxml%28locallang-xml%29InPluginsAndTyposcript/Index.html llXML files are XML files containing labels that the system can fetch in a localized version if a language pack is installed. If you want to...
php,doctrine2,typo3,typo3-flow
From the Flow manual: When you add or remove an object to or from a repository, the object will be added to or removed from the underlying persistence as expected upon persistAll. But what about changes to already persisted objects? As we have seen, those changes are only persisted, if...
You could do it like this, details are at the bottom: Get all file references. Go through them, retrieve the referenced file for each of them and retain only the ones where the field mime_type starts with image/. There are two things you probably need to watch out for: The...
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...
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...
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...
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...
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)...
Enable the classic Page module as you already did and clear the entire Cache as always. After that you see two "Page" Modules in the upper right corner of the t3 backend and can switch between "Classic" and TV-Mode. Don't forget to create a new / clean template for your...
php,arrays,typo3,pass-by-reference,pass-by-value
Arrays are passed by value indeed (or as some have pointed by reference if they are not modified in the function or method, see the Rohit comment above). I thought the arrays were different but were not. It was just fatigue. Debugging in late hours is not productive. Anyway, I...
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...
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...
You need to remove the special.value to always take the current pid. It could look something like this (slightly different, but copied from a live project): lib.navi.horizontal = COA lib.navi.horizontal { 10 = HMENU 10 { special = browse special { items = prev } 1 = TMENU 1.noBlur =...