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
22 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
22 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
0answers
11 views

need some information related drupal [on hold]

I am very new to drupal and I want to know if it is possible to make a travel booking website using drupal. Something that have core features like booking for cars, flights, hotels etc. Something like ...
0
votes
1answer
24 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
10 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
0answers
7 views

Response theme on iPhone

I am using an adaptive theme I have a problem which occurs on the iPhone I would appreciate a hint landscape and portrait are the same
0
votes
1answer
17 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
0answers
16 views

Drupal Theme To Mobile [closed]

We created a theme builder that allows users to select a specific theme. The theme looks great on desktop. But in mobile we want all the themes to redirect to a generic mobile responsive theme we ...
0
votes
0answers
18 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
23 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
58 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
16 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
0answers
23 views

Changing color based on user preference/choice

I want to allow users to change colors based on the selection of a university (to their selected university's colors, if a color scheme for that university exists). Is there a way to do this? The ...
0
votes
1answer
23 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
21 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
53 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
50 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
14 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
24 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
18 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
34 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
17 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
29 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
30 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
39 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
38 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
25 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
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
62 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
33 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
13 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
24 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
36 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 ...
0
votes
1answer
70 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
27 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
32 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
21 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
24 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
24 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
23 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
34 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
32 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
49 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
1answer
53 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
33 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.