Jump to content

Resolved - Embedding link into Category Menu tab


irori

Recommended Posts

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 :)

Link to comment
Share on other sites

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>

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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 Category

  • About Silkworms
  • Homepage
  • Zebra 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 Category

  • About Silkworms
  • Homepage
  • Zebra 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>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...