Submitted by kishore on Mon, 06/11/2012 - 11:52am
I am working drupal 7 bartik theme
My steps are
1.I have added below code in the theme template file like
function bartik_preprocess_page(&$vars) {
if (isset($vars['node']->type)) {
$vars['theme_hook_suggestions'][] = 'page__' . $vars['node']->type;
}
}
2.I have created a content type named as lawngarden (Machine name: lawn)
3.I have created a page template (page--lawn.tpl.php) under templates folder
4.I have clear the cache
5.Enter the browser url like http://localhost/appl/?q=lawn
6.The page shows like
The requested page "/appl/?q=lawn" could not be found.
7.please help me
8.Thanks for advance
