Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Justin Grimm 56 posts 138 karma points
    Mar 31, 2014 @ 18:55
    Justin Grimm
    0

    Master Template Cached On Some Pages

    Been using Umbraco for years and never seen an issue like this.

    v7.0.4 / webforms project.

    I have a Master/top level template which contains this line of code

    <li class='copyright hideMobile'><span>&copy; <umbraco:Item field="pageName" runat="server" xslt="umbraco.library:FormatDateTime(umbraco.library:CurrentDate(), 'yyyy')" /></span></li>

    This is included in the footer of the "master" template which then gets included on all subsequent templates and pages. Prior to this code being in place, I had some FPO text:

    <li class='copyright hideMobile'><span>&copy; [PULL BACK DATE HERE]</span></li>

    Here's the issue. On multiple pages within the site, it's still pulling back the [PULL BACK DATE HERE] text instead of the date. But there are many pages within the site that show the correct line. I've triple checked the pages in question to make sure they are pulling from master and they are. It seems like the pages themselves cached the template.

    I've tried: changes to the web.config, unpublishing/republishing the pages, deleting the umbraco.config, clearing browser cache.

    Any other suggestions? This one is driving me crazy.

Please Sign in or register to post replies

Write your reply to:

Draft