Hi guys, is it possible to have nested folders in page_layouts folder to separate different sites?
If not, how do you normally organize your templates for multiple sites?
page_layouts (folder)
page_layouts.yml
name: 'site1/index'
elements [article]
>Thomas mentioned
>There is a not very well documented (sorry!) feature called sites.yml
. This offers exactly what you described.
Sorry but I cannot find any note about sites.yml it in the source code.
--
You received this message because you are subscribed to the Google Groups "Alchemy CMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alchemy-cms...@googlegroups.com.
To post to this group, send email to alche...@googlegroups.com.
Visit this group at https://groups.google.com/group/alchemy-cms.
To view this discussion on the web visit https://groups.google.com/d/msgid/alchemy-cms/0485a978-35be-4ca9-bb51-8991674029ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
def set_paths
host = current_alchemy_site.host
prepend_view_path(File.join(Rails.root, "themes/#{host}/views"))
end
--
You received this message because you are subscribed to a topic in the Google Groups "Alchemy CMS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/alchemy-cms/Q8ZJLWrLoLA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to alchemy-cms...@googlegroups.com.
To post to this group, send email to alche...@googlegroups.com.
Visit this group at https://groups.google.com/group/alchemy-cms.
To view this discussion on the web visit https://groups.google.com/d/msgid/alchemy-cms/7BFA8C32-C1EC-4467-B02D-0413E886C23B%40magiclabs.de.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/alchemy-cms/CAGvaTHkn4HdyF%2B3Tcpxact5K0w4m49R0WCL%3DUB8wQu6h%3D7gmRQ%40mail.gmail.com.