tubarao21 Posted January 27, 2006 Posted January 27, 2006 Hi there. I'm taking the last steps to put the store working ;) I thank you all for this. There's just somethings i want to change. I wish to put a link next to Login | My Account | Shopping Cart, to Contact_us.php. In my searches i saw a procedure too extense that i will never make it. My knowledge about PHP is poor. Does anyone can tell me what is the best procedure to do this? Thanks a lot ;)
rabbitseffort Posted January 27, 2006 Posted January 27, 2006 Hi there. I'm taking the last steps to put the store working ;) I thank you all for this. There's just somethings i want to change. I wish to put a link next to Login | My Account | Shopping Cart, to Contact_us.php. In my searches i saw a procedure too extense that i will never make it. My knowledge about PHP is poor. Does anyone can tell me what is the best procedure to do this? Thanks a lot ;) I want to understand this better also---anyone? "I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings." ---Margaret Mead--- "The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer. --Ken Kesey"
tubarao21 Posted January 30, 2006 Author Posted January 30, 2006 Does anyone have an idea? Is this hard to do for a newb at Php?
buzuc Posted January 30, 2006 Posted January 30, 2006 It's not hard to do, you just have to know where it is ! In includes/header.php find that piece of code : <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> | <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td> and replace it with : <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> | <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CONTACT_US, '', 'SSL'); ?>" class="headerNavigation">Contact Us</a> </td> et voil? ! MS2 2.2 fr + Manufacturer copy (5 manufacturers - modified to make it works) + More pics 6 + FCK Editor + zones shipping (modified without weight) + My contribution : Shopping Cart Management for Unique Products I apologize in advance for my poor English I'm French !
rabbitseffort Posted January 30, 2006 Posted January 30, 2006 thanx Busuc--works like a charm and is easy to understand! I will add this for those that want to add a link in the header bar that goes outside of their shop <a href="http://www.YOURSHOP.com/forum"class="headerNavigation">Forum</a>?|? this is for a ,link to your forum or change it to whatever you want it to be. Just add it in the same code as described bu Buzuc, I hope this helps someone! :thumbsup: "I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings." ---Margaret Mead--- "The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer. --Ken Kesey"
tubarao21 Posted January 30, 2006 Author Posted January 30, 2006 Ok. Worked great! That's it ;) I just needed to translate Contac Us in the Header and that's really easy. It's in the end of the code (in case of anyone hesitates). Thanks a lot ;)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.