Navigation Bar Menu changing 'Home' link

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kampourisl
    Mini Mivite

    • Jul 2014
    • 79

    #1

    Navigation Bar Menu changing 'Home' link

    I would like to change the 'Home Button' on the Top Navigation Menu from the storefront to merchant.mvc?Screen=SFNT&Store_Code=vitaevalue but for the life of me cannot figure out where it is to change it..

    I would also like to do the same for the logo display it also goes to the storefront and would rather it does not go anywhere, but merchant.mvc?Screen=SFNT&Store_Code=vitaevalue would do if need be.

    Thank you in advance
  • lesliekirk
    Super Moderator











    • Aug 2008
    • 9296

    #2
    Re: Navigation Bar Menu changing 'Home' link

    FYI merchant.mvc?Screen=SFNT&Store_Code=vitaevalue - is the link to the storefront SFNT

    The logo link is usually found in the Global Header.
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: X | Facebook | Pinterest

    Comment

    • kampourisl
      Mini Mivite

      • Jul 2014
      • 79

      #3
      Re: Navigation Bar Menu changing 'Home' link

      I'm currently setting up the store (which has 2 add on stores) so my first page is the Store Select Page (vitae value.mivamerchant.net) if I select the USA Flag it brings me to merchant.mvc?Screen=SFNT&Store_Code=vitaevalue
      there I have the logo which if clicked brings me back to the Store Select Page which I would rather it either returns you to
      merchant.mvc?Screen=SFNT&Store_Code=vitaevalue or no link at all.

      The other item is once in the store the 'Home' tab on the top Navigation Bar does the same thing, I would like that to bring me back to
      merchant.mvc?Screen=SFNT&Store_Code=vitaevalue

      the Global Header contains
      <mvt:if expr = "g.Maintenance_Warning_Message">
      <div id="maintenance">&mvte:global:Maintenance_Warning_ Message;</div>
      </mvt:if>
      <div id="search">
      <form method="post" action="&mvt:global:sessionurl;Screen=SRCH">
      <input type="hidden" name="Store_Code" value="&mvte:store:code;" />
      <input type="text" name="Search" id="searchfield" value="&mvte:global:Search;" class="textfield" />
      <mvt:item name="buttons" param="Search" />
      </form>
      </div>
      <div id="header-links"><mvt:item name="customerlink" /><mvt:item name="affiliatelink" /><span class="grey">|</span>
      <mvt:if expr="g.Basket:cust_id">
      <mvt:item name="cssui_links" param="orderhistory">Order History</mvt:item></div>
      <mvt:else>
      <mvt:item name="cssui_links" param="orderhistory_login">Order History</mvt:item></div>
      </mvt:if>
      <div id="logo"><mvt:item name="cssui_links" param="storefront"></mvt:item></div>

      but I am unsure of what to change to get it to go to merchant.mvc?Screen=SFNT&Store_Code=vitaevalue

      Comment

      • dcarroll
        Mini Mivite

        • Jun 2014
        • 15

        #4
        Re: Navigation Bar Menu changing 'Home' link

        Hello,

        The home button in the top menu should be located under "Navigation Bar" but without seeing the backend of your site I can't say for sure.

        You can replace the current logo area with this:

        HTML Code:
        <a href="http://vitaevalue.mivamerchant.net/mm5/merchant.mvc?Screen=SFNT&Store_Code=vitaevalue"><div id="logo"></div></a>
        The
        HTML Code:
        <a href="http://vitaevalue.mivamerchant.net/mm5/merchant.mvc?Screen=SFNT&Store_Code=vitaevalue"></a>
        Is what you want to wrap around the navigation bar item as well. You can probably shorten the links down to merchant.mvc?Screen=SFNT&Store_Code=vitaevalue but you may need to tinker, shortened links will product the same results except in cases of secure pages.

        Please let me know if you experience further issue or have additional questions.

        Regards,

        Daniel
        Daniel Carroll
        Level II Support Technician
        http://mivamerchant.com
        [email protected]

        Comment

        • kampourisl
          Mini Mivite

          • Jul 2014
          • 79

          #5
          Re: Navigation Bar Menu changing 'Home' link

          Currently http://vitaevalue.mivamerchant.net/m...ode=vitaevalue the 'Home' tab on the top horizontal nav bar takes you to the Store Select Page (I've a 3 store mall) for the life of me I cannot figure out where to change that so that it goes to the storefront for the store above. I found the 'Home' link reference for the footer and changed that but currently the top 'Home' takes you to the Store Select.

          When I look at the source code in Google Chrome I see the html and reference to change but can't find where that html resides in the last line I pasted here, but where is it to change it!? Looked at the cssui.css for the store but not there.. Help please.
          <!DOCTYPE HTML>
          <html>
          <head><title>vitaevalue.com</title><base href="http://vitaevalue.mivamerchant.net/mm5/" /><link type="text/css" rel="stylesheet" href="css/00000001/cssui.css" media="all" />
          <link type="text/css" rel="stylesheet" href="css/00000001/minibasket.css" media="all" />
          <style type="text/css">#category-tree { background-color: #204679 } #logo a { background-image: url("/graphics/images/HomePage/WelcomeLogo_MivaEn.jpg") } .button { background-color: #204679 }</style><link REL="SHORTCUT ICON" href="http://www.vitaevalue.com/graphics/i...ge/favicon.ico">
          </head><body class="SFNT"><div id="site-container"><div id="global-header">
          <div id="search"><form method="post" action="http://vitaevalue.mivamerchant.net/mm5/merchant.mvc?Screen=SRCH"><input type="hidden" name="Store_Code" value="vitaevalue" /><input type="text" name="Search" id="searchfield" value="" class="textfield" /><input type="submit" value="Search" class="button" /></form></div><div id="header-links">
          <a href="http://vitaevalue.mivamerchant.net/mm5/merchant.mvc?Store_Code=vitaevalue&amp;Screen=LOGN">Sign In</a>
          <span class="grey">|</span><a href="http://vitaevalue.mivamerchant.net/mm5/merchant.mvc?Store_Code=vitaevalue&amp;Screen=ORHL">Order History</a></div><div id="logo"></a></div>
          </div><div id="navigation-bar">
          <ul>
          <li class="navigation-item-off first-child" id="nav-checkout">
          <div class="item-left-side"><div class="item-right-side"><a href="http://vitaevalue.mivamerchant.net/mm5/merchant.mvc?Store_Code=vitaevalue&amp;Screen=OINF">Checkout</a></div></div>
          </li>
          <li class="navigation-item-off" id="nav-search">
          <div class="item-left-side"><div class="item-right-side"><a href="http://vitaevalue.mivamerchant.net/mm5/merchant.mvc?Store_Code=vitaevalue&amp;Screen=SRCH">Search</a></div></div>
          </li>
          <li class="navigation-item-off" id="nav-basket">
          <div class="item-left-side"><div class="item-right-side"><a href="http://vitaevalue.mivamerchant.net/mm5/merchant.mvc?Store_Code=vitaevalue&amp;Screen=BASK">Basket</a></div></div>
          </li>
          <li class="navigation-item-off" id="nav-account">
          <div class="item-left-side"><div class="item-right-side">
          <a href="http://vitaevalue.mivamerchant.net/mm5/merchant.mvc?Store_Code=vitaevalue&amp;Screen=LOGN">Account</a>
          </div></div>
          </li>
          <li class="navigation-item-off" id="nav-all-products">
          <div class="item-left-side"><div class="item-right-side"><a href="http://vitaevalue.mivamerchant.net/mm5/merchant.mvc?Store_Code=vitaevalue&amp;Screen=PLST">All Products</a></div></div>
          </li>
          <li class="navigation-item-on" id="nav-storefront">
          <div class="item-left-side"><div class="item-right-side"><a href="http://vitaevalue.mivamerchant.net/">Home</a></div></div>
          </li>

          Comment

          • kampourisl
            Mini Mivite

            • Jul 2014
            • 79

            #6
            Re: Navigation Bar Menu changing 'Home' link

            Hi Daniel,
            Here's what the Navigation Bar says but don't see any reference to 'Home' (thank for)
            <ul>
            <mvt:if expr="l.settings:page:code EQ 'OUS1' OR
            l.settings:page:code EQ 'OUSM' OR
            l.settings:page:code EQ 'OSEL' OR
            l.settings:page:code EQ 'OPAY' OR
            l.settings:page:code EQ 'OPRC' OR
            l.settings:page:code EQ 'OINF' OR
            l.settings:page:code EQ 'OCST' OR
            l.settings:page:code EQ 'ORDL' OR
            l.settings:page:code EQ 'INVC'">
            <li class="navigation-item-on first-child" id="nav-checkout">
            <mvt:else>
            <li class="navigation-item-off first-child" id="nav-checkout">
            </mvt:if>
            <div class="item-left-side"><div class="item-right-side"><mvt:item name="cssui_links" param="checkout">Checkout</mvt:item></div></div>
            </li>
            <mvt:if expr="l.settings:page:code EQ 'SRCH'">
            <li class="navigation-item-on" id="nav-search">
            <mvt:else>
            <li class="navigation-item-off" id="nav-search">
            </mvt:if>
            <div class="item-left-side"><div class="item-right-side"><mvt:item name="cssui_links" param="search">Search</mvt:item></div></div>
            </li>
            <mvt:if expr="l.settings:page:code EQ 'BASK'">
            <li class="navigation-item-on" id="nav-basket">
            <mvt:else>
            <li class="navigation-item-off" id="nav-basket">
            </mvt:if>
            <div class="item-left-side"><div class="item-right-side"><mvt:item name="cssui_links" param="basket">Basket</mvt:item></div></div>
            </li>
            <mvt:if expr="l.settings:page:code EQ 'LOGN' OR
            l.settings:page:code EQ 'AFCL' OR
            l.settings:page:code EQ 'ACED' OR
            l.settings:page:code EQ 'ACAD' OR
            ((g.Error_Message_Count GT 0) AND (l.settings:page:code EQ 'SFNT'))">
            <li class="navigation-item-on" id="nav-account">
            <mvt:else>
            <li class="navigation-item-off" id="nav-account">
            </mvt:if>
            <div class="item-left-side"><div class="item-right-side">
            <mvt:if expr="g.Basket:cust_id EQ 0">
            <mvt:item name="cssui_links" param="customer_login">Account</mvt:item>
            <mvt:else>
            <mvt:item name="cssui_links" param="customer_account">Account</mvt:item>
            </mvt:if>
            </div></div>
            </li>
            <mvt:if expr="l.settings:page:code EQ 'PLST'">
            <li class="navigation-item-on" id="nav-all-products">
            <mvt:else>
            <li class="navigation-item-off" id="nav-all-products">
            </mvt:if>
            <div class="item-left-side"><div class="item-right-side"><mvt:item name="cssui_links" param="all_products">All Products</mvt:item></div></div>
            </li>
            <mvt:if expr="l.settings:page:code EQ 'SFNT' AND g.Error_Message_Count EQ 0">
            <li class="navigation-item-on" id="nav-storefront">
            <mvt:else>
            <li class="navigation-item-off" id="nav-storefront">
            </mvt:if>
            <div class="item-left-side"><div class="item-right-side"><mvt:item name="cssui_links" param="storefront">Home</mvt:item></div></div>
            </li>
            </ul>

            Comment

            • kampourisl
              Mini Mivite

              • Jul 2014
              • 79

              #7
              Re: Navigation Bar Menu changing 'Home' link

              Never mind and Thank You but I got it! param="screen:SFNT"

              Comment

              Working...
              X