Re: [TYPO3-english] Wrap condition (required = 1) is not working!

2011-09-11 Thread Benoit Montereau
Hi Ralf, Thanks for you feedback. I do not understand your points regarding wrap for 10 and 20. In my case if nothing is returned by tt_content select, nothing is present in these wraps, isn't? Do you mean wrap exist but is empty, so required does not work? As I cannot imagine to be the first fac

Re: [TYPO3-english] Wrap condition (required = 1) is not working!

2011-09-11 Thread Ralf-Rene Schröder
a COA has no required use stdWrap.required instead and another hint by using the wraps for 10 and 20 the COA isn't emty at all, so i think required dosn't work because of this also -- Ralf-René Schröder http://if-20.com ... YAML templates for TYPO3 _

[TYPO3-english] Wrap condition (required = 1) is not working!

2011-09-11 Thread Benoit Montereau
Using the following TS code I would expect to "output" an html part of code or just nothing depending whether the select in tt_content is returning records or nothing: temp.listConnexe = COA temp.listConnexe { 10 = CONTENT 10 { table = tt_content select { languageField=sys_language_uid where = (co

[TYPO3-english] 4.5 feature

2011-09-11 Thread Sergey Alexandrov
This is actually works in 4.5 (page TS) - automatically turn on/off columns based on page layout ;) [page|layout = 0] // 2-columns be layout mod.SHARED.colPos_list=1,0 [page|layout = 1] // 1-column be layout mod.SHARED.colPos_list=0 [page|layout = 2] // 3-columns be layout

[TYPO3-english] Shortcut page type & multi-lang. site

2011-09-11 Thread Sergey Alexandrov
Guys, I'm sure I'm missing something in config: let's say we have 2-lang. site, English (default), Spanish (1). Pages tree: Top page (shortcut to the first sub-page) - Page 1 (English only, no Spanish translation yet) - Page 2 (Both languages) By setting $TYPO3_CONF_VARS['FE']['hidePa

Re: [TYPO3-english] Edit temlate.html and remap in TemplaVoila

2011-09-11 Thread Oliver Salzburg
On 2011-09-11 20:50, Kay Obermueller wrote: Hello all, I have set up a site with TemplaVoila and want to clone it. For this I want to change the text in a div container (top-center) on the top of the site. This was not mapped with TemplaVoila and is only in the template.html. I changed top-center

[TYPO3-english] Edit temlate.html and remap in TemplaVoila

2011-09-11 Thread Kay Obermueller
Hello all, I have set up a site with TemplaVoila and want to clone it. For this I want to change the text in a div container (top-center) on the top of the site. This was not mapped with TemplaVoila and is only in the template.html. I changed top-center in temlate.html and then remapped it in Templ

Re: [TYPO3-english] Switch content by domain or PIDupinRootline

2011-09-11 Thread Michael Cannon
Tony, Going further, it could be that your TypoScript CE is looking like `10 < temp.contact.10` or even just `10 < temp.contact` if you use a TypoScript template to create the temp.contact. Now the problem is that temp.* usually isn't available after TypoScript processing for extensions and su

Re: [TYPO3-english] Switch content by domain or PIDupinRootline

2011-09-11 Thread Michael Cannon
Tony, I think because we're dealing with an already opened TypoScript object, we're not able to put in the conditionals. Is it possible to call in a TypoScript file instead? -- Michael Cannon President, Aihrus Italy +39 366 702 7237 US +1 617 539 6072 Professional TYPO3 Support Since 2003 http

Re: [TYPO3-english] Switch content by domain or PIDupinRootline [simpler solution]

2011-09-11 Thread Tony Lush
I found a simpler solution: In the main typoscript template for each domain define in Constants: contactSource = ID of source Content Element Then where needed throughout the domains use the typoscript_code CE to include: 10 = RECORDS 10.tables = tt_content 10.source = {$contactS

Re: [TYPO3-english] Switch content by domain or PIDupinRootline

2011-09-11 Thread Tony Lush
On 9/11/2011 8:13 AM, Ralf-Rene Schröder wrote: dontCheckPid = 1 is your friend This still produced no output: temp.contact = COA temp.contact { 10 = RECORDS 10 { tables = tt_content dontcheckPid = 1 source = 1651 } } # site 2 [globalString = IENV:HTTP_HOST=

Re: [TYPO3-english] TER

2011-09-11 Thread Jigal van Hemert
Hi, The first fix is made. I was ill last week, which caused some delay too. Over the next days we will see if the problems of the TER search are over. -- Kind regards / met vriendelijke groet, Jigal van Hemert. ___ TYPO3-english mailing list TYPO3-e

Re: [TYPO3-english] Switch content by domain or PIDupinRootline

2011-09-11 Thread Ralf-Rene Schröder
Am 11.09.2011 13:38, schrieb Tony Lush: > Thank you, Michael. I like how your method creates a default response, > since this install will eventually have seven domains. > > I tried putting that code in the typoscript_code content element, but it > did not produce any output. Even putting in just

Re: [TYPO3-english] Switch content by domain or PIDupinRootline

2011-09-11 Thread Tony Lush
Thank you, Michael. I like how your method creates a default response, since this install will eventually have seven domains. I tried putting that code in the typoscript_code content element, but it did not produce any output. Even putting in just the COA: temp.contact = COA temp.contact {

Re: [TYPO3-english] Question about next/prev navigation

2011-09-11 Thread Michael Cannon
Jeff, Looking back at a 2008 install of mine, I find that I had used the following for section navigation. -- lib.internalnav < plugin.tx_gsipagenav_pi1 [treeLevel = 1] lib.internalnav.special { prev.fields.title = Previous section next.fields.title = Next section } [end] -- In rea

Re: [TYPO3-english] TYPO3 4.5.5 TS of two sites at root-level do interfere: why?

2011-09-11 Thread Michael Cannon
Does the new site TS template have... * the clear constants and setup and rootlevel options checked? * Is there an Include Basis Template set? -- Michael Cannon President, Aihrus Italy +39 366 702 7237 US +1 617 539 6072 Professional TYPO3 Support Since 2003 http://aihr.us

Re: [TYPO3-english] Templavoila and FCE

2011-09-11 Thread Michael Cannon
Did you set the page general storage field? -- Michael Cannon President, Aihrus Italy +39 366 702 7237 US +1 617 539 6072 Professional TYPO3 Support Since 2003 http://aihr.us ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typ

Re: [TYPO3-english] Switch content by domain or PIDupinRootline

2011-09-11 Thread Michael Cannon
Tony, Don't forget to create the TS object temp.contact = COA temp.contact. or some such that you're working with. Next, the [end] was missing from the first conditional. BTW, does hostname as a conditional really work? I'm used to doing the same via [globalString = IENV:HTTP_HOST= www.site1.