Creating a user defined tag related to a module.
Posted: Sat Jan 16, 2010 5:50 am
Hi everyone,
I would like to define a tag to be able to create a link pointing to the specified page (using alias) and in that same tag I would need to retrieve some database information from a module I have created.
To put it more clearly, the access to the module's items is necessary so I can retrieve the correct id using the name of an item. The link created will not have to hold any information about the module itself, the module information will merely be used to display the appropriate text and to point at the correct anchor within the given page. I can figure out how the management of the link creation but I don't know how to grab an instance of the module to accomplish my needs.
I am not sure if I am clear enough, feel free to request more information as long as you specify what you'd like to know accurately.
Thank you very much for your time!
I would like to define a tag to be able to create a link pointing to the specified page (using alias) and in that same tag I would need to retrieve some database information from a module I have created.
To put it more clearly, the access to the module's items is necessary so I can retrieve the correct id using the name of an item. The link created will not have to hold any information about the module itself, the module information will merely be used to display the appropriate text and to point at the correct anchor within the given page. I can figure out how the management of the link creation but I don't know how to grab an instance of the module to accomplish my needs.
I am not sure if I am clear enough, feel free to request more information as long as you specify what you'd like to know accurately.
Thank you very much for your time!