Loading...
 
Skip to main content

Custom Share Module 0.1dev

Development

Development


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[].
There are no comments at this time.

Upcoming Events

1)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4) 
Tiki birthday
5)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting