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
User Defined Tags - How to submit data back to it's self.
Re: User Defined Tags - How to submit data back to it's self.
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.
oh yeah of course.
It seems so obvious now.
Anyway thanks Dee.
It seems so obvious now.
Anyway thanks Dee.
-
Bradleyenator
Re: User Defined Tags - How to submit data back to it's self.
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!
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!

