This forum is for assistance with theme development.

D8: Implementing hook_library_info() to include jquery in a Bartik subtheme

I have a subtheme of Bartik for which I need to add some jquery. I can successfully include my theme's js file by implementing hook_library_info(), but specifying dependencies therein does not load the dependent files.

If I am logged in and running toolbar module, my jquery runs fine because jquery is included (by toolbar or something else). If I log out, jquery is not loaded as a dependency.

Are there any known problems with hook_library_info() dependencies in subthemes?

page-contenttype.php How Do it?

I need to work a special page for the type of content
Example: page - (contenttype).tpl.php

But I can not find a suitable solution
All solutions used to give me a blank page

The amendment was to file template.php

I am using zen Theme

Thank you

Unable To Access My Site

Please i'm having issue with accessing my site due to the theme i'm using as my front end theme.
The issue is that my site is just blank as if nothing is there(using firefox other browsers gave the message that the site may be temporarily unavailable).
The problem showed when I enabled all my needed modules for my site to function well.

Acces Denied - Can't add to Cart

Hi there,

I'm crossbrowser checking my website and for some reason there are two problems that I think have the same cause. Both problems are only on Windows 8 - IE10. These problems don't show up on any other browser.

1. I can't logging as user 1. I get an access denied message.
2. I'm using Ubercart and I can't add products to my cart.

Both problems are found very often when you search for them but none of the solutions worked. Does someone have a solution or a way to find out what the problem could be?

Thanks!!!

Different layout for main page

Hello

I'm hoping someone can help. I have a website that I'm looking to convert to use with Drupal. After looking through the helps sections for making a theme, I haven't been able to find how to make a theme where the main page is different from the rest of the pages.

My main page has a rotating image at the top, which comes from blog posts and has the title of the post on top of the image.

Below that, I have have three columns, one a welcome message, the middle for further blog posts and the third showing member profiles. Then below that I have the footer.

Does Zen theme is appropriate for theming with Panels & Panels Everywhere?

I am building my site and really liked the panels modules and of course the panels everywhere and the mini panels modules. I understood they also making the site much faster.

I thought on using the zen theme (sun-theme) for my site. But I think that with these 3 modules, I need to create new class & ID for the panes, so maybe I don't need to use ZEN, since it has many of CSS that I will not use (and maybe will make my site slower?)

Pages

Subscribe with RSS Subscribe to RSS - Theme development