User Defined Tags - How to submit data back to it's self.

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Bradleyenator

User Defined Tags - How to submit data back to it's self.

Post by Bradleyenator »

Ok this is a very simple question.
Is it possible to setup a UDT and then have a form or whatever which sends the data back to it's self for processing?
I do it all the time with normal php files however I wasn't sure how to reference a User Defined Tag in the form of a url.
If you can at all.

Thanks Heaps
Brad
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: User Defined Tags - How to submit data back to it's self.

Post by Dee »

You can't directly call the UDT, but I think you can create a form that calls the same page (or another page that contains the UDT) . Then in the UDT you can use $_POST as you like.
Bradleyenator

Re: User Defined Tags - How to submit data back to it's self.

Post by Bradleyenator »

oh yeah of course.

It seems so obvious now.

Anyway thanks Dee.
Bradleyenator

Re: User Defined Tags - How to submit data back to it's self.

Post by Bradleyenator »

Ok it does work but not if you are trying to generate pure xml.
The problem is even if you use a template with just {content} it till places and tags in the document and hence it mucks up the xml.

I know it is easier just to use an external php file but I guess you could say I am a bit of a perfectionist and I like things to be neat and tidy.
Anyway if anyone knows of a way to resubmit data back to a udt and not have the output mucked about by CMSMS that would be awesome!
Locked

Return to “CMSMS Core”