call content tag external

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
welworx
Forum Members
Forum Members
Posts: 12
Joined: Sat Mar 21, 2009 2:04 am

call content tag external

Post 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
leerraum
Forum Members
Forum Members
Posts: 180
Joined: Wed Apr 22, 2009 2:54 pm

Re: call content tag external

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: call content tag external

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
welworx
Forum Members
Forum Members
Posts: 12
Joined: Sat Mar 21, 2009 2:04 am

Re: call content tag external

Post by welworx »

thank you very much!
welworx
Forum Members
Forum Members
Posts: 12
Joined: Sat Mar 21, 2009 2:04 am

Re: call content tag external

Post by welworx »

do you know if it is also possible to call the following from extern?

{$content_obj->GetPropertyValue('image')}
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: call content tag external

Post 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.
Last edited by calguy1000 on Mon Oct 19, 2009 7:48 pm, edited 1 time in total.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “Modules/Add-Ons”