Announcement

Collapse
No announcement yet.

Hidden class styles ?

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

    Hidden class styles ?

    I found these classes in the cat tree code.

    class="cat"

    class="cat1"

    Where do they come from ?
    What css values do they have ?

    I see that
    Code:
    class="&mvt:tree:class;
    calls them into the template, but.....
    There is no <head> area ref to these and they are not in my external style sheet.
    Confused; is this normal or a bug ?

    Code:
    <a href="/page/CPO/CTGY/mbr" class="cat1">Recycled Mulberries</a><br>
    &nbsp;&nbsp;<a href="/page/CPO/CTGY/mfl" class="cat1">Mulberry Florals</a><br>
    <a href="/page/CPO/CTGY/lok" class="cat"><img src="graphics/00000001/test.jpg" border="0" alt="Lokta Paper"></a><br>
    <a href="/page/CPO/CTGY/slk" class="cat">Silk Paper</a><br>
    Thanks,
    -Barrett
    Favorite Host Hostasaurus.com
    Order Processing by Shipworks.com
    Kindly Suggesting to:
    *Dump Explorer and http://GetFireFox.com
    *Post a meaningful subject line.
    *Click the # button before pasting code

    #2
    Re: Hidden class styles ?

    Are you sure you aren't looking at a 3rd party category tree module?

    I don't see any class definitions in the category tree template.
    Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
    Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
    Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
    Facebook http://www.facebook.com/EmporiumPlus
    Twitter http://twitter.com/emporiumplus

    Comment


      #3
      Re: Hidden class styles ?

      Yes it is the Sebenza cat tree, but he has said he doesn't have any proprietary or special code in his templates in general....????
      Thanks,
      -Barrett
      Favorite Host Hostasaurus.com
      Order Processing by Shipworks.com
      Kindly Suggesting to:
      *Dump Explorer and http://GetFireFox.com
      *Post a meaningful subject line.
      *Click the # button before pasting code

      Comment


        #4
        Re: Hidden class styles ?

        That is not proprietary code. That is a class declaration. It is probably up to you to create the actual text for those classes. The other current category tree modules do not have the class in the tree's tags for the default frameword in 5.5.
        Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
        Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
        Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
        Facebook http://www.facebook.com/EmporiumPlus
        Twitter http://twitter.com/emporiumplus

        Comment


          #5
          Re: Hidden class styles ?

          but but it gets generated from

          Code:
          class="&mvt:tree:class;
          so the above "item" (using that term loosely) is standard SMT code and it magically generates and names classes cat and cat1 for my convenience ?
          Thanks,
          -Barrett
          Favorite Host Hostasaurus.com
          Order Processing by Shipworks.com
          Kindly Suggesting to:
          *Dump Explorer and http://GetFireFox.com
          *Post a meaningful subject line.
          *Click the # button before pasting code

          Comment


            #6
            Re: Hidden class styles ?

            Yes, I think he made it that way to make it easy for you to build the various classes needed so you would not have to go through the template code and plug in class names. All you need to do is write the specifics for each class shown in the template code. You might even check with them to see if they have example css for those classes.
            Last edited by wcw; 06-06-08, 07:36 AM.
            Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
            Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
            Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
            Facebook http://www.facebook.com/EmporiumPlus
            Twitter http://twitter.com/emporiumplus

            Comment


              #7
              Re: Hidden class styles ?

              Yeh that is what I got to thinking earlier and now to my disappointment ;) it is actually covered in his docs under
              Available Array Variables.... just doesn't jump out at you.
              Thanks,
              -Barrett
              Favorite Host Hostasaurus.com
              Order Processing by Shipworks.com
              Kindly Suggesting to:
              *Dump Explorer and http://GetFireFox.com
              *Post a meaningful subject line.
              *Click the # button before pasting code

              Comment

              Working...
              X