ExpressionEngine

2.5.0 User Guide

Core Library Extension Hooks

core_template_route

Reassign the template group and template loaded for parsing.

$this->template = $this->EE->extensions->call('core_template_route', $this->EE->uri->uri_string);

$this->EE->uri->uri_string

The full uri string being loaded

returns:Array (string The name of the template group, string The name of the template)

User Contributed Notes

You must have an ExpressionEngine license and have attained a forum rank of "Lab Assistant" (100 posts) to contribute notes to the User Guide