Hi all

I have a questions for you. How can I change a Views query from template.php?

Thx

Comments

nevets’s picture

You can not change a views query from template.php. If you visit http://views.doc.logrus.com/, click on 'views hooks' there is are the hooks hook_views_query_substitutions () and hook_views_query_alter() which would be implemented as part of a module.