Change this line from:

<query valuea="Context:CurrentPage.Headline" operator="=="
valueb="Homepage">

to:

<query valuea="Context:CurrentPage.Headline" operator="=="
valueb="String:Homepage">


Cheers,
Kim

On Feb 6, 2:53 am, fred2028 <[email protected]> wrote:
> Hi, I want to display a special banner if the page is the homepage.
> This page's headline is "Homepage". How would I accomplish this? I
> tried the following, but it does not work. I think my <query> tag is
> wrong, how would I fix it?
>
> Thanks!
>
>              <reddot:cms>
>                 <if>
>                     <query valuea="Context:CurrentPage.Headline"
> operator="==" valueb="Homepage">
>                         <htmltext>
>                 <%Banner_link%>
>             </td><td width="507" style="background-image:url(<
> %banner_right%>); background-repeat: no-repeat" align="right"
> valign="bottom">
>                 <form>
>                     <div style="position: relative; top: 10px">
>                     <table border="0"><tr valign="top"><td>
>                     <input type="text" size="13" value="Search"
> onfocus="value=''">
>                     </td><td>
>                     <input type="image" src="<%search_button%>">
>                     <%home_button%></td></tr></table></div>
>                 </form>
>             </td></tr></table>
>                         </htmltext>
>                     </query>
>                     <query type="else">
>                         <htmltext>
>                         </htmltext>
>                     </query>
>                 </if>
>             </reddot:cms>
--~--~---------~--~----~------------~-------~--~----~
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