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
10 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
12 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
21 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
22 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
28 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.
0
votes
0answers
7 views

Can different region combinations being used in specific pages of drupal [closed]

Can we use separate region combinations for different pages in drupal. For example apart from the normal regions avaialble throughout the site,I want the user pages to display only 2 regions.And ...
1
vote
1answer
18 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
26 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
12 views

When clicking he back button of a browser the focus should be at the link the user had clicked [closed]

so say the user is at node/1 and click link '2' which is at the footer and then page loads /node/2 then the user click the back button and then the focus of the browser should be at the link in the ...
0
votes
0answers
12 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
23 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
23 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
24 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
39 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
36 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
21 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
30 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
28 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
33 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
87 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 ...
0
votes
0answers
47 views

Customize “My account” and “Logout” Links in my subtheme with CSS button problem [closed]

So I'm trying to shape "My Account" and "logout" links in to my omega 3 subtheme with this css: { -webkit-appearance: none; -moz-border-radius: 11px; -webkit-border-radius: 11px; ...
3
votes
1answer
76 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
16 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
1answer
24 views

Subtheme preprocess page is not being called [on hold]

Hi I am using standford openframework and I have a problem in my subtheme I created a template.php and I am trying to call my_preprocess_page function MYTHEME_preprocess_page(&$vars) but it ...
0
votes
0answers
15 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
22 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
20 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
33 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
32 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
54 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
24 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
28 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
34 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
147 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
117 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
38 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
38 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
14 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
31 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
34 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 ...
0
votes
1answer
157 views

Turn off responsive behavior for Bootstrap 3

I know how to turn off responsive in bootrap . but how it can be in drupal theme. As i am using Drupal Bootstrap and created a subtheme. can that subtheme be non-responsive ??
2
votes
2answers
94 views

Drupal 7 website layout/styling breaks all a sudden (random), how to debug? there are no logs

One of my websites running Drupal 7 goes out of format, most often when user login. This is how it should be After running out of format this how it looks This may be a CSS issue, it may be a ...
0
votes
1answer
34 views

Load .js only if block is loaded

Yes, something like that. If block and it's content are loaded in the page (so I guess detect by ID or something) it would load the .js, but if block is not loaded, it wouldn't load the .js. I need ...
0
votes
1answer
30 views

Form '#theme' preprocess doesn't invoke

I have form where '#theme' => 'ebanq_transfer_theme'. Template file is rendered but preprocess hook doesn't invoke. Any ideas? /** * Implements hook_theme(). */ function ebanq_transfer_theme() { ...
0
votes
2answers
29 views

Change title of webform

I added a webform to my site. Everything works fine, except that the title (surrounded red) is saying "webform", but I want it to change to "Kontakt" (as the title in the form itself). Theme is "TB ...