This forum is for assistance with theme development.

Custom Theme Not Working on New Install

I recently made a Drupal theme for my work's website and have finally got it to a solid state. I have been working with it on a local machine using WAMP. Yesterday I set up a fresh Drupal 7 install on a server so that my coworkers and boss can starting giving more input on the design and content of the website. We plan to build the official site on this VM, then directly replace the old website with it. It's set up as part of a multi-site install because that is how it will be utilized when it goes live.

Adding Custom SPAN Element to a VIEW

This involves JQuery/JavaScript and VIEWS plus Custom HTML Field (in views)

I found an effect that I want to use inside one of my Views for an image rollover. The effect is here:

http://mattbango.com/demos/hover-zoom/

In the JQuery Demo, the images have a span that holds the Text that is displayed upon rollerover:
Northern Saw-whet Owl Photo by Matt Bango

In Drupal, I need to add a custom span class to a VIEW so that I can have the text appear. So far, I have done this:

Drupal 7 log in form 'create new account' disappeared

Hi all

As the title says, the 'create new account' link on the log in form has disappeared. I have not been playing around with the log in form at all and I only just realised the 'create new account' link isn't there any more. I can't see any easy option to change this from the admin menu. I looked at blocks and tried configuring the user log in block, but there is no option to add or remove this link. Also the permissions for users to create a new account are fine. I can only assume it is some sort of bug from a recent module I have installed.

Cannot Clear Drupal 7 theme cache

Ok, I have a problem that is driving me crazy. I have probably spent about 10 of the last 24 hours trying to fix it.

Changes to my theme's html.tpl.php file are not recognised, and drupal seems to be using some old version of html.tpl.php which presumably it has cached somewhere in the database, which I have no idea where it is storing it or why it is using it.

I am not sure which database tables would be safe to delete to try to fix this?

Clearing the drupal cache does not update changes I have made to this file. Clearing the theme registry does not update changes.

content type .tpl file: menu.inc.php "searches" in wrong folder

Hi there,

After creating a new content type, called "multiple_fields", saved the two necessary files in the templates directory of my theme (page--multiple_fields.tpl.php, node--multiple_fields.tpl.php).

For some reason I get on various admin pages suddenly this error message:
Warning: include(menu.inc.php): failed to open stream: No such file or directory in include() (Line 28 in /var/www/mydomainname.net/sites/all/themes/whitetheme/page--multiple_fields.tpl.php).

Undefined index: #formatter in commons_origins_preprocess_field() (line 1101 of

Hi
I'm using display suite and I'm getting this error message.
The line high lighted in bold

I tried comment out the line but that didn't work

Many Thanks for your help

Notice: Undefined index: #formatter in commons_origins_preprocess_field() (line 1101 of /mysite/profiles/commons/themes/commons/commons_origins/template.php).

foreach ($links as $key => $link) {
if (!isset($link['#access']) || $link['#access'] !== FALSE) {
$class = array($key);

Pages

Subscribe with RSS Subscribe to RSS - Theme development