Re: [TYPO3-english] conditional hide of a certain content element

2012-03-03 Thread Katja Lampela
Hi, Ok back to this and your solution was almost right, it has to be: page.10.marks.colNormal.select.andWhere = uid=!79 -- With kind regards Katja Lampela *Lieska-tuotanto* www.lieska.net 12.2.2012 1:29, Loek Hilgersom kirjoitti: Hi Katja, Try this: page.10.marks.colNormal.select.andWhere =

Re: [TYPO3-english] conditional hide of a certain content element

2012-02-15 Thread Sergey Alexandrov
Katja, Just made a test. Setup: page.10.subparts.PAGE_CONTENT=COA page.10.subparts.PAGE_CONTENT{ 5=LOAD_REGISTER 5.maxImageWidthInText=260 5.maxImageWidth=540 10styles.content.get 15=RESTORE_REGISTER } // Display CE with uid=131 depending on some GP var [globalVar = GP:tx_browser_pi1|showUid

Re: [TYPO3-english] conditional hide of a certain content element

2012-02-14 Thread Katja Lampela
Hi and thanks Loek, but it has no effect. - Katja 12.2.2012 1:29, Loek Hilgersom kirjoitti: Hi Katja, Try this: page.10.marks.colNormal.select.andWhere = uid!=79 Loek On 02/11/2012 02:18 PM, Katja Lampela wrote: Hi, I'm trying to find a way to hide certain content element, if visitor meets

Re: [TYPO3-english] conditional hide of a certain content element

2012-02-14 Thread Katja Lampela
hi, I'm trying to approach this now from different angle using content element's tab Appearance and field Indentation and frames. I know I can add a class to an element with this, but is there a way to completely stop render an element with this? In my page's tsconfig I have TCEFORM {

Re: [TYPO3-english] conditional hide of a certain content element

2012-02-14 Thread Jan Bednarik
Hi Katja, try this: page.10.marks.colNormal.select.where = colPos=0 AND uid79 I assume that somewhere before this statement you have page.10.marks.colNormal styles.content.get Regards Jan Dne 14.2.2012 14:09, Katja Lampela napsal(a): Hi and thanks Loek, but it has no effect. - Katja

Re: [TYPO3-english] conditional hide of a certain content element

2012-02-14 Thread Katja Lampela
Hi Jan, and thanks, but this has no effect either. And yes you assume right :) - Katja 14.2.2012 17:11, Jan Bednarik kirjoitti: Hi Katja, try this: page.10.marks.colNormal.select.where = colPos=0 AND uid79 I assume that somewhere before this statement you have page.10.marks.colNormal

Re: [TYPO3-english] conditional hide of a certain content element

2012-02-14 Thread Philipp Gampe
Hi Katja Lampela, Do you know if it's even possible *not to render certain object based on a condition* Sure this is possible. There are examples out in the wep to show your. I have not time ATM to make your a solution based on your posted TS, but have a look at the .if and .override stdWrap

[TYPO3-english] conditional hide of a certain content element

2012-02-11 Thread Katja Lampela
Hi, I'm trying to find a way to hide certain content element, if visitor meets certain conditions. The content I want to hide is in colNormal and it's id is 79. This does not work [thecondition] page.10.marks.colNormal.select.andWhere.uid.79 [global] -- With kind regards Katja Lampela

Re: [TYPO3-english] conditional hide of a certain content element

2012-02-11 Thread Loek Hilgersom
Hi Katja, Try this: page.10.marks.colNormal.select.andWhere = uid!=79 Loek On 02/11/2012 02:18 PM, Katja Lampela wrote: Hi, I'm trying to find a way to hide certain content element, if visitor meets certain conditions. The content I want to hide is in colNormal and it's id is 79. This does