This tag is for questions about themes hosted on Drupal.org. Don't use it to generally mean "this question is about a theme," when the question is about a theme's code, or when the question is already using a specific tag, such as "theming," "theme-template," or a tag specific for the used theme, ...

learn more… | top users | synonyms (1)

0
votes
1answer
24 views

My new theme doesn't show the slogan

My site has a nice slogan that was shown with the previous theme. Now, after installing the new theme "Nexus" (Live demo here), the slogan appears no longer. What should be done to make it appear ...
0
votes
1answer
11 views

Drupal 7 Bartik Menu tabs changed to vertical list - how to reset back to tabs?

I have been working on a Drupal 7 install with the Bartik theme. Today, the main menu tabs changed to a vertical list on the left side of the page. I do not know how to reset this. I checked the ...
0
votes
1answer
14 views

Is it possible to add a wildcard in template.php to apply function to multiple items

I have a webform with 20 different select options under different fieldsets and they all need to have a custom drop down select field title. To achieve that you use this: function ...
0
votes
1answer
13 views

Is There a Generic Theme Duplication Module or Drush Command

As I understand there are Drush commands for Adaptive Theme, Omega, Zen and maybe other themes for creating subthemes, but is there a more generic module/way to create/duplicate a theme? It would be ...
0
votes
0answers
9 views

Trying to embed Nestio into Drupal website and not rendering

Am working with two different themes on Drupal and Real Estate Software Nestio which is a service that provides property information about available properties. Got it installed successfully on this ...
0
votes
1answer
12 views

how to remove element from node__product__type.tpl.php commerce kickstart

In my website with commerce kickstart, I would like to remove div with its class name "field_label" in node__product__type.tpl.php. I have no idea of how to code to remove it. Any suggestion is ...
0
votes
2answers
12 views

Is there any way to know which theme hook or template is being used to output certain area of a page

Is there any way to know which theme hook or template is being used to output certain area of page? I am showing different menus on a page and i want to know which theme hook is being used to output ...
-2
votes
0answers
30 views

how to remove element from theme

In my project, I use drupal commerce kickstart. There is something made me a little bit confuse when working with theme. In the upload image, you can see red round rectangle, I want to hide or remove ...
0
votes
0answers
12 views

Omega Theme error

I made 5 years ago one website with Drupal. And now there is this Notice: Undefined variable: _POST funktiossa include_once() (rivi 1 tiedostossa ...
0
votes
2answers
25 views

Using own Bootstrap 3 files in Bootstrap Drupal 7 theme

I'm very new to Drupal 7 in general, so please bear with me. I would like to know how I can host my own Bootstrap 3 files (js, css) in the Drupal 7 Bootstrap 3 theme. I know I can deactivate CDN ...
0
votes
0answers
11 views

How can I output specific menu links from a single create menu

The goal im trying to achieve is to have a single created menu work with a header that has a left hand side menu, a logo in the center and the right hand side nav with the remaining links. I have this ...
0
votes
0answers
16 views

How to switch theme using custom URL parameter [duplicate]

Is there a way to make drupal switch to a certain theme by adding the URL parameter ?m=1 as www.example.com/?m=1
0
votes
1answer
19 views

How to theme a preprocess function output with a default, without the need of a .tpl file?

I created this simple function in order to print out the commerce order author UID and email. How may I add the output of the function inside the messages area, without creating a special .tpl? I ...
0
votes
1answer
28 views

How to add to the commerce order the author's email? Cannot theme nor add anything to it!

I have this order at /admin/commerce/orders/oid/view By default, the order won't display the user's email nor username, so I wanted to know how to access them and printed them out. I created a tpl ...
0
votes
0answers
14 views

Drupal commerce: How to print all order variables available inside the template?

I'm struggling to understand how to print out all order information at the order view link, including the order author. I mean printing it out at /admin/commerce/orders/XXX/view I've manage to get ...
0
votes
0answers
19 views

How to set up a header block

I am trying to create a header block that I can use for multiple page.tpl.php files so I created a new block, set it to be displayed in the header region and copied the HTML from my non-drupal version ...
1
vote
0answers
36 views

jQuery imageScroll not functioning properly with Drupal 7

I got the following error message on my Chrome browser when adding jQuery Plugin - Parallax ImageScroll in page--node--xx.tpl.php. The error is the "jquery.imageScroll.js" file not functioning ...
0
votes
1answer
19 views

How to register a theme function from the theme

I want to introduce a custom theme function in my theme. Typically, I would register a theme in hook_theme() in a module, but I want to define this function from my theme (Omega 4). In whatever ...
0
votes
1answer
15 views

Add node ID to template variables

is there any way to add node ID (if it exists) to template variables using my_theme_preprocess_page(&vars) function? It looks like theme theme isn't using my_theme_preprocess_node(&$vars, ...
0
votes
0answers
26 views

Unexpected class btn-primary added in bootstrap when class glyphicon-search appear

I building website with Drupal and use Bootstrap as my base theme. When I theming the button of search form, if the #value of button is "search", then the bootstrap theme will automatically add the ...
0
votes
1answer
28 views

how to find image style url from themed image

I've a code which theme & print the original image to specific image style. print theme('image_style', array('path' => $node->field_theme_image[$node->language][0]['uri'], 'style_name' ...
0
votes
0answers
18 views

How to specify a separate theme for one specific panel page

Is there a way in Panels 3 (or an add-on that integrates into the Panels UI) that lets you specify a different sub-theme to use on a given panel page? I've looked through the UI for both the regular ...
0
votes
2answers
25 views

Adding JS to a form within Omega 4 theme

I need to add some JavaScript to forms within my Omega 4 theme. My code right now is: function mytheme_preprocess_form(&$vars) { $vars['element']['#attached']['js'][] = 'path/to/myjs'; } ...
0
votes
1answer
26 views

Calendar module - view style

So there is this file calendar-month.tpl.php. http://drupalcontrib.org/api/drupal/contributions!calendar!theme!calendar-month.tpl.php/7 It contains code which generates month view. I need to style ...
0
votes
1answer
38 views

Using Drupal Bootstrap, I want the 'title' of my parent menu item to be a glyphicon and to drop to the search bar!

I am having 2 issues with Drupal Bootstrap, I have no idea how to set a leaf specifically in the menu to not only be a glyph of a search icon, but also how to add the search block to the dropdown. I ...
0
votes
0answers
12 views

D7 version of theme not working as in D6

I am using the Sky theme in D6 and after upgrade (without any data, just a cck migrate of fields and D7 equivalent modules), I was expecting the SKy theme in D7 to be about the same as it looks in D6, ...
0
votes
1answer
53 views

Drupal block overriding with template file does not work

The Drupal verion I'm using is v7.34. I'm using sub-theme created from Bootstrap as base theme. My problem is, I want to override the "User Login Block" and put it in the header region (top bar), so I ...
1
vote
1answer
25 views

Clear example on how to use #theme for form API

I cannot find a good example of how to accomplish custom theming on a field level within a form: $form['test_2'] = array( '#type' => 'textfield', '#title' => t('Test Field #2'), ...
0
votes
0answers
37 views

Is there a way to retrieve DRUPAL TWIG template's with core drupal 8 javascript functions like twig.js?

Is there a way to get precompiled twig templates from drupal 8 ? Example : Drupal.getTemplate('my-template.twig')(data); Thanks.
1
vote
1answer
25 views

Trying to get property of non-obJect Custom Module

Notice: Trying to get property of non-object in speakerdetailblock_preprocess_block() (line 42 I'm getting errors across the board, mainly in the common.inc file - EntityMalformedException: Missing ...
0
votes
1answer
15 views

how to display a gallery of custom themes

I would like to set up a gallery of all my themes and when the user clicks on the item it would go to a pre-setup Drupal instance and it would set that instance with the theme they clicked so they can ...
0
votes
1answer
49 views

page--front.tpl.php not working [duplicate]

I have omega 4 installed as my sub-theme, in which i have a custom layout. Now i am trying to make my home page custom, for which i have defined page--front.tpl.php in my templates/system folder, but ...
1
vote
1answer
25 views

D7 - Syntax of js custom file added directly to theme

Alright, so I've read the documentation of JS framework in Drupal and there is a simple example how the syntax of JS file should look: Drupal.behaviors.myModuleBehavior = { attach: function ...
1
vote
0answers
32 views

What to bear in mind when doing minor update of omega base-theme

Recently the minor update of Omega-Theme, version 4.3, has been released. Since i have an omega subtheme based on version 4.2, i would like to know, how i can do the update to version 4.3. Is it ...
0
votes
1answer
25 views

Why my theme suddenly gone blue after an update?

After updating the Bartik 960 template on Drupal the homepage highlight each of the blocks on the page in blue. It looks like it's gone into a debugging mode, but I'm not sure how to fix it.
0
votes
1answer
70 views

Omega theme responsive grid two break point

I want to make responsive grid with Omega 3 theme. Grids will be 4 columns in large. 2 columns in normal width. 1 column in narrow devices. Is there a way with omega 3 with css classes?
0
votes
0answers
14 views

Non-functional themes

I encounter a strange problem lately. I installed the latest Zen theme on a drupal 7.32 and apparently, css files don't load. I saw on the download page that there might be some problems with the ...
0
votes
1answer
46 views

Show result summary in theme table

Can we show the result summary like "Displaying X to Y of Z records" while using the "table" or "tableselect" themes? I mean just the thing we do in views header/footer using the "Global: Result ...
0
votes
0answers
59 views

Better Exposed Filters module, checkbox/radio button text display as bold label?

I have a exposed filter block display as checkbox/radio button, but all the text showing in "bold". I then check the css, it showing all the checkbox/button text are in the "label" , I just copy/paste ...
0
votes
1answer
34 views

user pictures not showing up in posts & comments

I am using a custom theme and it is not showing user pics in comments. When I compared 'Appearance > Settings > Toggle display settings' of my theme with Bartik, if found that "User pictures in ...
0
votes
1answer
58 views

How to hide header and footer from 404 page?

I create a 404 page on D7 site ( ie. mysite.com/404), which is a Basic Page. I am trying to hide the header and footer from this page. The header and footer are blocks, and they are placed in every ...
1
vote
2answers
42 views

display submitted variable - where does it originate

The following code appears in node.tpl.php and file_entity.tpl.php, but strangely enough not in comment.tpl.php. <?php if ($display_submitted): ?> <div class="submitted"> ...
0
votes
1answer
105 views

Zurb vs. Bootstrap themes: About performance [closed]

I'm trying to decide to use Foundation or Bootstrap as a base theme for a redesign, but even if Foundation have a lot of strengths (native sass support as I've read), it seems that it is waaay bigger ...
3
votes
1answer
112 views

Upload Image in system_theme_settings form using Zen on Domain Access System

I want to upload the image as the background in the settings page of the zen theme. In zen , It's easy to add an extra field in the theme-settings.php and it's worked at the single site system. ...
1
vote
1answer
21 views

Calling hook_entity_view from a theme

Is there any way to call hook_entity_view() from a theme? I tried adding the implementation to the template.php file, but the function is not called. I know I can do it via custom module, but as ...
0
votes
0answers
17 views

Theme goes away when i write .htaccess file

I had got a .htaccess file from: https://github.com/drupal/drupal/blob/7.x/.htaccess and copied it to /var/www/drupal/.htaccess. I got to my web browser and my default theme has disappeared. I copied ...
0
votes
0answers
13 views

Browscap and Mobile Theme

Using the 2 together has really worked. However, the fields that are updated on a desktop are taking on the same affect of my mobile version. I also have the elements module. I want to the fields to ...
0
votes
1answer
30 views

View mode theme name priority

I am on Drupal 7. I have a theme set for view mode 'Teaser'. The theme name for this is named like this: node--teaser.tpl.php. So far so good. Then I created content type 'something' and I would ...
0
votes
1answer
29 views

cant install themes after upgrade

I've upgraded from D6.31 to D7 . few problems with block.tpl.php in te deafult theme, but sorted easily. Now when I install a theme i get a WSOD select * FROM watchdog ORDER by wid DESC lIMIT 2; ...
0
votes
2answers
33 views

My Theme Is Lost [closed]

My theme was working earlier, now when I go to the site, it just shows a basic homepage without the theme. I looked at the files and they are all there including the page.tpl.php file. Not sure what ...