Is it possible to load views from a another module

e.g

a module under /apps/frontend/modules/website

when detecting a different hostname e.g. user1.demain.com would
execute the same code path, but the templates would come from another
directory in e.g. /apps/users/modules/website

basically I would like 2 modules to share the same actions and php
code, but views could change significantly. This would permit me to
work with one set of PHP logic and multiple view files. Ideally I
could just override a configuration var so the front end developer
would not need any if/then statemement my app would already load those
views from predefined dirr.

Thank you for your help,

Radek.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to