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 =
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
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
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 {
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
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
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
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
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