Loading...
 
Skip to main content

Development


You are viewing a reply to How do I pass parameter to module?

Re: How do I pass parameter to module?

posts: 34 ☆ ☆ ☆
Yup, that did it. var1=1&var2=2 works well. I guess somone picked this delimiter because of the url parameters, but being a module, parameters are not passed to it as part of the URL. All the data on tiki is stored in the database, includeing how all your modules are set up, and the parameters they have. Tiki pulls this data out and creates php vars and arrays of vars that the modules have access to when they are included; in this case module_params[].