How to call custom content blocks from a tag
Posted: Fri Jan 12, 2007 6:59 am
Is there a way to show the entire content of a page inside a tag-function?
What I'm trying to do is to alter the sitemap-function(tag?) to display entire content of the web site. I changed the "$onecontent->MenuText()" to "$onecontent->Show()" on line 175 on function.sitemap.php and it almost does what I want, but the problem is that Show() shows only the content written in the content-block. I would like it to show the custom content blocks as well. Does anyone if there's a way to do it?
I also tried some random copy-pasting from function.content.php but got nowhere.
The reason I'm doing this is because I'm trying to render the entire content as a single xml to use in Flash. Of course, if someone has some magic render-entire-web-site-as-xml-to-use-in-Flash -module in their back pocket, I would be more than happy to use that instead.
What I'm trying to do is to alter the sitemap-function(tag?) to display entire content of the web site. I changed the "$onecontent->MenuText()" to "$onecontent->Show()" on line 175 on function.sitemap.php and it almost does what I want, but the problem is that Show() shows only the content written in the content-block. I would like it to show the custom content blocks as well. Does anyone if there's a way to do it?
I also tried some random copy-pasting from function.content.php but got nowhere.
The reason I'm doing this is because I'm trying to render the entire content as a single xml to use in Flash. Of course, if someone has some magic render-entire-web-site-as-xml-to-use-in-Flash -module in their back pocket, I would be more than happy to use that instead.