Announcement

Collapse
No announcement yet.

Category Tree Template Code

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

    Category Tree Template Code

    Hello

    Does anybody have any stock template code I can use for the built in category tree templage in wombat. When you go from default to Template mode the system does not create any template code.
    Miva support is working on this but im wondering if anybody has any code that I can use in the meantime.

    Thank You

    #2
    Re: Category Tree Template Code

    Are you using MMUI or the CSSUI?

    I am not sure if there is anyone with "stock" code because if they add certain modules, the template code MIGHT be updated automatically, depending on the type of module they install.
    Mark Romero
    ~~~~~~~~

    Comment


      #3
      Re: Category Tree Template Code

      I am using MMUI. It is a new store.

      Comment


        #4
        Re: Category Tree Template Code

        This is the stock code for a MMUI store.

        Code:
        <mvt:if expr="l.settings:cattree:stack EQ 0">
        <mvt:item name="category_tree" param="cattree_header" />
        </mvt:if>
        <mvt:if expr="l.settings:nextcount GT 0">
        <table border=0 cellpadding="0" cellspacing="0">
        <tr>
        <mvt:if expr="l.settings:cattree:stack GT 0">
        <td width="1%"><img src="graphics/en-US/admin/blank.gif" height="1" width="8" border=0></td>
        </mvt:if>
        <td nowrap>
        <mvt:item name="category_tree" param="nextlevel">
        <mvt:foreach iterator="cattree_category" array="categories">
        <font face="Arial, Helvetica" size="-2">
        <mvt:if expr="l.settings:cattree_category:code EQ g.Category_code">
        <mvt:if expr="NOT l.settings:cattree_category:image">
        <b>&mvt:cattree_category:name;</b>
        <mvt:else>
        <img src="&mvte:cattree_category:image;" alt="&mvte:cattree_category:name;" border=0>
        </mvt:if>
        <mvt:else>
        <mvt:if expr="l.settings:cattree_category:image">
        <a href="&mvt:global:sessionurl;Screen=CTGY&Store_Code=&mvta:store:code;&Category_Code=&mvta:cattree_category:code;"><img src="&mvte:cattree_category:image;" alt="&mvte:cattree_category:name;" border=0></a>
        <mvt:else>
        <a href="&mvt:global:sessionurl;Screen=CTGY&Store_Code=&mvta:store:code;&Category_Code=&mvta:cattree_category:code;">&mvt:cattree_category:name;</a>
        </mvt:if>
        </mvt:if>
        </font>
        <br>
        <mvt:if expr="l.settings:cattree_category:id EQ l.settings:cattreenext">
        <mvt:item name="category_tree"/>
        </mvt:if>
        </mvt:foreach>
        </mvt:item>
        </td></tr>
        </table>
        </mvt:if>
        <mvt:if expr="l.settings:cattree:stack EQ 0">
        <mvt:item name="category_tree" param="cattree_footer" />
        </mvt:if>

        Comment


          #5
          Re: Category Tree Template Code

          the "stock" code for all templates is available from the Versions drop down...it can't be deleted.
          Bruce Golub
          Phosphor Media - "Your Success is our Business"

          Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
          phosphormedia.com

          Comment


            #6
            Re: Category Tree Template Code

            ...it can't be deleted...
            Oh, trust me; it CAN be deleted if you try hard enough ;)
            Mark Romero
            ~~~~~~~~

            Comment


              #7
              Re: Category Tree Template Code

              Thanks for the code. Works Great! This bug is supposed to be fixed witha streaming update soon!

              Comment

              Working...
              X