This forum is for assistance with theme development.

Dozens of errors reported from my sub-theme. Please help!

I have created a sub-theme of Zurb-Foundation and the front-end displays very well. In fact, I didn't realize I had a problem until I looked at the site reports. I originally thought the issue was a Drupal core problem because the errors point to type: php, and the messages point to core elements.
I get dozens of these errors when I refresh a browser page:

Notice: Array to string conversion in Drupal\Core\Asset\AssetResolver->getLibrariesToLoad() (line 110 of /Users/brett/vhosts/ddclab/core/lib/Drupal/Core/Asset/AssetResolver.php).

How to replace the search submit button with a Font Awesome character?

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.

How can I achieve this?
http://i.imgur.com/qyhILDw.png

New theme installation issues

Hi, all, thanks in advance for your help.

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';
}

Suggest Themes for a web hosting site

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.

How to get taxonomy term in node--page.html.twig

I added few taxonomy terms to my page content type and now I would like to get them to template.

The idea is that following code would add a color name to css class.

<div class="lead-paragraph-box {{ content.field_color_of_the_box[0]|striptags }} ">

Pages

Subscribe with RSS Subscribe to RSS - Theme development