What is your runtime technology?

In .net-speak, can you wrap your code in a server-side div thus:

 

<div runat='server' visible='<% = ("<%inf_variantGuid%>" ==
"00000000111122223333444444444444" ? false : true) %>'>

 

It will be emitted into the source but not visible on the client side.
Obviously the <%inf_variantGuid%> is an element and the other <% %> is part
of the server-side .net code.

 

 

Regards render tags you can do this:

 

<%!! Context:CurrentProjectVariantId !!%>

 

Which will get you a GUID as per the info element.

 

Regards,

Richard Hauer

Solution Architect

p +61 2 9321 1555 | d +61 2 9321 1556 | m +61 414 189 170 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Markus Giesen
Sent: Tuesday, 3 July 2012 3:59 PM
To: [email protected]
Subject: Re: Hide pages within container from variant (another RedDot bug?)

 

Hi Gavin, 

thanks for that! Creating a template to hide said template just doesn't seem
right.

I'll pass it on but recall causing other implications, keeping content
classes up to date / identifying the empty ones, etc.

Overall it's another band aid to the pile of band aids. 

 

Cheers,

Markus

On Tuesday, July 3, 2012 1:00:23 PM UTC+10, HiRAEdd wrote:

Hi Markus,

What about creating a blank template in the Content Class for that Variant?

Cheers,

Gavin

On 3 July 2012 11:53, Markus Giesen <> wrote:

Hi there!

I have two project variants (V1 and V2).

I'd like to show my pages within a container in V1 but not V2.

 

I thought this is what this checkbox does:

 
<https://lh5.googleusercontent.com/-0QQ1aVKbKUI/T_JP-BzijhI/AAAAAAAABXg/J0zE
0vaeQ1M/s1600/2012-07-03_1145.png> 

 
<https://lh5.googleusercontent.com/-0QQ1aVKbKUI/T_JP-BzijhI/AAAAAAAABXg/J0zE
0vaeQ1M/s1600/2012-07-03_1145.png> Alas, this checkbox is useless for pages
within containers. 

 
<https://lh5.googleusercontent.com/-0QQ1aVKbKUI/T_JP-BzijhI/AAAAAAAABXg/J0zE
0vaeQ1M/s1600/2012-07-03_1145.png> The OT support turned around and said
"it's a documentation bug". This can be read as "It's cheaper to fix this
bug in the documentation than fixing it in the code".

 
<https://lh5.googleusercontent.com/-0QQ1aVKbKUI/T_JP-BzijhI/AAAAAAAABXg/J0zE
0vaeQ1M/s1600/2012-07-03_1145.png> Instead of fighting this uphill battle to
acknowledge  this as a bug:

 
<https://lh5.googleusercontent.com/-0QQ1aVKbKUI/T_JP-BzijhI/AAAAAAAABXg/J0zE
0vaeQ1M/s1600/2012-07-03_1145.png> Does anyone know if there is a way to
read this value via render tags instead?

 
<https://lh5.googleusercontent.com/-0QQ1aVKbKUI/T_JP-BzijhI/AAAAAAAABXg/J0zE
0vaeQ1M/s1600/2012-07-03_1145.png> Regards,

 
<https://lh5.googleusercontent.com/-0QQ1aVKbKUI/T_JP-BzijhI/AAAAAAAABXg/J0zE
0vaeQ1M/s1600/2012-07-03_1145.png> Markus

 
<https://lh5.googleusercontent.com/-0QQ1aVKbKUI/T_JP-BzijhI/AAAAAAAABXg/J0zE
0vaeQ1M/s1600/2012-07-03_1145.png>  

 
<https://lh5.googleusercontent.com/-0QQ1aVKbKUI/T_JP-BzijhI/AAAAAAAABXg/J0zE
0vaeQ1M/s1600/2012-07-03_1145.png> -- 
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/reddot-cms-users/-/CRxxvnTvKjUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.

 
<https://lh5.googleusercontent.com/-0QQ1aVKbKUI/T_JP-BzijhI/AAAAAAAABXg/J0zE
0vaeQ1M/s1600/2012-07-03_1145.png>  

 
<https://lh5.googleusercontent.com/-0QQ1aVKbKUI/T_JP-BzijhI/AAAAAAAABXg/J0zE
0vaeQ1M/s1600/2012-07-03_1145.png> -- 
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/reddot-cms-users/-/dDZPRxHio8wJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to