You are here:Templates Club arrow Help and Support arrow Support Forums
Youjoomla Support
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Use two tab modules on the same page? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 1
TOPIC: Re:Use two tab modules on the same page?
#3248
neo
Admin
Posts: 3521
graph
User Offline Click here to see the profile of this user
Re:Use two tab modules on the same page? 7 Months, 2 Weeks ago Karma: 80  
WAIT

again open mod_tab_news2.php

also change all instances of

mod_tab_news

to
mod_tab_news2
 
Logged Logged  
 
Please mark your post as SOLVED if your issue is resolved. Thank you. To mark the post as solved , edit your first post title : NOTE FOR UNANSWERED POST: IF YOUR POST IS NOT ANSWERED WITHIN 48H PLEASE SEND ME AN EMAIL TROUGH OUR CONTACT FORM WITH SUBJECT UNANSWERED POST
  The administrator has disabled public write access.
#3303
techspam
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Birthdate: 1983-01-12
Re:Use two tab modules on the same page? 7 Months, 2 Weeks ago Karma: 0  
I did everything you asked but i get this:

Code:

Fatal error: Call to undefined function: yourfunction() in /modules/mod_tab_news2/mod_tab_news2.php on line 272
Thanks for all your hard work! but i guess I'm no good at this type of stuff... once I find the solution I will post it.... it has to do with "yourfunction" it had "processImagesCustom" there before... so I need to find a different way of calling on it....
 
Logged Logged  
  The administrator has disabled public write access.
#3304
CProject60
Moderator
Posts: 1214
graphgraph
User Offline Click here to see the profile of this user
Re:Use two tab modules on the same page? 7 Months, 2 Weeks ago Karma: 36  
Did you change all instances of mod_tab_news in the module in the mod_tab_news2 php?
 
Logged Logged  
  The administrator has disabled public write access.
#3312
neo
Admin
Posts: 3521
graph
User Offline Click here to see the profile of this user
Re:Use two tab modules on the same page? 7 Months, 2 Weeks ago Karma: 80  
you have missed one
processImagesCustom

in the module , look for it and rename it
 
Logged Logged  
 
Please mark your post as SOLVED if your issue is resolved. Thank you. To mark the post as solved , edit your first post title : NOTE FOR UNANSWERED POST: IF YOUR POST IS NOT ANSWERED WITHIN 48H PLEASE SEND ME AN EMAIL TROUGH OUR CONTACT FORM WITH SUBJECT UNANSWERED POST
  The administrator has disabled public write access.
#3316
techspam
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Birthdate: 1983-01-12
Re:Use two tab modules on the same page? 7 Months, 2 Weeks ago Karma: 0  
OK got it... this is what you do if you wanted two working tab modules like me... thanks from a lot of help from neo!!!!

extract the mod_tab_news_1.0.4.zip

rename files:
mod_tab_news.php to mod_tab_news2.php
mod_tab_news.xml to mod_tab_news2.xml
mod_tab_news_style.css to mod_tab_news2_style.css
server_tab_news.js to server_tab_new2.js
server_tab_news.php to server_tab_news2.php

also open all the files and change the respective file names in the code to show for the changes above...
------------------------------------------------
open mod_tab_news2.php find all instances , there is only 2 of

"processImagesCustom" rename it to "yourfunction"

also change all instances of

mod_tab_news to mod_tab_news2

save the file
------------------------------------------------
open mod_tab_news2.xml, rename all instances of

mod_tab_news to mod_tab_news2

save the file
------------------------------------------------
open tools_ryshkin.php
find the 1 instance of "processImagesCustom" rename it to "yourfunction"

Save the file
------------------------------------------------
Open mod_tab_news2_style.css

change all instances of tnews_ to tnews2_
there is 32 instances

Save the file
-----------------------------------------------
After install go to the module properties and under "CSS-suffix class of the module"
change from tnews_ to tnews2_

zip the folder as mod_tab_news2 and now you have second tab news module
 
Logged Logged  
 
Last Edit: 2008/04/20 20:49 By techspam.
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop