This is my website www.belipecasadoqueijo.com.br
As you will see i have a big header, every time i use some link on the categories menu, the page reloads on the header.
I created an Anchor named "top", if you try to access for example: http://belipecasadoqueijo.com.br/index.php?cPath=21_31_59#top
It works as i need, the page reloads where i need it too.
What i need to know is how to make all links on categories menu and products listing to link to the anchor "#top".
Can anyone help-me with this one?
Latest News: (loading..)
4 replies to this topic
#-19
Posted 27 March 2012 - 12:52 PM
#-18
Posted 27 March 2012 - 01:06 PM
Whenever you create links you must ensure you use the tep_href_link function, otherwise you risk costumers getting logged out, loosing thier cart, etc etc
http://forums.oscommerce.com/topic/330479-what-is-the-oscsid-why-you-must-not-loose-it/
So to add a anchor reference to a link you do
http://forums.oscommerce.com/topic/330479-what-is-the-oscsid-why-you-must-not-loose-it/
So to add a anchor reference to a link you do
<a href="<?php echo tep_href_link(FILENAME_DEFAULT,'cPath=21_31_59'); ?>#top">Top</a>
Sam
Remember, What you think I ment may not be what I thought I ment when I said it.
Contributions:
Auto Backup your Database, Easy way
Multi Images with Fancy Pop-ups, Easy way
Products in columns with multi buy etc etc
Disable any Category or Product, Easy way
Secure & Improve your account pages et al.
Remember, What you think I ment may not be what I thought I ment when I said it.
Contributions:
Auto Backup your Database, Easy way
Multi Images with Fancy Pop-ups, Easy way
Products in columns with multi buy etc etc
Disable any Category or Product, Easy way
Secure & Improve your account pages et al.
#-17
Posted 27 March 2012 - 02:19 PM
OK, But how can I Put the Anchor Link to my default categories menu and product listing?
Wichh file has this links?
Wichh file has this links?
#-16
Posted 27 March 2012 - 02:41 PM
In osC 2.3.x the categories menu is from includes/modules/bm_categories.php
product listing is from includes/modules/product_listing.php but you seem to be using a template, so the writer could have moved things, you would be best asking them.
product listing is from includes/modules/product_listing.php but you seem to be using a template, so the writer could have moved things, you would be best asking them.
Sam
Remember, What you think I ment may not be what I thought I ment when I said it.
Contributions:
Auto Backup your Database, Easy way
Multi Images with Fancy Pop-ups, Easy way
Products in columns with multi buy etc etc
Disable any Category or Product, Easy way
Secure & Improve your account pages et al.
Remember, What you think I ment may not be what I thought I ment when I said it.
Contributions:
Auto Backup your Database, Easy way
Multi Images with Fancy Pop-ups, Easy way
Products in columns with multi buy etc etc
Disable any Category or Product, Easy way
Secure & Improve your account pages et al.
#-15
Posted 27 March 2012 - 03:48 PM
OK, i'll do this!









