Announcement

Collapse
No announcement yet.

Formatting a List of Items

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

    Formatting a List of Items

    I need to automatically format a large number of lists of items (features, included items...).

    I have looked at the List Layout mechanism and it seems that this would suit well. I need to know the best way of storing the list items so that they can have the List Layout applied to them.

    I am looking for advise please.

    John
    John Legg
    The Debug Store

    sigpic
    http://www.TheDebugStore.com

    #2
    AFAIK the List Layout capability only allows you to create lists for specific purposes. There's no mechanism to create your own type of list.

    If you have a number of Variables (like Features, IncludedItems, etc) then you could use blockif's to do this. E.g. (pseudo code)
    Code:
    BlockIf Features != "" OR IncludedItems != "" OR Etc != ""
      <ul>
    /BlockIf
    
    BlockIf Features != ""
      <li>Features</li>
    /BlockIf
    
    BlockIf IncludedItems != ""
      <li>IncludedItems</li>
    /BlockIf
    
    .
    .
    .
    
    BlockIf Features != "" OR IncludedItems != "" OR Etc != ""
      </ul>
    /BlockIf
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Hmm. Thanks Norman I suspected this was the case.

      I understand your suggestion. I use this already for my current Features list by having a set of 15 bullet point custom variables. I am concerned about performance issues relating to the page preview update rate as I have many custom variables now. Maybe I am going to have to live with it.

      John
      John Legg
      The Debug Store

      sigpic
      http://www.TheDebugStore.com

      Comment

      Working...
      X