This project is read-only.

Placement of Archive and tag title

Topics: Customizing Orchard
Feb 28, 2014 at 8:46 AM

I have moved the main title of a page to a different location and styled it appropriately, but can't seem to find a way to override how the archive and tag title gets rendered as these appear to use the same shape but move the location back to the original place? Can someone please show me where I am going wrong?

thank you
Feb 28, 2014 at 4:28 PM
I had the same problem and resolved it with alternates here´s what i did:

For the tags, go to the modules folder, Orchard.Tags\Views\Home\Search.cshtml, copy this file into you theme views, but you need to keep the folder structure eg.
in you theme is has to be like \Themes\<YourTheme>\Views\Orchard.Tags\Home\Search.cshtml, and there you can change whatever you need.

For the Blog Archives the process is the same, the file you need to copy to your theme is \Orchard.Blogs\Views\BlogPost\ListByArchive.cshtml
in you theme it will be like this \Themes\<YourTheme>\Views\BlogPost\ListByArchive.cshtml

Hope this helps.