You'd need 2 fragment list layouts and set within those list layouts that the top is to only show the top fragment, bottom one is to only show the last one (using the listindex variable). So you overall layout for the page would be as so:
- fragment list one with top fragment
- marketing list
- fragment list two with bottom fragment
Ok, halfway there (still quite new to this!) what do I need to put into the new fragment layout code for the one that needs to appear at the bottom? Thankyou!
I'd use listindex != 1 in bottom one. This way the code will work regardless of the number of Fragments. Top Fragment appears, then the Featured Products, then all other Fragments.
An idiot - i expect not, it's a reasonably advanced thing to do. My guess would be that you have not created a copy of the list layout and therefore have two separate ones, i reckon you might have 2 copies of the same thing added to the layout instead. Perhaps show us what you have done?
Comment