Hi,

you can obtain channel name this way: ${state.channel.name}.

Example:
[code][#assign channel = state.channel.name]
[#if channel = "smartphone"]
  <div>
  code here
  </div>
[/#if][/code]

HTH,
Jaroslav

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=97d3b415-265a-481a-a85f-5b169572dd9d


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to