Shape 5

Joomla Templates => City Portal - January - Club => : neuro January 29, 2009, 11:13:21 AM



: city portal and s5_tabshow
: neuro January 29, 2009, 11:13:21 AM
Hi,

I wish more integrated modules s5_tabshow on cityportal:

s5_tabshow_2
s5_tabshow_3
s5_tabshow_4
... eg

My question:


mod_s5_tabshow2/mod_s5_tabshow2.php

Line 39:
$LiveSite = JURI::base();


or

mod_s5_tabshow/mod_s5_tabshow.php

it is not.

To duplicate the modules and can use them should I integrate the code to make it functional?

Thank you!

 :)



: Re: city portal and s5_tabshow
: jonahh January 29, 2009, 04:50:20 PM
Hello,

You cannot integrate the code as the modules will stop working if you do this.  We created mod_s5_tabshow2 to allow for two instances of the module on one page without javascript or php conflicting.

Regards,


: Re: city portal and s5_tabshow
: neuro January 30, 2009, 12:33:59 AM
and it is not possible to create mod_s5_tabshow3 for example by duplicating the code and changing bodies:

- S5_tab_1 -> tabshow
- S5_tabc_1 -> tabshow2
- S5_tabc1_1? -> Tabshow3?

Thanks


: Re: city portal and s5_tabshow
: jonahh February 02, 2009, 05:41:25 PM
Yes you could do this, you would also have rename all the javascript functions used throughout the module.