Jump to:

22999 Posts in 11854 Topics by 2828 members

General Questions

SilverStripe Forums » General Questions » FilesystemPublisher wrong template when publishing

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

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

Page: 1
Go to End
Author Topic: 553 Views
  • dane.lowe
    Avatar
    Community Member
    3 Posts

    FilesystemPublisher wrong template when publishing Link to this post

    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?

    553 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.