I would like to replace the search submit button with a Font Awesome character like the Magnifier (Search Icon) character, and put Search the site inside the search box.
I'm trying to install a new theme on a fresh drupal 7 installation but I have a little issue right from the get-go. I can't even get the template started. It shows me:
Fatal error: Call to undefined function views_get_page_view() in /Applications/XAMPP/xamppfiles/htdocs/Didiweb/sites/all/themes/shachico/template.php on line 35
and line 35 that is in question shows as follows:
//View template
if (views_get_page_view()) {
$vars['theme_hook_suggestions'][] = 'page__view';
}
Please have a look on my web hosting site: http://www.ehdf.com & suggest some cool related themes for it, also give a brief guide on how I can install it. Please note, the site has not migrated yet on Drupal.
I've been working with views to cut down on the query size. I think I have done all I can do without compromising functionality. The new homepage for my blog is very views heavy and as a result tends to be a bit slow due to the database calls its making.
So, with that said. I've read exporting the views to code will help on the performance end of things. How would I build the homepage comprised of several separate views (7 or 8). Would I use the "views_embed_view function" to call them from the page--front.tpl file or is there a better way?