Hello,

I have the following simple template that creates a set of links
(Home, Sitemap, etc) on the upper right-hand corner of our web pages:
----------------------------------
<ul>
<% if SectionName = "charit" then %>
    <li><a href="/">Home</a></li>
    <li><a href="<%anc_Splash%>">mysite.com</a></li>
    <li><a href="<%anc_SitemapCharit%>">Sitemap</a></li>
    <li class="noLine"><a href="<%anc_contact%>">Contact</a></li>

<% elseif SectionName = "consult" then %>
    <li><a href="/">Home</a></li>
    <li><a href="<%anc_sitemapConsult%>">Sitemap</a></li>
    <li class="noLine"><a href="<%anc_contactConsult%>">Contact</a></
li>

<% elseif SectionName = "intl" then %>
    <li><a href="/">Home</a></li>
    <li><a href="<%anc_sitemapIntl%>">Sitemap</a></li>
    <li class="noLine"><a href="<%anc_contactIntl%>">Contact</a></li>

<% elseif SectionName = "generic" then %>
    <li><a href="/">Home</a></li>

<% else %>
    <li><a href="/">Home</a></li>
    <li><a href="<%anc_about%>">About mysite</a></li>
    <li><a href="<%anc_sitemapCorp%>">Sitemap</a></li>
    <li class="noLine"><a href="<%anc_contact%>">Contact</a></li>

<% end if %>

</ul>
<!IoRangeRedDotMode><!IoRangeNoRedDotMode>
<%info_PageID%><%info_PageGUID%><%hdl_WorkflowHeadline%>
<!/IoRangeNoRedDotMode><!/IoRangeRedDotMode>
----------------------------------

In each RedDot page, I have a placeholder called stf_SectionName,
which depending upon the value (charit, consult, intl), will generate
the proper HTML.

On one particular page, I set stf_SectionName to "generic", but the
generated HTML is from the last "else condition".

Is there any way to display the value of stf_SectionName in the
generated HTML code ?

Thanks,

Mike

--~--~---------~--~----~------------~-------~--~----~
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