Creating Modules - confused

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
Homersbrain

Creating Modules - confused

Post 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
Locked

Return to “Modules/Add-Ons”