Theming is about the development, adaption and configuration of "themes". A "theme" in Drupal is a set of files containing PHP, templates, Javascript and CSS that in concert provides a certain appearance of a site, and that clearly separates layout and styling of a Drupal site from content and ...

learn more… | top users | synonyms (2)

1
vote
1answer
17 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
0answers
21 views

Add different classes to the images that where uploaded with multi-upload

I'm looking for the best solution to add different classes to images that where multi uploaded to one field. So not a class to the field, but a possibility to add different classes to each single ...
0
votes
1answer
19 views

I want to navigate to particular tab on clicking of particular menu item

This is my menu This is my Media page on that I have 2 tabs for that I have used UI Tabs jQuery I'm using Drupal 7 menus i.e main menu, I want when user clicks on the News from the menu item it ...
0
votes
0answers
11 views

Customize page title with form

i've followed this tutorial to add a form in my custom module page Drupal Form Tutorial Now i want customize the title of the page with my own style. How can i change the default style?
0
votes
3answers
26 views

How to set header and footer for any drupal_mail messsage?

I am working with drupal 7 site. I would like to know how to create email template for any email sent from drupal system? Is there any hook or template should I implement in my custom module or ...
0
votes
0answers
16 views

Fusion Starter Theme does not provide option to disable grid overlay for administrator on home page

Enabling the option to display a grid overlay using a subtheme of Fusion Core under Menu > Administration > Appearance > Settings does what it is supposed to, however, does not give me the option ...
0
votes
3answers
29 views

Responsive Blocks

How can I make blocks shrink while staying on the same line as the window gets smaller? As of right now my blocks are going under other blocks as my window gets smaller. How can I make my theme ...
0
votes
1answer
18 views

Custom module blocks: where to put html code?

I have a custom module that implements hook_block_view. I would like to know where should I put extensive html code for a block content. For example: $block['title'] = t('TEST'); $block['content'] = ...
1
vote
1answer
40 views

How to theme Commerce Customer profile?

In a Commerce project, I added some custom fields to the customer profile, and I’m using Addressbook. The customer profile is now displayed in the address book tab of each user page. I need to ...
0
votes
0answers
21 views

Where do I put shared html templates

I have two templates which are using the same html. I currently keep the html in template.php but I wonder if there is some better way. Or should the html always be kept in the specific template ...
0
votes
0answers
14 views

Modify menu_block

I want to add some html tags to specefic block in my site . This is my block and bold one is the html tag i want to add . <div id="block-menu-block-1" class="block block-menu-block notactive ...
0
votes
0answers
26 views

Images not shown in View Mode Teaser

I have a content type teaser with an image field and display these teaser in a panel layout. This works perfect if I choose the Build Mode "Full Content" in the Panel Settings for the content. I ...
0
votes
1answer
16 views

Add an input[type=“file”] label

i need to style the input[type="file"], the only way to really style them is to add a <label> which has the same for value as the input's id. Drupal does not provide a correct label in single ...
-1
votes
0answers
13 views

placing blocks side by side

I found a solution to my question but the problem is I don't know where to insert this code. Is there a way to input this code through the site or do I need to go into the css files to do this? ...
0
votes
1answer
21 views

Bootstrap 3 sub theme - missing header for banner?

I am new with Drupal Bootstrap 3 sub theming, and I checked the view source and noticed: <div class="main-container container"> <header role="banner" id="page-header"> ...
0
votes
1answer
35 views

Add class to views row if image fields has content

I have views which has multiple image fields. In some cases all those image fields are empty, but some cases one of them has content. When image field has content I want to have extra class ...
0
votes
2answers
27 views

Removing parts of a content type

so, I was trying to get rid of the comment title and there is a lot to read about that on the net, but I still had my issues getting it right, so I came up with this, but I believe there should be a ...
0
votes
1answer
22 views

How to display only “after now” dates (of multiple) of a date-field in a node?

I have an 'event' node-type with just a body and a date-field. For that date-field, multiple dates are allowed. I'm listing event-nodes in a view and already use filters to only display nodes when ...
1
vote
1answer
13 views

How to add IE specific stylesheet in drupal 7 in drupal way [duplicate]

I want to add this into my Drupal site in a Drupal way! <!--[if IE]> <link type="text/css" rel="stylesheet" href="IE.css" media="all" /> <![endif]--> I know it can be done easily ...
0
votes
0answers
10 views

Generate iCalendar file - Clean Output

I need to generate a iCalendar file and I have this function in my template.php: function MYTEMPLATE_get_event_file($data){ ob_start(); header('Content-type: text/csv; charset=utf-8'); ...
0
votes
0answers
22 views

Book to Learn DRUPAL and Create and Set a Professional Website as a WebMaster/Administration/Web Developer [closed]

I just bought DRUPAL 7 Explained By: STEPHEN BURGE http://www.barnesandnoble.com/w/drupal-7-explained-stephen-burge/1119329347?ean=9780133124231 Can anyone suggest me a Good Book to follow where I ...
0
votes
1answer
19 views

drupal 7 webform add classes to submit button

I am trying to add classes to my webform. In hook_webform_element I can do this if ($element['#type'] == 'checkboxes') { $wrapper_classes = array( 'form-item', 'webform-component', ...
0
votes
0answers
21 views

White blank page for 10 to 15 seconds then suddenly content appears

My site recently migrated to drupal 7 And it is already having a major page loading performance issues. Now very strange thing is happening to home page before showing accutual content it is ...
0
votes
0answers
3 views

Define zone-wrapper in Omega 4 and 960px

I'm using omega 4 and i got problems. How can i define 960px in omega 4 ? should i define it in _grid.scss like this : $grid: 12px ; $gutters: 1/3; $tab:44em; $desk:77em; $mobile:15em 35em; If ...
0
votes
1answer
40 views

How to create multi sites

I have just started to learn Drupal. So, I apologize to ask such a silly question here. I wanted to create multi sites in Drupal. I have unlimited access to create Subdomains, Parked Domains, Addon ...
0
votes
1answer
21 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 ...
-2
votes
0answers
20 views

Coin Slider is not working in Drupal 7.29 [closed]

I have install Coin Slider as following steps in module of Drupal.Org, and i copy to coinslider js file into libraries folder but i cant see any effect of it, Please can you help me out for same.
0
votes
1answer
20 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.
-3
votes
0answers
19 views

Cache Issue in my drupal websites [closed]

While browsing maximum pages of my site ( http://wiki.debtcc.com/ ) it showing me the homepage content instead of its original content. But after clearing the cache (by using "Clear all caches" ...
0
votes
0answers
18 views

Remove markup from render pagecontent

I am theming a page in D7 and need to change the markup that gets rendered out when I print<?php print render($page['content']); ?>. Currently it prints <div class="">...some ...
0
votes
0answers
16 views

Real-time preview of node/form in Drupal 7

I'm trying to achieve this in Drupal 7. This is what I need URL for working example (But its not in Drupal). Requirement - Live Preview with alignment features From Drupal.Stackexchange I've came ...
0
votes
1answer
11 views

Buttons get longer when pressed if using AJAX

I'm using Ajax Commerce Cart Cart with a custom Drupal 7 theme that I made with Artisteer, but the issue does not seem to just be related to the one module. Whenever AJAX is attached to a button, when ...
0
votes
1answer
17 views

No menus being displayed in SideBar First

Im using my own Omega 3 sub-theme and a new superfish menu (I created) to be displayed in the Sidebar First section of each page...no big deal. The menu displays as needed in while Im admin, but the ...
0
votes
0answers
21 views

how to verify if a field is empty in views field template?

I have a views row template (views-view-fields--mymodule.tpl.php) I wanted to verify if a specific field is empty. Is there any way to perform this ?. Here is what I already tried. Every try ...
-3
votes
1answer
29 views

How to give space between rows of a table [closed]

I have a view in Drupal and I want to give more space between elements rows. How do I do it?
0
votes
0answers
25 views

Some theme settings data could not be retrieved in the tpl

I added extra settings values set to the theme that I use in 7. The extra settings set is uploading a defined number of images, in-order to be used in a slideshow. It has been done as the following, ...
0
votes
1answer
23 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
votes
1answer
36 views

How do I theme the user/uid/edit page?

I am using two themes for my web and mobile site. No matter what I try, the user edit page is always shown as in the theme of my web site and not my mobile site. The following code doesn't work. ...
0
votes
0answers
36 views

Bootstrap dropdown parent link not clickable

This is the first drupal project i'm working on and i'm having the following problem. I have my dropdown menu set up as followed: The problem is that the parent link "Materialen" is not clickable ...
2
votes
0answers
45 views

Bootstrap Accordion Adapting

I'm adapting my bootstrap html theme to Drupal 7 and want to use some of the features of Bootstrap 3 theme. In Bootstrap theme, there is a code for accordion menu like this: /** * Implements ...
1
vote
1answer
24 views

Drupal Views Remove First Part of Path

I have a view that has a link as one of the fields. the display shows the entire link path i.e, http://www.example.com/user i want just the /user to show up in the view. is this something that ...
0
votes
1answer
28 views

Wrap form field

I want to render a form element like this: <div class="form-group clearfix"> <label>Title: <span class="red">*</span></label> <div class="pull-left"> ...
1
vote
1answer
30 views

sub theme not inheriting css

I have a theme, and many subthemes, with the goal of creating a network of sites that are different, but share some resources (like the stackexchange sites do). What I want is to include lots of ...
0
votes
1answer
29 views

Where is $page['sidebar_second'] rendered? I want to edit the style of the <ul> listing of the recent comments

The comments in the block recent comments is styled with an unordered list. I want the points of the list beginn exactly under the N of New Comments. Google Chrome tells me that there is a ...
0
votes
1answer
38 views

From theme() to drupal_render() [closed]

I'm a Drupal themer, learning how to develop for Drupal. Currently I'm reading a book called Drupal 7 Module Development in which the following code is used. /** * Implements hook_block_view(). */ ...
0
votes
1answer
27 views

Theme function cannot be found Drupal

For some reason my theme function is not being found by Drupal. I swear I have followed everything and spent hours of time trying to make this work to no avail. Plus with not a single answer in the ...
0
votes
1answer
30 views

Output taxonomy term in views unformatted using twig

I'd like to output taxonomy terms as html classes for view-rows in the views unformatted template for Drupal 8. My code: {% if title %} <h3>{{ title }}</h3> {% endif %} ...
1
vote
0answers
25 views

Twig templates are not loading

I am using Drupal 8 from github:drupal/drupal@a9ac0fbf17, but having problems creating custom template, using Twig template engine. Here is template file structure: . ├── README.txt ├── ...
0
votes
1answer
23 views

How to add a div wrapper around a zone?

I'm using the Omega theme and have a zone that I need a div around for a certain content type. Trying to figure out the best way to do it. Was thinking a preprocess, but no clue which. Fairly new to ...
1
vote
0answers
37 views

How do I add classes to main menu ul and li in Drupal 8

I want to generate the html elements and their classes to fit my styling of the main menu. I'm confused by all the near-possibilities offered in the api documentation and by looking at core themes ...