I want the URL of a blog with a specific ID. Shouldn't there be a way to do this without looping through them all?
Reported on Movable Type 5
I want the URL of a blog with a specific ID. Shouldn't there be a way to do this without looping through them all?
Reported on Movable Type 5
For instance, I want to include a specific page on my main index template, a greeting. That way I can take advantage of the handy Page features and not modify the template.
If you want to get the URL of a blog, you could use:
<mt:Blogs blog_ids="3"><mt:BlogURL></mt:Blogs>
where '3' is the ID of the blog you want to interogate.
As for the page, I would recommend that you tag a page like say "@greeting" and then you include on the template where you want that to show up the following coding:
<mt:Pages tag="@greeting">
<mt:PageBody>
</mt:Pages>
----------------------------------
Mihai Bocsaru
Web Development
Movable Type Consulting
Six Apart Partner
http://www.pro-it-service.com/
----------------------------------