Hi Anne,
I installed this mod and my whole site design disappears.. I can get it back by installing the original tpl_main_page.php file from template_default.. but not sure why it's not working on my site?
Here it is, I have to leave for the day so I'll leave it alone until I hear from you or anyone else, I really appreciate any help, thanks so much!
by the way, I'm using v 1.5.0
http://theposhbox.net/ZenCart/
Last edited by pamela631; 11 May 2013 at 07:01 PM.
Never Mind.. figured it out with a friends awesome help..
The code is supposed to go in the tpl_main_page.php in between this:
<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
and this:
<?php
I was putting the code after <?php
Thanks Patty of Treasured Scraps!
Hi Anne,
Ummmm, I think what it doesn't actually state to put the code in between and I was just assuming to place it after the <?php for <body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>> It's probably just me though, I just didn't quite understand.. maybe you could add that somewhere on the instructions, but I'm probably the only person who has done this, LOL
The readme is pretty clear, "Find this line of code:"
"Directly below it add the following:"Code:<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
I don't think that anything else needs to be added ;-)Code:<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js" type="text/javascript"></script> <script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/back_to_top.min.js' ?>" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function(){ BackToTop({ text : 'Back to Top', autoShow : true, timeEffect : 750 }); }); </script>
Thanks,
Anne
Hi Anne,
Great mod! I am working on www.fossilandrock.co.uk, using version 1.5.1. I have about 30 add ons on this site. I have removed the line
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js" type="text/javascript"></script>
Strange thing is, the back to top only works on my product info page, no other pages. What am I doing wrong?
B
I've been sitting here for the last 2 hours trying to make back to top arrows work, when it dawned on me to check the ZenCart mods. You are a life saver (well, I still have some hair left at least) Anne! Works perfectly :)
One quick question ... is there a way to make it work with an image rather than text?
I have installed this plugin to v1.5.4 & Winchester Black and works a dream. I cannot work out how to change the colours, can some one help? Thanks
Learning Fast.
Eden Craft Supplies
Bookmarks