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
2answers
27 views

My Theme Is Lost

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

How to display the total price in the skin? [on hold]

How to display the total price in the skin programmatically?
2
votes
0answers
24 views

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

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
37 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
18 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 ...
-2
votes
0answers
15 views

The website appears narrower as it used to be, also fonts [closed]

My website on server appears narrower as it used to be and as my backup version on home server... I'm not sure when and if it has started, or may be I'm crazy... But even the fonts of Admin Menu ...
-2
votes
0answers
26 views

How to add new Block region in adaptive theme? [duplicate]

I am using adaptive theme in my site. How to create new block region in Drupal Adaptive Theme ? Please suggest me, how to do ?
0
votes
1answer
20 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
30 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
43 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 ...
0
votes
1answer
45 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
27 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
30 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
11 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
8 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
21 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
20 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
29 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
67 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
18 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
24 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
26 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
97 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
52 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
25 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.
0
votes
1answer
39 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
19 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
30 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
16 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
33 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
43 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
47 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
39 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
16 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
23 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
109 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
34 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
17 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
25 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
46 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
105 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
33 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
34 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
22 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
28 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 ...