In my Sitefinity 4.3 based site, I have a blog set up using the standard Blog content module and widget templates. Blog posts are categorized, among other things, by the product they relate to.
The URL structure is like:
/blog_template_page/blog_category_template_page/2012/01/01/post-name
Each blog post has at least two categories:
- blog_category (so I can put similar types of articles together in the blog archive)
- product_category (so I can relate blog posts to products we sell)
Elsewhere on the site, I have Pages that make up a product catalog. On the page for Product X, I would like to show a list of blog posts that have a product_category of Product X. When a user clicks to read a blog post, they should go to the original blog URL above (the permalink for the blog post).
How can I get the Sitefinity blog list widget to generate URLs to the original blog post location?
As far as I can tell, Sitefinity gives me two options: use the current page as a template for the blog post (which I don't want to do, since I'm in a catalog page). Or use another page in the site as a template (which I don't want to do, since I'll be at a whole new URL).
Put another way...
What I would LIKE to do: On the main product page for Product X, I'd like to show a dynamic list that links to the original blog posts. I could create a new single blog post template and render the content through the new template, but that would give me new URLs. I really just want the Blog List to generate links to the blog posts in their original location.
In wordpress, I'd use the_permalink(); in my blog list template. Is there something similar in Sitefinity?
Double points if there's a way for me to design/accomplish this from the backend admin pages, instead of from code. But anything is better than nothing.