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.

General Questions

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

Tracing Templates


Reply

2 Posts   803 Views

Avatar
zenmonkey

30 July 2010 at 3:23am Community Member, 528 Posts

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

Avatar
Willr

30 July 2010 at 3:52pm Forum Moderator, 5511 Posts

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 blogholder.ss template. It could be including BreadCrumbs rather than your 'Breadcrumb' since it is case sensitive AFAIK.