sunny_mody
11 years agoAdvisor
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 enabled in users
My Setting -> Preferences -> Display page
Thanks,
Sunny
- 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"