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, ...
0
votes
2answers
22 views
How to allow the banner to be editable via front end?
In the BlueMasters 6.x theme, the banner is hard-coded inside page-front-tpl.php:
<div id="banner" class="clearfix">
<?php //print $banner;?>
<div class="main_view">
<div ...
0
votes
1answer
20 views
How to add Google Analytics per theme?
Is there a way to add GA per theme. The reason for it is I am using themekey to switch the theme for mobile users.
I have read that it is possible to add more than one tracking code on a site but ...
0
votes
1answer
10 views
How to stop text-boxes in my custom block trailing past the block?
I am creating a module with a custom block. Even through googling, I still could not find an answer to my question "how do you theme the elements in a form?" I think it is the fact that I don't ...
0
votes
1answer
17 views
Use 2 different font sizes on combobox form elements
In a form combobox, is it possible to have each combo box element have 2 different font sizes?
Blue (like the sky)
Yellow (like the sun)
Green (like the mix of the above)
The color names would ...
0
votes
0answers
12 views
Cannot expand all menu items on hover
I am using Clean Corporate theme and have a number of items in the Main Menu. Most of them have child menu items. However, only one can be expanded at all times, whereas the others only expand on ...
0
votes
1answer
43 views
How to theme webform element? (like radio buttons etc..)
I would like to know how to theme drupal 7 webform elements?
I want to change the html structure of every element, not just wrap form with div or something like that .. And i want to leave theme's ...
0
votes
0answers
13 views
How to pass variables to template file from ctools plugin the right way
I have a ctools content type plugin and I am doing a lookup for some nodes which I then want to pass to my template file. I can do this fine, but I want to know the correct way to do it.
Should the ...
2
votes
1answer
16 views
Theming a custom user field on register form
I have added a checkbox list field on the register form and I want to change the template for that field.
I have used field--field-checkbox-list.tpl.php and MYTHEME_field__field_checkbox-list() ...
0
votes
1answer
40 views
“Show as expanded” selected but children menu items not displaying
I am using a Bartik theme in drupal 7, and am trying to display a Page created using views under one of the Menu items. I've selected the "Show as expanded" for the parent item, however the child item ...
-1
votes
0answers
29 views
Not centering and width into 100% the banner [closed]
Hello everyone i have a question regarding the width: 100% or a better way to make the slideshow fit in page width. since background-size support cover unlike an image uploaded. here is the site ...
0
votes
2answers
50 views
How to theme a webform - D7 [closed]
I am in need to theme webform in D7.
How can I do that ?
In the search I've come to know that by using web-form-nid.tpl.php we are able to theme a drupal individual form.
Could any one guide me in ...
1
vote
3answers
85 views
How to show a content without creating node for it on Drupal site?
I am creating a custom node page called node--mynode.tpl.php.
The code I'm putting in is <p> test</p>
Unfortunately nothing shows up on my Drupal site.
I have also added a node.tpl.php on ...
0
votes
0answers
17 views
CDN module enabling “Far Future expiration” breaks whole site theme drupal 7
CDN module
Version: 7.x-2.6
component -- Origin Pull mode — Far Future expiration
I am using CDN module on drupal 7.22. We are using custom theme where adaptive theme is as base theme for all ...
0
votes
1answer
23 views
Node Teaser Acting like Full Node
I have got a problem. I have been upgrading my site from Drupal 6 to 7 and I've reached about 75% of the way. I have updated all my 3rd party modules and custom modules and while I was configuring ...
1
vote
1answer
32 views
Conflict between with a function in two different modules
I have the same function in two different modules to change the page: node/add.
I need the second one(see below) to override the first one. I implemented hook_install to change their weight but is ...
-1
votes
0answers
43 views
What are some free themes for a non-profit? [closed]
We have a non-profit Drupal 6 website where we want to implement something very similar to http://www.wateraid.org/uk. Essentially, we want a large moving picture in the front, a big and prominent ...
0
votes
0answers
29 views
OpenFramework for Drupal 6
i tried openframework for D7 and i like is responsive capacity and its usage.So i would like to use it for my D6 websites not upgraded yet.
I get the D6 version from GitHub
but i don't find any ...
0
votes
1answer
57 views
Specify which theme to use when rendering a page with drupal_render_page()
I'm looking to send out a node as an HTML email. I have the code working except for one part.
I'm using drupal_render_page() to render the page's content so it's ready for an HTML email. I thought ...
0
votes
2answers
213 views
Drupal 7 website with landing page and two sections with different templates
I need a Drupal 7 website with 2 sections..
for eg. www.example.com
One is Civil and the other is MEP.
Landing page with navigation to the below two sections:
section 1: www.example.com/Civil
...
0
votes
1answer
62 views
Is there a pre-styled Omega subtheme out there?
I am after a theme that looks good out of the box and I don't need to make a lot of theming changes. The customer is not fussed about the styling but obviously doesn't want a stark/bare looking site ...
0
votes
1answer
20 views
How give users ability to change their blog pages theme?
I am using Drupal7 and I am designing a blog engine site that any user can create a blog for him/herself and he/she can change the theme of his/her blog page. Is there any module to integrate with the ...
4
votes
2answers
367 views
One page website with Drupal 7
I saw many personal or company websites with one-page website style. the one-page design is very good for giving as quick as possible all information that you have without letting users click around ...
1
vote
1answer
43 views
how do I change the url based on a theme?
On some occasions, I've seen Drupal able to detect things like language and rewrite the url accordingly, so your actual displayed url reflects the detected value (like from ...
0
votes
0answers
45 views
Are static html pages required to build a Drupal
Are static html pages required to build a Drupal based social networking site or should i go about creating content (views or modules etc) and assigning regions to them. I have already created a theme ...
1
vote
1answer
26 views
how to alter main menu to add custom class
How do I add custom class to main menu. The main menu links are like Fashion, Art, Life and nodes being viewed category can be any one. I want to make the main menu item active as per node being ...
1
vote
2answers
94 views
How to change stylesheet ordering of base and child theme
I have downloaded drupal commerce and started playing around with it. I have a new theme created using drupal_kickstart as base. My theme is in sites/all/themes. Any styles that I put in the ...
0
votes
0answers
9 views
Apply a Views tag to a display (as opposed to an entire view)
In Views you can apply a tag to a View. These are handy for themeing. For example, you might have a template called views-view-fields--thumbs.tpl.php. If you a 'clean' tag to your Views, all Views ...
0
votes
0answers
16 views
template_preprocess_foo(&variables) flow
I am trying to comprehend the data flow in a module.
The page is rendered with
template_preprocess_foo(&vars);
Can someone explain how to detect where the vars variable is initialized and in ...
7
votes
1answer
129 views
Theme folder in drupal 8
In Drupal 8, the theme folder for contributed themes seemed to have moved.
Where do themes go in drupal 8?
0
votes
1answer
26 views
Formatting elements without formatting similar elements throughout entire site
So I've been fiddling around with elements, or blocks around my site.
I find the element or item I want to change my right clicking it in my browser and clicking "Inspect Element". Then, I find ...
1
vote
2answers
56 views
How do I insert HTML onto every page?
I've got the following code in my module. I'm trying to get it to insert some HTML, ideally at the start of <body>, but it seems that my call in hook_init() isn't working - what would be the ...
1
vote
1answer
42 views
How do I remove extra space in table field?
I'm using Views Module. I created a new ContentType with 3 custom fields: (text)Criteria, (decimal)Monthly, (decimal)Semester.
I created a table style view that retrieved the ContentType I created ...
2
votes
1answer
55 views
Help with wrapping character with CSS span using Jquery
I have this jfiddle working (http://jsfiddle.net/FJxcG/), but the same code does not work on my Drupal 7 website. I added the JS file to my theme .info file, and the JS is showing up in the source; ...
1
vote
1answer
60 views
Drupal 7 Theme Function
I can't get the theme() function to work. Cleared cache too. If I rename the function to:
theme('wow_template', $output') it works but anything other doesn't.
function wow_page() {
$cloud = ...
0
votes
1answer
69 views
How to theme “group by” header in a view
I'm using views to create a list of nodes grouped by a field.
The problem is that, in the html output, I've something like this:
<h3>Group title</h3>
<div ...
0
votes
2answers
95 views
How to remove “Main Menu” title from Stark Theme
I want to have just the main menu list elements displayed through only the stark theme and I can't seem to figure out where I should go to delete the title "Main Menu" that is above the main menu ...
0
votes
0answers
66 views
How to theme forum posts? (Custom author_pane template won´t work)
I´m trying to get my author_pane template from the profiles to be different than my author_pane template in my forums.
I´m using Silver Bells forum theme.
After reading the instructions, I´ve managed ...
0
votes
1answer
101 views
Submit handler is not getting called inside theme function
I have created a draggable table and add a submit button below it. I am able to view the submit button but submit handler is not working. Below is the code.
function form_content_reorder($form, ...
0
votes
0answers
28 views
Change image styles based on selected theme
I have multiple themes under one installation and using SwitchTheme http://drupal.org/project/Switchtheme to switch between themes as selected by the user. My problem is I have a view displaying ...
0
votes
2answers
33 views
Can't click admin menu options, they extend beyond the window edge with Panels [closed]
This is the problem.
I really want to use Panels, but this is the sort of issue that is going to make using it really difficult. Is there a fix? I've tried a variety of themes (Stark, Omega, Seven, ...
0
votes
1answer
50 views
Themekey & Organic Groups
I have a case scenario in which different organic groups can have different themes. Using "Themekey" I allow the user to select a theme when the group node is created and it works fine. When the user ...
0
votes
2answers
34 views
How to add fronted form using custom content type
i new to drupal and i created a custom content type which has few fields(like donation name, value,size etc) .,now i want to add this fields as form for user which they can fill in the fronted,i want ...
0
votes
0answers
31 views
sidebar region invisible for administrator drupal7
region--sidebar_second.tpl.php is my sidebar template page, which contains the html structure for sidebar region. This sidebar region is visible for anonymous user and sidebar region is empty when log ...
0
votes
2answers
167 views
common header and footer for all pages in drupal7
i use different layouts for different pages for a large website, which share common header and footer. how can i create common header and footer templates and link the templates to these pages.
0
votes
1answer
149 views
What is the difference between a page and a node?
What is the actual difference between a node and a page in Drupal 7? Why there is separate page.tpl.php and node.tpl.php pages. How is the theming applied for the actual page.
Any link for ...
0
votes
1answer
196 views
how to create template file for single page in drupal 7 [duplicate]
i have created "about us" page in drupal 7 admin interface of basic page type. I want to apply a specific layout for this "about us" page only.
But after goggling, i found solution of applying ...
1
vote
1answer
28 views
Why are users seeing edit pages outside of Admin UI
I just tested the editorial process for authors on our new web site. For some reason, although admins and editors see pages in the normal Admin UI (using the Seven theme) when editing a page, members ...
1
vote
1answer
80 views
ajax button doesnt fire callback function
I need to put some ajax buttons on each row of table.
My theme looks like this:
/**
* Implements hook_theme().
*/
function application_wizard_theme($existing, $type, $theme, $path) {
return ...
0
votes
0answers
127 views
Omega - add new section
I would like to add a new section to my Omega sub-theme but I can't seem to find any documentation on how to do this.
By default there are only 3 sections: Header section, Content section & ...
0
votes
1answer
57 views
Adding CSS class to fields (Content Types) [duplicate]
I added a new content type with some fields
I have a field to upload image, I want to add a CSS class to this specific field,
Should I done it via node-file.tpl.php
or via the dashboard and where?