[TYPO3-english] Re: Translate System Categories

2018-03-07 Thread Bernhard Schenkenfelder
It works out-of-the-box in TYPO3 8.7 though... ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

[TYPO3-english] Re: Translate System Categories

2018-03-07 Thread Bernhard Schenkenfelder
No, I didn't find a way to properly translate categories in the BE of TYPO3. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

[TYPO3-english] Re: Re: RealURL Language Switch for Extbase Extension

2015-11-05 Thread Bernhard Schenkenfelder
Thank you, Jan! Works like a charm. Bernhard ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

[TYPO3-english] Re: RealURL Language Switch for Extbase Extension

2015-11-03 Thread Bernhard Schenkenfelder
Thank you, Jan! I had to add addQueryString = 1 addQueryString.method = GET addQueryString.exclude = id, L in order to make the language switch work. However, since addQueryString only works for special=language, the above lines of code didn't fix the breadcrumb nav. Any ideas?

[TYPO3-english] RealURL Language Switch for Extbase Extension

2015-11-01 Thread Bernhard Schenkenfelder
I have set up a single-domain website with different languages and configured RealURL. On one page, there is a FE plugin with list and show actions. The links from the list to the show action are rendered correctly, for example: en/press.html -> en/press/release1.html en/press.html ->

[TYPO3-english] Scheduler: Result of DataProvider-getNodes() depends on $GLOBALS['BE_USER']

2015-03-19 Thread Bernhard Schenkenfelder
According to http://docs.typo3.org/typo3cms/extensions/scheduler/Installation/SchedulerUser/Index.html, scheduler tasks are executed either by _cli_scheduler or the current BE user. This results in, for example, TYPO3\CMS\Backend\Tree\Pagetree\DataProvider-getNodes() returning results

[TYPO3-english] Re: Use DataHandler to get language

2015-01-17 Thread Bernhard Schenkenfelder
Markus, can you please point me in the right direction? I can't seem to be able to find the history function under http://typo3.org/api/typo3cms/namespace_t_y_p_o3_1_1_c_m_s_1_1_core.html Thank you! ___ TYPO3-english mailing list

[TYPO3-english] Re: Use DataHandler to get language

2015-01-16 Thread Bernhard Schenkenfelder
Thank you, Markus! ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

[TYPO3-english] Application Context

2015-01-16 Thread Bernhard Schenkenfelder
Regardless of what I select under Install Configuration Presets Development / Production settings, \TYPO3\CMS\Core\Core\Bootstrap::getInstance()-getApplicationContext() always returns Production. Clearing the cache doesn't affect the result, neither does deleting typo3temp manually. What

[TYPO3-english] Re: Application Context

2015-01-16 Thread Bernhard Schenkenfelder
Thank you, Markus! Just in case others run into the same problem, here's the solution to the problem: RewriteCond %{HTTP_HOST} ^dev\.example\.com$ RewriteRule (.*) $1 [E=TYPO3_CONTEXT:Development] RewriteCond %{HTTP_HOST} ^www\.example\.com$ RewriteRule (.*) $1 [E=TYPO3_CONTEXT:Production]

[TYPO3-english] Re: Use DataHandler to get language

2015-01-15 Thread Bernhard Schenkenfelder
Dear Markus: I'm working on a BE module that keeps track of all pages that are being changed. To do so, I hooked into the clear cache process, which is why I'm making use of the DataHandler object. The above mentioned method getPID() returns the pid of the page that was changed. A page,

[TYPO3-english] Use DataHandler to get language

2015-01-15 Thread Bernhard Schenkenfelder
The class TYPO3\CMS\Core\DataHandling\DataHandler provides a very handy method getPID(). Unfortunately, I can't seem to be able to find a method that returns the language (sys_language_id) of the referenced item (basically content items and pages). How would I do that?

[TYPO3-english] Get language code

2015-01-14 Thread Bernhard Schenkenfelder
As far as I know, there are two ways to retrieve the current (front-end) language: $GLOBALS['TSFE']-config['config']['language'] $GLOBALS['TSFE']-sys_language_uid If the latter is 2, then the config value is, say, 'dk'. However, if the language UID is 0, then the first variable returns ''

[TYPO3-english] Call ViewHelper from outside Fluid template

2015-01-03 Thread Bernhard Schenkenfelder
In my general page setup, I define the template as per: page.10.template.file = fileadmin/template.html Is there a way to call a ViewHelper in this template? The following snippet in the above template {namespace xyz=PATH\TO\MY\ViewHelpers} xyz:myhelper argument=abc / does not work, it is

[TYPO3-english] typoLink_URL, forceAbsoluteUrl, and SEO friendly URLs

2014-12-21 Thread Bernhard Schenkenfelder
Let's say the snippet $conf['parameter'] = $_GET['id']; $cObj = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer'); $cObj-typoLink_URL($conf); returns features.html (or any other SEO friendly URL). Now if I add

[TYPO3-english] Re: typoLink_URL, forceAbsoluteUrl, and SEO friendly URLs

2014-12-21 Thread Bernhard Schenkenfelder
Here's the complete file: ?php $TSFE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController', $TYPO3_CONF_VARS); $TSFE-connectToDB(); $TSFE-initFEuser(); $TSFE-checkAlternativeIdMethods(); $TSFE-clear_preview(); $TSFE-determineId();

[TYPO3-english] Re: typoLink_URL, forceAbsoluteUrl, and SEO friendly URLs

2014-12-21 Thread Bernhard Schenkenfelder
Thanks, but adding $conf['returnLast'] = 'url'; to the conf array does not change anything... ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

[TYPO3-english] Re: typoLink_URL, forceAbsoluteUrl, and SEO friendly URLs

2014-12-21 Thread Bernhard Schenkenfelder
$this does not work because I'm not in an object context... The following snippet returns the same URL, http://10.0.0.82/typo3/index.php?id=35 $conf['parameter'] = $_GET['id']; $conf['useCashHash'] = true; // We must add cHash $conf['returnLast'] = 'url'; // If you wish to get url as your

[TYPO3-english] Re: An error occurred while trying to call any action

2014-09-26 Thread Bernhard Schenkenfelder
Dear Anja: First, I added @ignorevalidation $myObject to the docheader of showAction to get rid of the error message. Then, I added public function initializeAction() { $args = $this-request-getArgument('myObject'); var_dump($args); } to the same controller. Surprisingly, the output

[TYPO3-english] Change language of login screen

2013-08-01 Thread Bernhard Schenkenfelder
I created two websites for NGOs in Bolivia and was able to change both the frontend and the backend language to Spanish. However, I would also like to change the login screen language to Spanish: http://www.musol.org.bo/typo3/index.php http://www.complejosolar.com/typo3/index.php Many thanks

[TYPO3-english] 6.1.1: Images are not being rendered

2013-06-24 Thread Bernhard Schenkenfelder
I recently installed version 6.1.1 of TYPO3; everything works fine except for the rendering of images. * Uploading of images works fine. * So does adding images to pages. * The images also show up in the sys_file table. However, the respective HTML is not being rendered... FYI: On the same

[TYPO3-english] Re: Typolink

2013-05-03 Thread Bernhard Schenkenfelder
Thank you, Stefan! Just out of curiosity, do you happen to know why musol.10.marks.MN2.typolink.parameter = 5 does not automatically pull from the nav_title field??? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org

[TYPO3-english] Typolink

2013-05-02 Thread Bernhard Schenkenfelder
musol.10.marks.MN2 = TEXT musol.10.marks.MN2.value = DB:pages:5:nav_title musol.10.marks.MN2.typolink.parameter = 5 musol.10.marks.MN2.typolink.ATagParams = style=line-height: 20px; margin-top: 45px; The above code snippet acually renders as DB:pages:5:nav_title. Does anyone know what the