My store is at one domain and my website is at another how can I use the "Top" header button to go to my website from the store?
Thanks for your help!
This is a discussion on How to link to another domian using the TOP button? within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; My store is at one domain and my website is at another how can I use the "Top" header button ...
My store is at one domain and my website is at another how can I use the "Top" header button to go to my website from the store?
Thanks for your help!
fake it - put a link in front of the entire breadcrumb inside of your main_page.tpl.php and name it top. then go to application_top.php and block out the default top link.
Hi thanks for you response. But Im pretty new at this, so where are you telling me to put the link on the main_page.tpl.php?
</table>
<table border="20%" width="100%" cellspacing="0" cellpadding="1">
<tr class="headerNavigation">
<td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td>
<td align="right" class="headerNavigation"> |
<?php if ((tep_session_is_registered('customer_id')) && (!tep_session_is_registered('noaccount'))) // DDB - PWA - 040622 - no display of logoff for PWA customers
{ ?>
And then is this the link I should block out on the applicaton_top.php Do I just delete it?
$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
Thanks again for all you help.
Thanks for your reply BlackHawk!
Though I am a noobie and need some further clarification.
Can you show me where to add the link on the main_page.tpl.php
</tr>
</table>
<table border="20%" width="100%" cellspacing="0" cellpadding="1">
<tr class="headerNavigation">
<td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td>
<td align="right" class="headerNavigation"> |
<?php if ((tep_session_is_registered('customer_id')) && (!tep_session_is_registered('noaccount'))) // DDB - PWA - 040622 - no display of logoff for PWA customers
{ ?>
Second question: Is this the line I should block out on the (I assume that means delete)
application_top.php
$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
Thanks again for all your help!
Open up main_pagt.tpl.php and find this line...
and change it to...Code:<td class="breadcrumb"> <?php echo $breadcrumb->trail(' » '); ?></td>
Then open up catalog/includes/application_top.phpCode:<td class="breadcrumb"> <a href="http://www.yourstorelnk.com" target="_blank">Top</a> <?php echo $breadcrumb->trail(' » '); ?></td>
and find this line
and change it tooCode:$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));
Then when you load your browser, your top link should be the custom link you want it to be.Code://$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));
bh
Thanks Blackhawk! I appreciate your help more than you know!
I have a question thought is it possible to have the link (when clicking on top) open within the same window? Also, when I did this the button for the catalog has disappeared, the color that I had in the background and the font color and size changes also? Your help or any other help/suggestions is greatly appreciated.
Thanks
Rosanne
target="_top" -> Same Window
target="_blank" -> New Window.
For the stylesheet stuff - just install Firebug for Firefox and then look at the style you should be fixing.
Regards,
pgmarshall
_______________________________
@pgmarshall - Thanks so much for your help.......I got it to work.
I still have the second part of my question though: when I did this the button for the catalog has disappeared, the color that I had in the background and the font color and size changes also? Your help or any other help/suggestions is greatly appreciated.
Thanks again......Im learning.....but all your help is more than appreciated.
Just do as above ... use the firebug explorer to examine the style that is misbehaving and fix it!For the stylesheet stuff - just install Firebug for Firefox and then look at the style you should be fixing.
Regards,
pgmarshall
_______________________________
Bookmarks