How do tags work?

Topics: General
Apr 6, 2012 at 10:29 PM
Edited Apr 6, 2012 at 10:30 PM

This seem like a really odd question and it's only coming up now because I've never actually used Orchard to Blog with...don't laugh, I'm serious =) LOL

So...I've create some blog posts and added some tags. For example, I've added the tag "Orchard" to a couple of posts. When looking at a particular blog post, the tags are displayed at the top as links. For example, the Orchard tag links to http://myurl.com/Tags/Orchard.  When I click on the tag, the only thing on this page, however, is the search form. Shouldn't this bring me to a list of other posts/pages that have the same tag?

Am I totally not understanding how tags work? =)  Have I missed configuring something?

Thanks for the insight =)

Coordinator
Apr 7, 2012 at 5:46 AM

No, that should work. It does here: http://vulu.net/Tags/Photography Something else must be preventing it from displaying. No exceptions in logs?

Apr 7, 2012 at 5:20 PM
I set my site back to the Theme Machine and it worked, so it must be something in my theme that's breaking it. Thanks for the tip...nothing in the log, but it got me thinking =)



On Apr 6, 2012, at 9:46 PM, bertrandleroy <notifications@codeplex.com> wrote:

From: bertrandleroy

No, that should work. It does here: http://vulu.net/Tags/Photography Something else must be preventing it from displaying. No exceptions in logs?

Apr 10, 2012 at 7:04 PM

I figure out what the issue is...I had created a Search.cshtml file in my theme's Views folder to place a Search box in the nav bar. This was overriding the Tags display file which is also named Search. I just renamed my shape to NavSearch.cstml and changed the reference to it in Layout.cshtml and all is good.

Probably best if I don't use generic terms for my custom shapes any more =)