Announcement

Collapse
No announcement yet.

remove left navigation on CTGY pages?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    remove left navigation on CTGY pages?

    I may want to remove left cat tree on category pages and others on suivant theme. How would i do this as i cant figure how to do it.. can it just be commented out within code?... I have learned this theme don't like changes as going back in history wont change things back at times. So if i can just comment out to test that would be great.

    Thanks
    Last edited by Datagg; 11-10-15, 06:17 PM.
    Dan

    Girlfriends Lingerie - "Keeping It Sexy!"
    Sexy Lingerie - Twitter - Facebook- Pinterest - YouTube

    #2
    Re: remove left navigation on CTGY pages?

    I have not used your theme, but you should look for
    Code:
    <mvt:item name="category_tree" />
    from the Details tab of the CTGY page. You can always recall a previous version if you delete it.
    Doak Heggeness
    Web Developer | Certified Miva Merchant Developer

    Comment


      #3
      Re: remove left navigation on CTGY pages?

      In some cases, the mvt:item to display the cat tree is contained in the gloabl header or footer, not in the individual page templates. In the Suivant theme, the Item is in the global footer; and there's also a variable named g.screenCheck that determines which pages will include the cat tree.

      HTH --
      Kent Multer
      Magic Metal Productions
      http://TheMagicM.com
      * Web developer/designer
      * E-commerce and Miva
      * Author, The Official Miva Web Scripting Book -- available on-line:
      http://www.amazon.com/exec/obidos/IS...icmetalproducA

      Comment


        #4
        Re: remove left navigation on CTGY pages?

        Thanks guys that worked... now I need to pull the display where cat tree is removed to the left. Ultimately what i want to do is remove cat tree (done) and move display to the left and then add instead of a 3 product layout, to a 4 product layout.

        This site here is doing exactly what im wanting to do with layout.

        Code:
        guyharveyjewelry.com/women-jewelry.h t m l
        This new setup is so different than the old one. Any suggestions you may have sure would appreciate it. Thanks.
        Last edited by Datagg; 11-11-15, 10:59 AM.
        Dan

        Girlfriends Lingerie - "Keeping It Sexy!"
        Sexy Lingerie - Twitter - Facebook- Pinterest - YouTube

        Comment


          #5
          Re: remove left navigation on CTGY pages?

          Suivant uses the g.screenCheck variable. Probably found in your head tag. Just add CTGY to the list of page codes.

          Look for:
          <mvt:assign name="g.screenCheck" value="'ABAL,ACAD,ACED,AFAD,AFCL...

          It looks like you'll also need to edit the Body Tag.

          Find:
          Code:
          <mvt:if expr="l.settings:page:code EQ 'CTGY'">
              <body id="js-&mvte:page:code;" class="boxed <mvt:eval expr="tolower(l.settings:page:code)" /> &mvte:category:code;">
          <mvt:elseif expr="l.settings:page:code EQ 'PROD' OR l.settings:page:code EQ 'PATR'">
              <body id="js-&mvte:page:code;" class="boxed <mvt:eval expr="tolower(l.settings:page:code)" /> single-column &mvte:product:code;">
          <mvt:elseif expr="l.settings:page:code CIN g.screenCheck">
              <body id="js-&mvte:page:code;" class="boxed <mvt:eval expr="tolower(l.settings:page:code)" /> single-column">
          <mvt:else>
              <body id="js-&mvte:page:code;" class="boxed <mvt:eval expr="tolower(l.settings:page:code)" />">
          </mvt:if>


          Change to:

          Code:
          <mvt:if expr="l.settings:page:code EQ 'PROD' OR l.settings:page:code EQ 'PATR'">
              <body id="js-&mvte:page:code;" class="boxed <mvt:eval expr="tolower(l.settings:page:code)" /> single-column &mvte:product:code;">
          <mvt:elseif expr="l.settings:page:code CIN g.screenCheck">
              <body id="js-&mvte:page:code;" class="boxed <mvt:eval expr="tolower(l.settings:page:code)" /> single-column">
          <mvt:else>
              <body id="js-&mvte:page:code;" class="boxed <mvt:eval expr="tolower(l.settings:page:code)" />">
          </mvt:if>

          Last edited by Ron Frigon; 11-11-15, 11:15 AM.
          Ron Frigon
          Jedi Webmaster Obi-Ron Kenobi

          Comment


            #6
            Re: remove left navigation on CTGY pages?

            In hind sight...

            It make more sense to just add the single column class to the CTGY body tag:

            Code:
            <mvt:if expr="l.settings:page:code EQ 'CTGY'">
            <body id="js-&mvte:page:code;" class="boxed <mvt:eval expr="tolower(l.settings:page:code)" /> single-column &mvte:category:code;">
            Ron Frigon
            Jedi Webmaster Obi-Ron Kenobi

            Comment


              #7
              Re: remove left navigation on CTGY pages?

              Hi Ron.. Thanks adding page codes to this <mvt:assign name="g.screenCheck" value="'ABAL,ACAD,ACED,AFAD,AFCL
              worked as tree isn't showing now on those.. The rest of the code changes you showed i cant seem to find. I looked at CTGY page and header/footer etc... couldn't locate. How would i now get the display to shift to the left like the above site does with the now vacated catree?... Also, ill need to also add another image to the display from 3 per line to 4, how would I achieve that?.. The site above shows exactly my intentions.

              Thanks
              Last edited by Datagg; 11-11-15, 02:00 PM.
              Dan

              Girlfriends Lingerie - "Keeping It Sexy!"
              Sexy Lingerie - Twitter - Facebook- Pinterest - YouTube

              Comment


                #8
                Re: remove left navigation on CTGY pages?

                Go to User Interface > Body Tag Content. It may be hidden under the 3 ellipses for "More" to the right of all the tabs.

                Once you make the change from above to add "single-column" to the body tag the CTGY page will probably fill in to 4 products per row. This will remove the empty space where the category tree was.
                Ron Frigon
                Jedi Webmaster Obi-Ron Kenobi

                Comment


                  #9
                  Re: remove left navigation on CTGY pages?

                  Hi Ron.. Looking at the body tag under interface all it has in it is
                  <mvt:if expr="g.Screen EQ 'PROD'">
                  <body bgcolor="#ffffff" onload="javascript:isDiscontinued();">
                  <mvt:else>
                  <body bgcolor="#ffffff">
                  </mvt:if>

                  Which is probably stuff that carried over from live site and not even needed any longer i suppose. I hope im looking at the right place, yet if that area is as mentioned there s nothing there other than the above. Sorry, im really green to this new setup.
                  Dan

                  Girlfriends Lingerie - "Keeping It Sexy!"
                  Sexy Lingerie - Twitter - Facebook- Pinterest - YouTube

                  Comment


                    #10
                    Re: remove left navigation on CTGY pages?

                    There have been issues with the body tag content not getting applied with a new framework. It is from the older version of the site.

                    Replace it all with:

                    Code:
                    <mvt:if expr="l.settings:page:code EQ 'CTGY'">
                    	<body id="js-&mvte:page:code;" class="boxed <mvt:eval expr="tolower(l.settings:page:code)" /> single-column &mvte:category:code;">
                    <mvt:elseif expr="l.settings:page:code EQ 'PROD' OR l.settings:page:code EQ 'PATR'">
                    	<body id="js-&mvte:page:code;" class="boxed <mvt:eval expr="tolower(l.settings:page:code)" /> single-column &mvte:product:code;">
                    <mvt:elseif expr="l.settings:page:code CIN g.screenCheck">
                    	<body id="js-&mvte:page:code;" class="boxed <mvt:eval expr="tolower(l.settings:page:code)" /> single-column">
                    <mvt:else>
                    	<body id="js-&mvte:page:code;" class="boxed <mvt:eval expr="tolower(l.settings:page:code)" />">
                    </mvt:if>
                    This includes the single-column class for your CTGY page.

                    If it breaks just revert via your version history, but this should fix your problem.
                    Ron Frigon
                    Jedi Webmaster Obi-Ron Kenobi

                    Comment


                      #11
                      Re: remove left navigation on CTGY pages?

                      Hi Ron. Ok placed above code in there.... Still the same. Display there yet located as if next to the vacant cattree. Also still 3 images per line.
                      Dan

                      Girlfriends Lingerie - "Keeping It Sexy!"
                      Sexy Lingerie - Twitter - Facebook- Pinterest - YouTube

                      Comment


                        #12
                        Re: remove left navigation on CTGY pages?

                        Can you post a link? PM me if you like.
                        Ron Frigon
                        Jedi Webmaster Obi-Ron Kenobi

                        Comment


                          #13
                          Re: remove left navigation on CTGY pages?

                          Ill fire ya a PM Ron.. thanks
                          Dan

                          Girlfriends Lingerie - "Keeping It Sexy!"
                          Sexy Lingerie - Twitter - Facebook- Pinterest - YouTube

                          Comment


                            #14
                            Re: remove left navigation on CTGY pages?

                            Just want to say thanks to Ron again for all the help. We got it all sorted out. You rock Ron!!
                            Dan

                            Girlfriends Lingerie - "Keeping It Sexy!"
                            Sexy Lingerie - Twitter - Facebook- Pinterest - YouTube

                            Comment


                              #15
                              Re: remove left navigation on CTGY pages?

                              You're most welcome Dan. Glad I was able to help.

                              Cheers!

                              Ron
                              Ron Frigon
                              Jedi Webmaster Obi-Ron Kenobi

                              Comment

                              Working...
                              X