Hello to all
I have this question for you and hope you can help me.
In my site i've a module: smartsection.
The link in the menu "smartsection" refer directly to the home page of the of the module:
http://www.sos4zampe.com/modules/smartsection/ I would like that clikking on "smartsection" link in the menĂ¹, i go directly on this link:
http://www.sos4zampe.com/modules/smar ... category.php? categoryid = 1
So i wolud like to change module home page link ... is possible ?
Here is the code in xoop_version of smartsection .... I can not change ... someone can give me some help?
/ / Menu
$ modversion [ 'hasMain'] = 1;
Global $ xoopsModule;
if (is_object ($ xoopsModule) & & $ xoopsModule-> getVar ( 'dirname') == $ modversion [ 'dirname']) (
global $ xoopsModuleConfig, $ xoopsUser;
$ isAdmin = false;
if (! empty ($ xoopsUser)) (
$ isAdmin = ($ xoopsUser-> isAdmin ($ xoopsModule-> getVar ( 'mid')));
)
/ / Add the Submit button new item
if ($ isAdmin | | (isset ($ xoopsModuleConfig [ 'allowsubmit']) & &
$ xoopsModuleConfig [ 'allowsubmit'] == 1 & &
(is_object ($ xoopsUser) | |
(isset ($ xoopsModuleConfig [ 'anonpost']) & & $ xoopsModuleConfig [ 'anonpost'] == 1)))) (
$ modversion [ 'sub'] [1] [ 'name'] = _MI_SSECTION_SUB_SMNAME1;
$ modversion [ 'sub'] [1] [ 'url'] = "submit.php? op = add";
)
)
Thank you very much