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
7 views

How to theme a view that displays content from a relationship?

I have a page for Organization. Each organization has a Featured Person field which is an unlimited node reference to the Person content type. The organization can have many featured people. I also ...
0
votes
1answer
19 views

best practice: what directory should the theme be located for a site install profile

Thanks in advance, I am building a site install profile. Trying to wrap my head around the file structure. I am creating a Drupal 7 install profile with a sub theme off of omega. Is it better ...
0
votes
1answer
12 views

Need responsive footer for venture theme

For my website I am using the venture theme of version 7.32. I found that every part of the webpage is responsive for mobile so far, except the footer section does not fit and align with the rest of ...
0
votes
1answer
23 views

Where are templates from hook_theme stored in the database

I have a module, called "bundles", there I created a file "attached_email.tpl.php" and a hook_theme: function bundles_theme($existing, $type, $theme, $path) { $path = drupal_get_path('module', ...
-4
votes
1answer
27 views

why two login blocks are showing? [closed]

I am new to drupal. I am working on a website called blackfairy..I have my html template and I am trying to convert it to drupal theme..But when I type http://localhost/shop-around/user two login ...
0
votes
0answers
14 views

Context is not being applied in Drupal 7

I searched for my problem so please forgive me, when this is duplicate as I'm newbie and the drupal specific terminology isn't my native tounge :) I set up a delta "delta_theme" for a theme I'm ...
0
votes
0answers
7 views

Is there any theme with Stylus CSS Preprocessor support?

I am trying to find a theme which support stylus css preprocessor as i want to avoid having ruby dependency and stick with node.js
0
votes
0answers
50 views

Trying to theme my user login/registration/password reset pages in Drupal 7, going bonkers

What seems like it should be a very, very simple task -- theming the user login, registration, and password pages in Drupal 7 -- is turning out to be a Kafka-esque nightmare. I can't figure out what ...
0
votes
1answer
17 views

Image getting delete away by the cronjob later in drupal 7 using theme settings

i`m using system theme settings alter to add 4 images for theme, images are getting deleted /swept away by the cronjob later .trying using FILE_STATUS_PERMANENT images are not getting set as ...
0
votes
0answers
22 views

no css/javascript when anonymous

I finally was able to fix my site in our stage environment until I logged out of the admin section. Now the site has no css at all. All the html seem to be fine. If I login as admin, the site is still ...
0
votes
2answers
42 views

How can I call 3 tpl.php files in hook_theme function?

I have 3 tpl/php files and i want to call those .tpl files on the request of user. where i have given user a dropdown list to select the .tpl files. I have created dropdown list but i don't know how ...
8
votes
1answer
136 views

Does a sub-theme needs the main theme enable?

Just to clarified a doubt. But when creating a sub-theme, is it necessary to have the main theme enable ? Thanks
0
votes
0answers
20 views

How to send result to a theme form

Here is what I am looking for. I have a hook menu which calls a themed form to enter details. I have another hook menu which calls the records in a tabular form. Now what I want is to add a link to ...
3
votes
1answer
43 views

Difference between 2 methods of adding a CSS files in theme.info?

What is the different between these 2 methods of loading a CSS files? ; Method 1 css[typography.css][name] = Typography css[typography.css][description] = Typography ...
0
votes
0answers
21 views

How to display a thumbnail of uploaded images when viewing a webform submission?

When a user is filling out a webform I managed to show a thumbnail when uploading an image using the theme_file_link hook as described in the drupal forums: function mytheme_file_link($variables) { ...
0
votes
0answers
10 views

I can no longer set a base color in Mayo theme in Drupal 7

I've been using the Mayo theme for a while now, but I was adding content one day and the base color suddenly went to white, and there is no longer a slot for setting a base color in the Appearance ...
0
votes
1answer
19 views

how can I activate modules and themes?

I am very new to drupal, so, sorry for my basic question. I have tried to instal new modules and themes. The installation process went OK, I got a"successfully installed" message. But when I want to ...
1
vote
1answer
28 views

hook_page_attachments() not called from mytheme.theme file

I am trying to load an asset library in my Drupal 8 custom theme. I have created the library and can load it via mytheme.info.yml file. However, if I try the load it using hook_page_attachments() in ...
1
vote
3answers
48 views

Hide page title on specific path

I want to hide page title on a specific path, but I want to retain the page title between "title" tags in the header. I want the title to be exist in title bar of the browser, but that should not be ...
0
votes
1answer
29 views

Is it possible to create a custom theme function?

I want for example to create a mytheme_table function to override theme_table etc. (in template.php) but I do not want to use it everywhere in my project. I need to replace the table with a div or to ...
0
votes
2answers
18 views

How might I display a field twice in a node using different field formatters?

Question: How can I show the field_showcase_headshot field both as a picture on screen and as a download link? Set up: From the load tab of Devel, I have a few fields on this node. The field ...
0
votes
1answer
33 views

Module and theme in one directory?

For my project, I have a custom module, a features module and a custom theme. I want to keep all in a single Git-Repository. The problem is: modules need to be in sites/all/modules, themes in ...
0
votes
1answer
19 views

Omega Theme, change content zone when sidebar had no content

I'm using Omega as Base theme. In the content zone I have 2 regions: 'Content region' set as 9 columns 'Right column region' set as 3 columns Is it possible to have a "flexible region"? I want to ...
0
votes
1answer
38 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
28 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
18 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
16 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
11 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
24 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
19 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 ...
0
votes
0answers
21 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
60 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
12 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
22 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
39 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
21 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
30 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
68 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
20 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
53 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
33 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
20 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
27 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
37 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
53 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
84 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
28 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'), ...