Wow, well your question sparked something, I forgot that you *have* to 
specify that you're passing a GUID, like so: Context:Pages.GetPage(Guid:<
%info_pageGuid%>).Template.Name

Seems everything is working now...thanks!

On Friday, December 21, 2012 11:30:37 AM UTC-8, Tony Chung wrote:
>
> Which part isn't working? Does  
> Context:Pages.GetPage(<%info_pageGuid%>).Template.Name  
> return a value?
>
> Do the first two work, but the else doesn't?
>
> -Tony
>
>
> On Fri, Dec 21, 2012 at 10:33 AM, Joel Kinzel <[email protected]<javascript:>
> > wrote:
>
>> I seem to remember somewhere that something like this would word: 
>>
>>     <!IoRangeList>
>>     <li>
>>         <reddot:cms>
>>             <if>
>>                 <query 
>> valuea="Context:Pages.GetPage(<%info_pageGuid%>).Template.Name" 
>> operator="==" valueb="String:External Link">
>>                     <htmltext><a href="<%stf_externalUrl%>"><
>> %stf_menuLabel%></a></htmltext>
>>                 </query>
>>                 <query 
>> valuea="Context:Pages.GetPage(<%info_pageGuid%>).Template.Name" 
>> operator="==" valueb="String:News Article">
>>                     <htmltext><a href="<%list_pages%>"><
>> %hdl_pageHeadline%></a></htmltext>
>>                 </query>
>>                 <query type="else">
>>                     <htmltext><a href="<%list_pages%>"><%stf_menuLabel%
>> ></a></htmltext>
>>                 </query>
>>             </if>
>>         </reddot:cms>
>>     </li><!/IoRangeList>
>>
>> But clearly it does not. Am I imagining things (wishful thinking)? How do 
>> you handle these situations?
>>
>> -- 
>> 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/-/6WCPHPFWd8MJ.
>> To post to this group, send email to 
>> [email protected]<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/reddot-cms-users/-/EyFdRxl6cWYJ.
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