Loading...
 
Skip to main content

Development


Re: How do I pass parameter to module?

posts: 34

I looked in several at random, and couldn't find anything that used one. After your post I decided to go through the entire list top to bottom. First one in the list: mod-articles.php. It uses a parameter. 😡

Example for others:

if (isset($module_params[ "type" ])) { $type = $module_params[ "type "]; } else { $type = ''; }
There are no comments at this time.