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
13 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
1answer
16 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 ...
0
votes
1answer
20 views

drush omega-guard and missing or unreadable gemfiles

My machine is running Archlinux and and I am new in drush and omega theme. I have installed drush and then run bundle install to install the dependencies of my subtheme. When I run drush omega-guard, ...
0
votes
1answer
41 views

Cannot get CKEditor to work with custom theme Drupal 7

For some reason I cannot seem to get ckEditor working on my custom theme. It works fine on any admin pages (seven theme), but not my custom themed pages. UPDATE: here are my file contents INFO - ...
0
votes
1answer
13 views

Template suggestion for 'content' in custom page

I need the equivalent for hook_preprocess_node for custom pages, which aren't nodes. The particular page I need to theme is provided by the entity registration module 'node/10/register'. I can add ...
0
votes
0answers
13 views

My Drupal site says: 500 Internal Server Error [on hold]

I also have this problem. I have searched the internet but can not find a solution. My server is shared and .htaccess of my Drupal site contains the following: # Apache/PHP/Drupal settings: # ...
0
votes
0answers
22 views

How to customize a front page variant with CSS

I need to do some customization on a page variant front page of a section of a website. What is the best way to do this? I am working on Drupal 6 if that helps.
-1
votes
0answers
17 views

Is it working if i place field.tpl.php file inside module folder?

When i place custom field.tpl.php file in theme folder it's working fine. I just wants to put my custom field.tpl.php file inside custom module folder. which is created by using ...
0
votes
1answer
24 views

explicit “switch to mobile theme” link with Theme Key

I'm using Theme Key https://www.drupal.org/project/themekey to switch automatically between themes dependent on browser and/or OS id. Now I would like to allow the user to explicitly switch to or ...
0
votes
1answer
14 views

Cannot get theme_links__system_main_menu($variables) to fire now matter what

i've added the code below to my theme's template.php file. i've cleared the cache too. but this just isn't firing no matter what. i'm not getting any errors either. anyone have any experience with ...
0
votes
3answers
28 views

user register from overflow [closed]

In my register form email address description is overflow. I know that I have to change theme, but I would like to know where to theme it. Thanks,
0
votes
1answer
15 views

MEGA MENU please help trying to assign it the right region but no luck :(

Hey can you guys please help me out iv tried researching and asking other but unfortunately have screwed it up many times and cant seem to get an answer out of anyone. Can someone please help me ...
1
vote
1answer
29 views

How to make all images in Views display at same dimensions

My preview (thumbnail) images won't seem to display on my Views 3*16 grid page and my edits in the image Filed don't seem to make a different. How do I ensure and force the Field image (cell) in the ...
-1
votes
2answers
34 views

Trying to get property of non-object in include drupal7

I am trying to print field_title in views-view-field.tbl.php, and i got this error - Notice: Trying to get property of non-object in include() (line 28 of ...
0
votes
0answers
19 views

add javascript event to view

I have no well enough experience in themeing with view, It is also the first project I used view. In this page, I would like to add javascript event to qq under category_page. When clicks qq I want ...
0
votes
2answers
33 views

In subtheming Commerce Kickstart, how to load my own background image?

I followed the instructions in this drupal.org article to subtheme Commerce Kickstart theme, but one thing I didn't get. I have changed the background logo bg.png to my own. Create directory ...
0
votes
1answer
18 views

right sidebar doesn't shrink in zen responsive theme

I have a Zen 7.x.5.x Responsive subtheme with Right sidebar... I know, I am new with all this responsiveness staff; but - I think the right sidebar doesn't shrink when I resize my browser....it just ...
0
votes
1answer
12 views

After insert data to table, updating data in home page drupal7

I have a insert_data module that used to insert data to category table, and I also have a module named mysite that has a function named “function mysite_preprocess_panels_pane(&$variables) “ is ...
0
votes
0answers
9 views

Adaptivetheme disables itself

I have tried this on more than one site when using adaptive theme. I have copied the subtheme folder and created my own custom subtheme based on that, and everything is good, but when i open the site ...
0
votes
2answers
22 views

How can I register a image_style theme function in my module which only works in my theme's template?

Is there a way to tell drupal that my module has a theme function which usually only works in my theme? If I write in my theme's template.php: function mytheme_image_style($variables) { // ...
0
votes
1answer
36 views

Warning: Invalid argument supplied for foreach() in element_children()

I got following error after trying to print array from module to panel.tpl.com. In my experience with drupal7 I can solve this error. Anyone can help me pls? Thanks. Mysite.module function ...
1
vote
2answers
32 views

pass array from module to render in template

I have a module name mysite.module in that module I have function named mysite_preprocess_panels_pane. That has an array and I would like to render this array inn panel.tpl.php. My code does not work. ...
0
votes
0answers
8 views

Modify Drupal Commons 3.x menu bar region

The main menu bar and search bar fall off the right side of the page if more than three icons are created. I'm new to drupal themeing... but I bought a book :S. I can't figure out how to modify the ...
0
votes
2answers
22 views

Altering button title it becomes inactive

The override function I use in my bootstrap sub-theme template.php: function subtheme_form_titles_node_form_alter(&$form, &$form_state) { $form['actions']['submit'] = array( '#type' ...
1
vote
1answer
30 views

theme_table() isn't respecting sortable fieldname

I generate some data in one of my modules and generate a table using theme_table(). I want the fields in that table to be sortable, but the table is being rendered with the wrong value in the links. ...
0
votes
1answer
29 views

How to make maps full screen width using Bootstrap (Tweme variation)

I'm using mapping features (Openlayers model) with a Bootstrap theme based 'Tweme' in Drupal 7.2x and for now to get things working want my mapping to show full width in a simple way. I've studied the ...
-1
votes
0answers
16 views

why does my live drupal site over-write changes to the bartik theme?

So, I have a rudimentary site up and running with a few hook_form_alter statements to so Drupal Commerce shopping cart thrown into the bartik template. The site is the latest DC and Drupal running on ...
0
votes
1answer
50 views

Bootstrap Theme: Theme hook suggestion for user profiles

I've tried to create theme hook suggestions in my template.php to use template files in combination with view modes. My code snippet: function blogtheme_preprocess_user_profile(&$vars) { if ...
0
votes
1answer
24 views

How to execute jQuery on body elements?

I'm screwing around with jQuery for the first time, and I'm unsure of where to add a call in Drupal to allow it to alter classes of elements within the body tag. I'm looking at utilizing something ...
1
vote
1answer
29 views

How can I get header part from my drupal 7 site? [closed]

Hotelscombined(hotel information site) asked me "the header part" of my website so they can combine my website's header and their hotel list. My header part will be placed in their site. Then it ...
0
votes
2answers
14 views

Regions and Page Layouts

How do you work with regions if your website has different page layouts? For instance, the home page is a header-content-footer page, while the article page is header-sidebar-content-footer, etc. ...
0
votes
1answer
17 views

theme superfish menu item link add query string

I need to add the destination to user/logout links in the THEME_superfish_menu_item_link preprocess function, but I am having no luck. In template.php I have: function ...
0
votes
1answer
19 views

Bootstrap's css is not loading

I am have a website on drupal and have enabled Bootstrap theme . The problem is http://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css is not loading . It says "This webpage is not ...
1
vote
1answer
24 views

Problem with Multiple drupal installations custom theme

I have installed multiple drupal in my hosting site. I have created individual database, user name and password for multiple drupal installation. I have created folder ...
0
votes
1answer
20 views

Ajust the position of autocomplete fields

I working with the theme base bootstrap and my problem is that in autocomplete fields it's a bit offside of position, see the screenshot. How fix this ? I need this more to the left and below the ...
1
vote
1answer
31 views

Drupal 7 hook_validate not called with custom form template

I received a pretty strange problem trying to customize custom form's template. So while form's template stay untouched (drupal core's form template was used) validation works just fine, but when I ...
0
votes
1answer
30 views

How to change Zen Grid System

Zen is a great theme and comes by 3 columns gris as default and even when i read the documentation i don't know how to change the grid system to 2 columns 30%- 70% for ex.. Can you help me please.
0
votes
1answer
33 views

How do I add to $page_top in html.tpl.php?

I wanted to add a piece of HTML at the top of all pages, right after <body>. In the #drupal IRC channel I got the recommendation to override html.tpl.php in the theme. That works fine. But isn't ...
0
votes
0answers
45 views

Uploaded images in theme settings is going to be lost

I have a flexslider and I make its images customizable through the theme settings. I added a caption property for the the slide to meet multiple languages websites as follows in theme-settings.php: ...
0
votes
0answers
26 views

Metro layout for views

Any way to achieve metro style layout for Views items? E.g.: I was thinking maybe there are modules or something. Was searching for something like Masonry, but didn't find any.
0
votes
1answer
24 views

Is there a way to upload files to the theme directory

I use the following code to upload images should be used in slideshow of the theme settings theme-settings.php: for ($i = 0; $i < 7; $i++){ ...
1
vote
0answers
36 views

Unable to install themes on new Drupal install

Note: I'm self hosting Drupal so I have full access to the server -- searching for this error seems to only bring up solutions to shared hosting situations. I'm running a Drupal multi-site ...
0
votes
1answer
26 views

How do I add a simple form to the node edit page?

I've spent a grand total of 8 hours trying to solve this problem. The form needs to be separate from the node edit form so I can't use the form_alter hook. It needs a separate submit button. It only ...
0
votes
1answer
37 views

Fix a constant width for first sidebar and second sidebar

I'm working on Zero point Theme in drupal 7. In my home page I've three blocks - first sidebar, content and second sidebar formatted as three columns. Here the width of first sidebar and second ...
0
votes
1answer
55 views

Does the Bootstrap 3 Theme for Drupal meet WCAG 2.0 and ATAG 2.0 standards?

I'm currently creating a new website for work and I would like our drupal website to be accessible to users with disabilities, and I wanted to know if the Bootstrap 3 Theme meets web accessibility ...
0
votes
2answers
32 views

Render Block in preprocess page

I try to copy an existing Block and print it in the left sidebar for some content types. That works, but what i`m missing is that i must activate the sidebar first and in the body classes the ...
0
votes
1answer
27 views

Override ctools function

I'm using the Multi-Step Registration module to have a wizard in my user registration. The wizard works fine. You can also select a wizard trail to see in which step you are. As you can see it ...
1
vote
2answers
113 views

How to add user role as a class while rendering a username

I'd like to style the username of certain roles differently (mainly admin roles) and I think the way to do it is to append the user roles in the class of the username. I'd like your help with this ...
0
votes
3answers
71 views

HTML after label radio button (depending on radio button)

I need to add some html to specific radio buttons. This is a picture to clarify what I'm looking for: As you can see I want to add some text to the options. These are radio buttons where you can ...
0
votes
1answer
41 views

Node theme template override isn't working

I'm using the paid theme md-alpine and I added a content type called webinars, and a node template for webinars node--webinars.tpl.php The only thing I put in the page is and I only get an HTML page ...