Recent Topics

Getting the longdesc (or whatever) for all blogs [Solved]

Started by on Nov 10, 2006 – Contents updated: Nov 10, 2006

Nov 10, 2006 02:21    

I want to make a sitemap type of thing, and for each section I wanted to start it with "$Blog->get('longdesc', 'htmlbody')". Problem is it doesn't work. If I change $blog to the appropriate number it gets the longdesc for the blog I'll be using as the sitemap. If I change $Blog to the appropriate number it chokes.

How would I get the longdesc for a blog other than the blog I'm on?

Nov 10, 2006 05:21

$a_Blog = new Blog($the_id);
echo $a_Blog->longdesc;

i guess that would work.


Form is loading...

powered by b2evolution – This forum is powered by b2evolution CMS, a complete engine for your website.