I have a list of pages with url
?q=value/abc/1 ?q=value/abc/2 ?q=value/abc/3 ?q=value/abc/4
for which i require a specific template.I have written a template_preprocess_page
function,but it does not call the required tpl
file.But if i set the test variable as $test = array("value/abc/1");
the template file is being used.Could someone tell me what i am doing wrong..??
function template_preprocess_page(&$var){ $test = array("value/abc/%"); if(in_array($_GET['q'], $test)){ $var['template_file'] = 'testing'; } }