irori Posted August 10, 2012 Share Posted August 10, 2012 hopefully my last query, I would like to place a link into one of the category tabs that I have named 'back to main website' (unless anyone can suggest a better way to do this?) www.peacefulsilkworms.com.au/shop Where do I go about adding this link? Thanks again :) Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 10, 2012 Share Posted August 10, 2012 We will be editing the skin file, box.navigation.php. Look for: <li><a href="{$STORE_URL}/index.php" title="{$LANG.navigation.homepage}">{$LANG.navigation.homepage}</a></li> {$NAVIGATION_TREE} and add above it: <li><a href="/index.php" title="About Silkworms">About Silkworms</a></li> Quote Link to comment Share on other sites More sharing options...
irori Posted August 10, 2012 Author Share Posted August 10, 2012 We will be editing the skin file, box.navigation.php. Look for: <li><a href="{$STORE_URL}/index.php" title="{$LANG.navigation.homepage}">{$LANG.navigation.homepage}</a></li> {$NAVIGATION_TREE} and add above it: <li><a href="/index.php" title="About Silkworms">About Silkworms</a></li> ok i have done this, in public_html/shop/skins/mican/templates/box.navigation.php I am not sure what this had done though, excuse my ignorance.. We will be editing the skin file, box.navigation.php. Look for: <li><a href="{$STORE_URL}/index.php" title="{$LANG.navigation.homepage}">{$LANG.navigation.homepage}</a></li> {$NAVIGATION_TREE} and add above it: <li><a href="/index.php" title="About Silkworms">About Silkworms</a></li> ok i have done this, in public_html/shop/skins/mican/templates/box.navigation.php I am not sure what this had done though, excuse my ignorance.. Ok, I got it How do I make the link link in directly from the category tab instead of taking the customer to a page where they have to click on 'mainwebsite' to get there? Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 10, 2012 Share Posted August 10, 2012 You have "Return to Main Website" as a category. Maybe I don't know what you mean by a Category Tab. My instruction would have caused this: Shop by CategoryAbout SilkwormsHomepageZebra Silkworm Eggs ... Quote Link to comment Share on other sites More sharing options...
irori Posted August 10, 2012 Author Share Posted August 10, 2012 Ok, You have "Return to Main Website" as a category. Maybe I don't know what you mean by a Category Tab. My instruction would have caused this: Shop by CategoryAbout SilkwormsHomepageZebra Silkworm Eggs ... I added a new 'category' via admin panel so that on my store (under The 'HomePage' in the menu on the left) there is now a new category called 'ReturnToMainWebsite' When I click on this 'ReturnToMainWebsite' tab it takes me to a 'page'(category) called 'ReturnToMainWebsite'. (much like it goes to any normal category) The edit you gave me created a link in the menu progression just above the page name 'ReturnToMainWebsite' I would like to make the link work so that when a customer clicks on the menu option in the categories 'ReturnToMainWebsite' that it links immediately instead of showing the 'category' page first I hope that makes sense! You have "Return to Main Website" as a category. Maybe I don't know what you mean by a Category Tab. My instruction would have caused this: Shop by CategoryAbout SilkwormsHomepageZebra Silkworm Eggs ... If you have a look, your instructions created the 'aboutsilkworms' which I called 'ReturnToMainWebsite in the progression menu at the top horizontal of the store instead of in the category menu at the side...maybe I have placed it wrong? This is the code of my public_html/shop/skins/mican/templates/box.navigation.php <div> <h3>{$LANG.navigation.title}</h3> <ul id="menu" class="accordion"> <li><a href="/index.php" title="Return to Main Website">http://www.peacefulsilkworms.com.au</a></li> <li><a href="{$STORE_URL}/index.php" title="{$LANG.navigation.homepage}">{$LANG.navigation.homepage}</a></li> {$NAVIGATION_TREE} {if $CTRL_CERTIFICATES && !$CATALOGUE_MODE} <li class="li-nav"><a href="{$URL.certificates}" title="{$LANG.navigation.giftcerts}">{$LANG.navigation.giftcerts}</a></li> {/if} {if $CTRL_SALE} <!--<li class="li-nav"><a href="{$URL.saleitems}" title="{$LANG.navigation.saleitems}">{$LANG.navigation.saleitems}</a></li>--> {/if} </ul> </div> Quote Link to comment Share on other sites More sharing options...
irori Posted August 10, 2012 Author Share Posted August 10, 2012 Ok I was just fiddling around with my categories and now the link is showing up where you said it should. I did refresh the page about 10 times, sorry.... All resolved Thankyou!!!!!! :yeahhh: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.