Re: Getting parent headline of each keyworded list page

46 views
Skip to first unread message
Message has been deleted
Message has been deleted

Jian Huang

unread,
Oct 4, 2011, 1:18:52 PM10/4/11
to RedDot CMS Users
So close...

Context:CurrentPage.MainLink.OwnerPage.Headline

BUT, PLEASE NOTE:

You will run into a rendertag caching issue with this technique. You
can test by updating the parent page's headline, and notice that the
value retrieved via rendertag remained the same.

If both pages are belongs to the same final page (Foundation and body
content page), then I would recommend using JavaScript/JQuery to carry
the value through.

SEO you asked? It won't affect SEO because

In the foundation page, you have

<div style="display: none" id="mainheadline">my headline blah blah</
div>

In the body content page, you have

<div id="<%inf_page_id%>"></div>
<script>
$("#<%inf_page_id%>").html($("#mainheadline").html());
</script>

On Oct 4, 11:33 am, Neil Fegen <n.feg...@gmail.com> wrote:
> I should add I can get the parent's main link GUID with "<%!!
> Context:Pages.GetPage(Guid:<%info_PageGuid%>).MainLink.Id !!%>"
>  but not its headline - can I use the main link GUID to find the headline of
> that page?
Message has been deleted

Joel Kinzel

unread,
Nov 7, 2011, 2:30:48 PM11/7/11
to reddot-c...@googlegroups.com
Jian,

Will clearing the page cache correct this? From my experience it seems like this will force the page to be built by page builder, thus fixing the issue.

Jian Huang

unread,
Nov 7, 2011, 5:46:17 PM11/7/11
to RedDot CMS Users
Hi Joel,

You are correct, but please keep in mind that once page cache is
cleared, first time rendering for page preview and smartedit will be
slow as content would need to be retrieved from database again.

If clearing page cache is needed often, then a long term solution
might be needed.

-Jian
Reply all
Reply to author
Forward
0 new messages