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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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

Tracing Templates

Go to End

2 Posts   1053 Views


Community Member, 545 Posts

30 July 2010 at 3:23am

I just installed the blog module on my site and the system appears to be rendering the BreadCrumbs from a different template now instead of my base. I thought it was pulling the blog one so I changed the name and its still reading teh wrong template. Is there any way for me to trace the template path. debug_request only shows me the path for main page templates not any of the includes

Thanks for help


Forum Moderator, 5523 Posts

30 July 2010 at 3:52pm

You can enable paths to be included in the actual output of the template by using SSViewer::set_source_file_comments(true); in your config file. You'll need to be in dev mode and run a ?flush=1 for this to work but that will tell you the path.

Have you looked directly at the template. It could be including BreadCrumbs rather than your 'Breadcrumb' since it is case sensitive AFAIK.