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
0answers
6 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 ...
-3
votes
0answers
20 views

Which theme is used for the front page of this Drupal website? [closed]

I wonder which theme is used for the front page of this website? http://www.zicasso.com/ It should be customized version of Drupal's theme. Can anybody help me to figure out which theme is used?
1
vote
0answers
27 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
17 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
12 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
15 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
22 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
14 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
22 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
15 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
24 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
31 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
23 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
34 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
20 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
14 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
30 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 ...
0
votes
0answers
20 views

how can i add record to db, and load the table records under the form in specific theme using ajax?

I need a form to add record in db. after the form has been submitted the new table content should be shown (in a specific theme) without refreshing the page so I need ajax submit but I don't know how ...
1
vote
1answer
24 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
24 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
52 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
40 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
33 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
32 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
43 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
39 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
98 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
91 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
19 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
16 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
11 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
23 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
25 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 ...
0
votes
1answer
43 views

Hooks Alter not called in Template.php for

I run into strange thing today. I have some custom hook declared in a custom module as following: drupal_alter('strange_thing', $shared_var, $vars); then in template file(template.php) I got the ...
2
votes
0answers
34 views

What is basic difference between themes and modules in drupal? [closed]

Is there any difference between modules and themes if so then what are the basic difference in between them? If there is no difference then what is the concept behind having separate folder for both ...
0
votes
0answers
68 views

Different URLs for the same node

I want to have make a node accessible via 2 different url. I want to apply a different theme on every one of theme. They will be event/id and app/event/id. There will also be a third alias via ...
0
votes
0answers
34 views

Expand menu links down in a tree

I'm using Nice menus, but it expands children sub menus to right only. I want it so that when you hove on main parent link, it drop-downs a sub-menu with all its children submenus expanded down in a ...
0
votes
1answer
29 views

My theme is automatically disabled!

My Drupal website has a sub-domain. there is a theme that is in the sub-domain folder. the settings.php in the sub-domain folder is same as the one that is in the /default folder so they both display ...
1
vote
2answers
36 views

How Do I change existing theme to a new one without losing content?

Can someone lead me to documentation that explains how I can change an existing Drupal theme to a new one without losing all of my existing content? The blog I manage is currently set up on the Omega ...
0
votes
0answers
264 views

Drupal 7 form loaded via ajax but ajax submit not working

I have a node page where I need to create a reply form via ajax for commenting. Commenting in my system is also a kind of node. When my page first loads it's presented with all comments done and also ...
1
vote
1answer
178 views

Using Bootstrap with a Zen subtheme in Drupal 7

I was wondering if anyone could provide me with some advice on implementing bootstrap in D7 with the a Zen subtheme. I'm really only using it for the responsive div sizing at the moment - I've got a ...
0
votes
2answers
43 views

Form in template without <form> tags

My forms dont seem to have tags wrapping them in my templates. What am I doing wrong here? I have a template whith some calls to theme() inside it. Two of these are forms with their own template. ...
0
votes
1answer
40 views

Display an image in menu generated from taxonomy terms

I am using Drupal 7 with Taxonomy and Taxonomy Field Menu to generate a menu based on taxonomy terms (Categories) - including node links (the terms themselves are not linked, just the nodes, in case ...
1
vote
1answer
16 views

How do I safely get the internal path to the current site in a multisite setup?

I'm working with a multisite Drupal 7 install with many sites. The site accepts both "www." and without via Apache. I'm developing a themes in /sites/all/themes which is used by many of these sites ...
0
votes
1answer
39 views

How to add padding/margin for sidebar-right in Adaptive Theme?

I am trying to make something with Adaptive Theme, but I can't find how to set a padding or margin to Right Sidebar... I am using only content -- right sidebar layout, and if I wish to add some ...
0
votes
1answer
48 views

Drupal doesn't output list of children on custom module page

I am on Drupal 7. I want to create a page that lists its children, the same way you see the list of links in 'admin/structure' (Blocks, Content types, Entity types ...). I have modified child 1 and ...