Page 1 of 1

direct linking to module mod_phocadownload_latest

Posted: 15 Jun 2011, 22:45
by gerpol
Hello guys,

currently i'm trying to finetune the layout for the module mod_phocadownload_latest which I'm starting not through a menulink but via a separate file.

I've got the basic working through the next statement.
. ' <jdoc:include type="module" name="mod_phocadownload_latest" title="Latest extensions" />'

Now I want to enhance the layout by putting extra parameters to choose the way i want it : no bullet style, but icon style and no direct linking to download but linking to the category, so i thought it would be something like this.

. ' <jdoc:include type="module" name="mod_phocadownload_latest" title="Latest extensions" liststyle="icons" link_to="category" />'

However, nothing changes in the frontend. Is there no way to pass the parameters of the module when using jdoc ?

Re: direct linking to module mod_phocadownload_latest

Posted: 16 Jun 2011, 00:27
by Jan
Hi, in fact I don't know I have no experiences with pasting module parameters in jdoc. :idea: :(

Re: direct linking to module mod_phocadownload_latest

Posted: 16 Jun 2011, 02:58
by SonRiab
jdoc tags are only placeholders for modules you can define in the backend.
I think there is no possibility to pass params to the module this way.

The normal way you would to it is (if you really want a create an new position for it):
- add this jdoc tag to your template (in most cases index.php)
- be sure that the position is defined in the templateDetails.xml before you install the theme
- go into your backend, create a new module if there isn't one already
- define the position (here: mod_phocadownload_latest) and set the rest up.

After saving the new module it should be visible on all sites.

But in most cases it is not necessary to create a new position.
Just create a new module (see Module Manager) and assign it to an existing position.

Hope this will help.