Change Order of Blocks – ‘before’ and ‘after’ attributes

Posted on: July 5, 2017, by :

Use ‘before’ and ‘after’ block attributes to change the order of blocks. You can set the position of a block within a structural block by assigning the name of another block to either ‘before’ or ‘after’ attribute.

For example, if you’d like to put ‘Product Viewed’ box below ‘Cart’ box on the right menu, you can define the layout XML files as follows:

You can define block position at the very top or bottom by using before=”-” or after=”-”.


85 thoughts on “Change Order of Blocks – ‘before’ and ‘after’ attributes

  1. Pingback: gnc ed pills
  2. Pingback: pills for erection
  3. Pingback: top erection pills
  4. Pingback: canadian pharmacy
  5. Pingback: Buy cialis
  6. Pingback: levitra 20 mg
  7. Pingback: order levitra
  8. Pingback: online casino
  9. Pingback: online viagra
  10. Pingback: casino games
  11. Pingback: cialis 5 mg
  12. Pingback: loans online
  13. Pingback: cialis 5 mg
  14. Pingback: gambling line
  15. Pingback: cialis generic
  16. Pingback: Planet7
  17. Pingback: cialis 5 mg
  18. Pingback: cialis buy
  19. Pingback: cialis generic
  20. Pingback: real money casino
  21. Pingback: viagra from india
  22. Pingback: sildenafil 100mg
  23. Pingback: online cialis
  24. Pingback: viagra price
  25. Pingback: chumba casino
  26. Pingback: viagra pills
  27. Pingback: viagra
  28. Pingback: generic viagra
  29. Pingback: viagra sale
  30. Pingback: order cialis
  31. Pingback:
  32. Pingback: sildenafil
  33. Pingback: rx trust pharm
  34. Pingback: RxTrustPharm
  35. Pingback: cialis prices
  36. Pingback: buy viagra online
  37. Pingback: buy tadalafil
  38. Pingback: cheap viagra
  39. Pingback: casino game
  40. Pingback: generic viagra
  41. Pingback: cheap cialis
  42. Pingback: payday loans mn
  43. Pingback: cbd capsules
  44. Pingback: write my essays
  45. Pingback: buy college essays
  46. Pingback: geodon australia
  47. Pingback: prevacid generic
  48. Pingback: celecoxib pharmacy
  49. Pingback: loratadine canada
  50. Pingback: clindamycin price

Leave a Reply