Forum Discussion

sunny_mody's avatar
sunny_mody
Advisor
11 years ago

Which Format for displaying posts is enabled?

Hi,   Is there a way to get which setting is enabled by user to display post Linear format List by Topics   I would like to know some context object using which I can get which setting is ena...
  • sunny_mody's avatar
    sunny_mody
    11 years ago
    Thanks for the reply jchen

    Somehow I managed to find the way to get the setting using Lithium custom objects

    ${settings.name.get("layout.view")}

    This would give you whether your selected layout is "threaded" or "linear"