Hello,

Is it possible to set variables using Render Tags - without PreExecute?  I 
have the following template code that I'd like to remove PreExecute script 
from.  The purpose of the code is to allow editors to quickly show/hide 
certain page fragements on the language variants, yet still control it all 
from the main language variant.  I'd like to do the same thing with Render 
Tags - (obviously without having duplicate the HTML content 11 times within 
the template).

Thanks.  This is my first post, but I've stalked this group for a year now.  
:)
Walter

-------------------------------

<!IoRangePreExecute>
<%
strShowLang = "<%opt_show_variant_enu%>"
IF "<%info_language%>" = "DEU" THEN
    strShowLang = "<%opt_show_variant_deu%>"
ELSEIF "<%info_language%>" = "CHS" THEN
    strShowLang = "<%opt_show_variant_chs%>"
ELSEIF "<%info_language%>" = "ESM" THEN
    strShowLang = "<%opt_show_variant_esm%>"
ELSEIF "<%info_language%>" = "ITA" THEN
    strShowLang = "<%opt_show_variant_ita%>"
ELSEIF "<%info_language%>" = "KOR" THEN
    strShowLang = "<%opt_show_variant_kor%>"
ELSEIF "<%info_language%>" = "PLK" THEN
    strShowLang = "<%opt_show_variant_plk%>"
ELSEIF "<%info_language%>" = "PTG" THEN
    strShowLang = "<%opt_show_variant_ptg%>"
ELSEIF "<%info_language%>" = "SVE" THEN
    strShowLang = "<%opt_show_variant_sve%>"
ELSEIF "<%info_language%>" = "TRK" THEN
    strShowLang = "<%opt_show_variant_trk%>"
ELSEIF "<%info_language%>" = "FRA" THEN
    strShowLang = "<%opt_show_variant_fra%>"
END IF
%>

<% IF strShowLang = "show" THEN %>

     <!--  Good chunk of HTML code goes here.... -->

<% END IF %>
 <!/IoRangePreExecute>

-------------------------------



-- 
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/-/F7VFc30-XS4J.
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