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 ?
direct linking to module mod_phocadownload_latest
- gerpol
- Phoca Member

- Posts: 14
- Joined: 30 Apr 2010, 14:44
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: direct linking to module mod_phocadownload_latest
Hi, in fact I don't know I have no experiences with pasting module parameters in jdoc.

If you find Phoca extensions useful, please support the project
-
SonRiab
- Phoca Professional

- Posts: 258
- Joined: 02 Jun 2011, 09:29
- Contact:
Re: direct linking to module mod_phocadownload_latest
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.
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.