Announcement

Collapse
No announcement yet.

creating a list by product group different odd or even?

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

    #16
    Right click on an existing product list layout, and select copy, rename it and then do what you want to it. It will work independently of all the others and be selectable from the drop down list of choices also.

    Comment


      #17
      I'd then set that new list layout to do the alternate rows and first get that working fine, then finally limit the list via block if which checks the product group. That should then give you a custom list of products on alternate styling where the group is equal to one. You could even make the group number a variable so you had a dynamic group list, that could be used anywhere.

      Comment


        #18
        hi Lee
        Thanks...
        however

        i had already tried this method without success (albeit i setup a new layout type, then selected that it should use list type "product list" then added my new layout in this new type).

        Becuase of this i orginally dismissed your suggestion as something I had already tried - it makes sense though.

        however becuase for some reason the new layout i had created didn't show the icon for list layout (just standard layout icon (pink box)) despite behaving as a list, I thought I'd try again but just create the list in the product list layout type. Same result though.


        If you can assume I ave my layout in the right layout type is there any reason why you think the below wouldn't work:
        (p.s i should point out that the layout is pulled into the main template and not the inner layout).

        Inside my list layout I have the following:
        Click here to edit list layout settings<actinic:block if="%3cactinic%3avariable%20name%3d%22GroupID%22%20%2f%3e%20%3d%3d%201" ><actinic:variable name="HomePageFeaturedProducts" />
        </actinic:block>
        my list layout settings have normal rows columns clear and have the correct markup in the odd/even rows.

        "HomePageFeaturedProducts" contains the markup for each product I want to fit into the list.

        Any thoughts?
        Boxhedge New Media Design
        Design and development solutions for SME's.
        Tel: 0118 966 2786
        Examples of work can be found at http://www.boxhedge.com

        Comment


          #19
          I'm either missing something you are trying to do, or you are over engineering things from what I can tell. As I understand, you want a section that only shows products that belong to a certain group and when showing those products you want alternate styles per row.

          If that is what you are after, all i would do to achieve that is duplicate a list layout, then adjust that list layout to do the alternate styling and then put a blockif around the product layout selector that limits it to only showing products that meet the group number that you have set. That is all i'd have to do IME, which leaves me thinking i'm missing the point here.

          Comment


            #20
            Nooo! Not a section, i want to create a list to appear on the homepage outside of the inner layout
            Boxhedge New Media Design
            Design and development solutions for SME's.
            Tel: 0118 966 2786
            Examples of work can be found at http://www.boxhedge.com

            Comment


              #21
              Ah ok, I've not done that before, so nothing concrete to add. I suspect you will have to run your own block on the product list and create your own code to do what the list layout would have done for you. I suspect the list layout option is dead in the water, even more so if outside of the inner layout, although why you need to go outisde of that i'm not sure, i'd have thought adding something to the bottom of brochure page bulk is a better idea.

              Comment


                #22
                hi All,
                thanks for the help, non the wiser how to achieve the original aim but I have manged to achieve what i needed with a little rethink about the css and the html i used to produce the group.

                thanks again.

                ahhh! relax, time for a cuppa. Happy customer,

                regards
                lee
                Boxhedge New Media Design
                Design and development solutions for SME's.
                Tel: 0118 966 2786
                Examples of work can be found at http://www.boxhedge.com

                Comment


                  #23
                  I have used the solution proposed by Lee and it does work as intended. I set a <div> class in the odd/even tabs.. this effectively wraps the layout.. the class for each odd/even is styled accordingly and so long as the layout <div> does not have a background-color declared the wrapping css shines through.

                  This was a normal layout within the INNERLAYOUT ... this can be dragged outside of the INNERLAYOUT proper via position:absolute ... a dirty hack but it works.


                  Bikster
                  SellerDeck Designs and Responsive Themes

                  Comment


                    #24
                    Thanks jont worth noting for the future, obviously the key is keeping it in the inner layout which I didn't but thanks to a bit of quick thinking I have what i want albeit not using an odd or even method but better css.

                    Cheers
                    lee
                    Boxhedge New Media Design
                    Design and development solutions for SME's.
                    Tel: 0118 966 2786
                    Examples of work can be found at http://www.boxhedge.com

                    Comment

                    Working...
                    X