Page 1 of 1

Creating Modules - confused

Posted: Mon Jan 15, 2007 12:29 am
by Homersbrain
i'm wanting to create a new module that is called via the url, and not via tags, because it's passed a parameter. I feel like I'm falling at the first hurdle.

I've installed the skeleton module, looked at the code and understand it's called by using a tag. What changes do I need to do to in skeleton.module.php call it via the url. ie:

Code: Select all

http://www.test.com/index.php?makt=Skeleton
Is that the right format? (I have pretty urls etc switched off)

or if I'm barking up the wrong tree, could someone tell me how to pass an extra parameter in the content url, which can be picked up by a UDT? eg index.php?page=product&id=test

Thanks

Mike