Page 1 of 1

call content tag external

Posted: Mon Oct 19, 2009 5:47 pm
by welworx
Hey!

I'm trying to develop a flash frontend and i have the problem to get the content into flash.

Do you know, if it is possible to call it with a special link?

I have seen, that it is possible to get the menu "out of the system" ... index.php?mact=MenuManager,cntnt02,default,0&cntnt02showtemplate=false&cntnt02template=accessible_simple_navigation.tpl

(of cause you have to create the template called accessible_simple_navigation.tpl first)

Or do you know an other method how i could get it into flash?

Best regards

Re: call content tag external

Posted: Mon Oct 19, 2009 6:04 pm
by leerraum
For the menu a stripped template is the best way.

For the pages you can build a template that offers no HTML, and so you get nothing else than the content. But be aware of tiny mce. It's offers to many options for building non flash conform HTML.

Or you try to retrieve the whole stuff directly from the database.

Re: call content tag external

Posted: Mon Oct 19, 2009 6:17 pm
by calguy1000
just add ?showtemplate=false to any regular old page url... it will give you the value of the default content block, and that's it.

Re: call content tag external

Posted: Mon Oct 19, 2009 7:21 pm
by welworx
thank you very much!

Re: call content tag external

Posted: Mon Oct 19, 2009 7:25 pm
by welworx
do you know if it is also possible to call the following from extern?

{$content_obj->GetPropertyValue('image')}

Re: call content tag external

Posted: Mon Oct 19, 2009 7:47 pm
by calguy1000
it could possibly be done with some trickery, and the CGSimpleSmarty module.

You'd have to create a dummy template with nothing in it except {content}
and a dummy page using that template
and in the content of that page trap the GET parameters, and pass them into a call to CGSimpleSmarty.