Thanks Nik,

I tried your suggestion, still no luck.

I found here  Context:CurrentPage is always referring to the same current
page in the container, and  <a href="<%list_resource_pages%>">  is
referring to foundation page as I wish.

What could I am doing wrong here?

Thank you.

Sean


On Wed, Jun 13, 2012 at 3:20 PM, Nik S. <[email protected]> wrote:

> Hey Sean,
>
> I don't see any problem with your code - syntactically, at least.  I think
> you may be battling cache; please see the following entry from Jian's blog:
> http://simplyreddot.blogspot.com/2012/03/rendertag-project-performance-product.html-
>  particularly the second paragraph under ".Elements.GetElement(),
> .GetPathArray()".  You can clear the page cache by selecting the *Project* 
> node
> under *Administer Project Structure* in *SmartTree*, and clicking on the 
> *Clear
> Page Cache* link in the right *Action Menu*.
>
> Alternatively, you could pull through the value of the "resource_category"
> option list element via the List block marks; your code would look
> something like this:
>
> <!IoRangeList>
> <li>
>      <a href="<%list_resource_pages%>">aaaaaaaa
>             <%!!
> Context:CurrentPage.Elements.GetElement(container_page_body).Value[Int32:0].Elements.GetElement(resource_category).Value
>  !!%>
>      </a>
> </li>
> <!/IoRangeList>
>
> This way you're minimizing the time needed by MS to generate the page.  Is
> this a viable alternative?
>
> -Nik
>
> --
> 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/-/XNRtA7JdIngJ.
>
> 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