Blog post detail - title

Topics: Administration, Customizing Orchard
Feb 26, 2014 at 2:41 PM
Hi there

I have a title displayed on a blog post detail view. The title is showing as a link.
I want to remove the link as it is linking back to itself which is pointless.
I cannot find the correct shape to access the title of a blog post in detail.

What I really want to create is a shape which is for the title of a blog post detail view however the nearest I can find is

~/Themes/TheThemeMachine/Views/Parts.Title-BlogPost-url-news.cshtml

but I want this to be really is

~/Themes/TheThemeMachine/Views/Parts.Title-BlogPost-url-news.Detail.cshtml

Please can anyone help?

Thanks,
Kirsty
Feb 26, 2014 at 6:36 PM
Hi,
Using Shape Tracing Module is quite easy to find and create the templates that you need.
I'm using a clean installation of Orchard version 1.7.2 and the shape templates to do what you want are:

~/Themes/TheThemeMachine/Views/Parts.Title-BlogPost (this one is to customize the Detail display type).

~/Themes/TheThemeMachine/Views/Parts.Title.Summary-BlogPost (this one is to customize the Summary display type).

Regards,
Matías
Feb 27, 2014 at 9:17 AM

Thanks Matias for your help, I didn’t realise this, will give it a go!

Many tx, Kirsty