Forum Support

Shape 5
January 23, 2022, 09:35:15 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: city portal and s5_tabshow  (Read 426 times)
neuro
Jr. Member
**
Offline Offline

Posts: 12



« on: 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:
Quote
$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!

 Smiley

Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: 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,
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
neuro
Jr. Member
**
Offline Offline

Posts: 12



« Reply #2 on: 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
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #3 on: 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.
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.