Hi,
Can you successfully carry both a weblog title and a weblog name in a URL so that you can then display that post, and you can grab the weblog title automatically, or from segment_x, and you can grab weblog name from segement_y? I hve tried a number of times and failed.
I have a URL for a listing of blog posts that looks like:
..siteinfo/show_all_template/this_weblog_name.
The page uses “this_weblog_name” to pull the most recent 10 posts from the weblog.
So far, so good.
Then each blog post has a “read more” link, which points to:
..siteinfo/show_details/this_weblog_name/weblog_title
I get an SQL error when I click on this link. I am assuming it is because when you are passing a weblog title in the URL, you can’t have other stuff in front of it?
So I tried reversing the title and the weblog name:
..siteinfo/show_details/weblog_title/this_weblog_name
Same SQL error.
So my question is:
How can I carry both the weblog title that needs to be displayed on this page, and ALSO, somewhere, the weblog name, so that my {exp..} tag can say weblog={segment_4}, for example
Thanks so much for any pointers!
the only option I see is to create a separate template for each weblog, but there are 42 of them! I want to make a “one template” solution for “full view” and have it know the weblog name and the title of the post.
Thanks so much!
Phoebe