Specify which template from which module to include #35

Closed
arjan opened this Issue Sep 5, 2011 · 2 comments

Projects

None yet

3 participants

@arjan
Member
arjan commented Sep 5, 2011

From http://code.google.com/p/zotonic/issues/detail?id=29

Currently we have

{% all include name %} to include all templates with name "name" and {% include name %} to include the first "name" found

However, I might want to include just _html_body from mod_seo_google

Something like:

{% include "_html_body" seo_google %}

@arjan
Member
arjan commented Sep 5, 2011

Nice request. I think this is a good feature. How about it, Marc?

_Commented on Google Code by _scherpenisse**

@mmzeeman
Member

Yes, this would be really useful. +1 from overhere...

What I would also like is to be able to be able to exclude modules from injecting something with an all include... Something like this:

{% all include "_html_head.tpl" exclude=atom_feed %}

@mmzeeman mmzeeman closed this Sep 29, 2011
@mmzeeman mmzeeman reopened this Sep 29, 2011
@mworrell mworrell closed this Apr 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment