Security bug discovered in all previous Joomla 1.5 versions. UPDATE NOW!
This will not affect your template layouts or features

More info  

Or fast upgrade

You are here:Templates Club arrow Help and Support arrow Support Forums
Youjoomla Support
Welcome, Guest
Please Login or Register.    Lost Password?
Can my frontpage slider mod be copied/duplicate (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Can my frontpage slider mod be copied/duplicate
#3942
lotvot
Junior Boarder
Posts: 30
graphgraph
User Offline Click here to see the profile of this user
Can my frontpage slider mod be copied/duplicate 4 Months, 1 Week ago Karma: 0  
Hi

I have a question is it possible to copy/duplicate the frontpage slider module.

I tried to copy it to display a special section on a different module position and its gave me this error;

Fatal error: Cannot redeclare slikice() (previously declared in /mnt/w0111/d01/s30/b01692dd/www/mysite.com/modules/ mod_myfp_slider.php:506) in /mnt/w0111/d01/s30/b01692dd/www/mysite.com/modules/mod_myfp_slider.php on line 556


Any help is much appreciated.


Thanks>
 
Logged Logged  
  The administrator has disabled public write access.
#3943
CProject60
Moderator
Posts: 1031
graphgraph
User Offline Click here to see the profile of this user
Re:Can my frontpage slider mod be copied/duplicat 4 Months, 1 Week ago Karma: 29  
A similar question was asked about the Tab module.

This might help. But only Neo knows for sure.
http://www.youjoomla.com/support-forums/news-tabs-module/3132-use-two- tab-modules-on-the-same-page.html
 
Logged Logged  
  The administrator has disabled public write access.
#3944
lotvot
Junior Boarder
Posts: 30
graphgraph
User Offline Click here to see the profile of this user
Re:Can my frontpage slider mod be copied/duplicat 4 Months, 1 Week ago Karma: 0  
Thank you so much

I will give it my best shot and I will report back.
 
Logged Logged  
  The administrator has disabled public write access.
#3946
neo
Admin
Posts: 2618
graph
User Online Now Click here to see the profile of this user
Re:Can my frontpage slider mod be copied/duplicat 4 Months, 1 Week ago Karma: 65  
call 1800 NEO he knows the future


yes same process works for MYFP slider only difference is that you need to edit 1 file for the function not 2 (read the last post on that page) and you would look for this function

function slikice
 
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.
#4014
lotvot
Junior Boarder
Posts: 30
graphgraph
User Offline Click here to see the profile of this user
Re:Can my frontpage slider mod be copied/duplicat 4 Months ago Karma: 0  
Hi Neo,

Thank you so much and I must agree that you are the man of the hour..LOL

Anyway I am sorry but I don't really understand what you mean by change the function function slikice I found it on the php file and just change it to function slikice2.. The rest i think its seem ok.

Infact I was doing everything except that function which after successfully uploading the module and published it I end up with this error;
Fatal error: Cannot redeclare newheadtag() (previously declared in /mnt/w0111/d01/s30/b01692dd/www/mysite.com/modules/ mod_myfp_slider.php:113) in /mnt/w0111/d01/s30/b01692dd/www/mysite.com/modules/ mod_myfp_slider2.php on line 113

which basically point back to the function... learning the hard way!!!!!!!!!!!!!!

a quick explaination of the function change will be great

Thank you so much
 
Logged Logged  
  The administrator has disabled public write access.
#4016
lotvot
Junior Boarder
Posts: 30
graphgraph
User Offline Click here to see the profile of this user
Re:Can my frontpage slider mod be copied/duplicat 4 Months ago Karma: 0  
Sorry a quick update I went and re-read the post on mod_tap and I think I was thinking complicated.

Anyway its seem now that you mean to change the "function slikice" to the word "yourfunction" I thought it was some individual customise function.


Anyway I wend and edit the mod_myfp_slider2.php on line 506 from function slikice to yourfunction. then I end up with this error;

Parse error: syntax error, unexpected '{' in /mnt/w0111/d01/s30/b01692dd/www/mysite.com/modules/ mod_myfp_slider2.php on line 506

Sorry this is all foreign language to me but I am willing to learn even if its mean making a fool of myself..Lol

Thank you so much.
 
Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop