Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

FilesystemPublisher wrong template when publishing


Go to End


1128 Views

Avatar
dane.lowe

Community Member, 3 Posts

20 February 2010 at 1:21pm

Not sure if this is a bug or something wrong with the way I've set up caching in SS 2.4

running /dev/buildcache?flush=1 creates the cache HTML files using the correct templates

However, when I publish any item from the CMS it recreates the HTML file using the ContentController.ss template rather than Page.ss.

Both methods seem to be making the exact same call to Director::test('/url'), but the response is different. For this reason, I'm wondering if its Director:test() behaving differently from within the CMS??

Any ideas?