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)

-3
votes
0answers
24 views

Drupal7 website running out of format

The website I have design time to time run out of format "not loading the CSS" , mostly after user login. AS you can see from the photo the menus from horizontal to vertical It is almost 3 days ...
-2
votes
0answers
13 views

Notice: Undefined variable: server in eval() drupal 7 [on hold]

I am facing an issue on my drupal (7.31) website. It occasionally takes a long time to load. When I check the Recent Log Messages this is the error that appears 'Notice: Undefined variable: server in ...
0
votes
1answer
11 views

How does the theme folder work in drupal 7?

In Drupal 7, I would disable a theme within the admin section and i would physically rename the theme directory (from themeName to themeName_old), clear cache and restart the server, to my surprise, ...
1
vote
1answer
26 views

How to add class to individual radio item inside “radios”?

I need to style my radios as tabs. So I created a form element like this: $form['important_categories'] = array ( '#type' => 'radios', '#label' => NULL, '#attributes' => array ( ...
0
votes
1answer
19 views

Two variables in function

I know this is my fault and lack of knowledge of php . Sorry about this . I have a function in my template.php . /** * Implements THEME_preprocess_node(). */ function ...
0
votes
2answers
32 views

View Render output in bootstrap tab style

I have an Unformatted list style view with 2 grouping: Grouping field Nr.1: Allestimento. Grouping field Nr.2: Descrizione (allestimento and descrizione fields are excluded from display.) Now I ...
0
votes
0answers
20 views

Ubercart product link with content type

I’ve created an Ubercart store for this property management website. I’ve just got one more piece of the puzzle to do and then it’s complete but I’m having some trouble figuring this one out. There ...
0
votes
2answers
30 views

Does creating multiple tpl files affect site performance?

I am creating different tpl file for each and every content type. (Including every view) Is it a good practice? And does it affect site performance? Any suggestions? thanks
0
votes
0answers
11 views

Exposed filters increase page width

I've created a page with two exposed filters, a dropdown and a search (i've tried removing one and still persists) and it increases the width of the page. I've inspected the page but there doesn't ...
0
votes
2answers
29 views

Trying to modify Main menu by testing $vars['heading']['text'] == 'Main menu',

I'm trying to modify the code for the main menu only. below is my sorry code, which is not working. it attempts to see if $variables['heading']['text'] equal 'Main menu' function ...
0
votes
2answers
20 views

Form Alter Foreach Loop changes not sticking

I'm trying to modify my exposed filter block to put each of the controls inside fieldsets, and make other modifications to them. However, when I try to utilize a foreach loop to do this, none of my ...
0
votes
1answer
22 views

Code to output individual fields in a Theme view

I know this question seems to have been half answered a few times but I'm finding it difficult to apply a working solution. I have created a new theme from scratch to use for a view I have created. I ...
0
votes
1answer
27 views

Add a popup text link to a specific “create content” page

I've looked everywhere and can't find an answer to my problem. I'm trying to do something that seems like it would be relatively simple, but I keep coming up empty: add a pop-up text link to the ...
0
votes
0answers
17 views

Block to Block Communication

I am creating a view that displays content in styles that vary as a user scrolls down the page similar to the windows tiled start menu. Using views I know that I can format an unformatted list to do ...
0
votes
1answer
14 views

How can classes be removed from panel panes?

Is there a way to remove the default 'panel-pane' classes, without creating hundreds of templates for different entities, and while still keeping the option of adding custom classes to panes?
0
votes
1answer
15 views

How do I prevent Drupal raising a segmentation fault when using a Node.js theming workflow?

Symptoms: Some drush commands fail; Some Drupal pages are blank. The failing drush commands report "Segmentation fault: 11" The Apache log (e.g. php-error.log in MAMP) also shows the same error. ...
1
vote
1answer
17 views

overriding template file of display suite layout applies on other pages

I created a display suite layout "tow column stacked" in manage user section, then I want to override that template, and make a new one in my theme templates folder, the ds module suggest for me : ...
0
votes
0answers
26 views

Creating a Module Level Main Menu Replacement

I am looking to create a module (not theme) that replaces/augments the main menu in Drupal 7. I've got a CSS driven menu (MegaMenu style). It's generic and I want to reuse it across ...
0
votes
1answer
20 views

Layout detail node + ckeditor layout

When I create a node of content type Proposal like this: I can add images, paragraphs, ... . But it looks like this on the detail page of the node: No image, no paragraphs, ... . What could be ...
0
votes
1answer
23 views

How to theme a Quiz in Drupal 7? - part 2

Trying to customize the look and feel of my quizzes in D7 - and getting overwhelmed. I have the Skeleton base theme installed. Calling this Part 2 because - this is an extension of How to theme a ...
0
votes
1answer
29 views

How can I load content on the same page from a search

So the idea is to load the results of the search on the same page. I was told to look into SOLR, but it looks like we have something similar to SOLR , and we just need to know how to load new page ...
0
votes
1answer
19 views

Scrolling in chrome shears text and elements [closed]

the testing version of a portfolio site I'm working on started behaving strangely in the past few days. This might or might not be a problem related to drupal itself, but I've never come across this ...
0
votes
1answer
30 views

Schema.org itemprop=“url” inside anchor object (link)

I'm trying to use the preprocess function to change the default outpot of links <a href> to include Schema.org's itemprop="url" inside the anchor object, as well as adding a <span ...
0
votes
1answer
17 views

Contact Form in custom Theme

I need to create one request information form that goes to each page in my website. That means I need to add that form into page.tpl.php page. Form includes just basic information like name, email, ...
0
votes
0answers
10 views

Alter titles of account tabs containing views tabs

I can easily alter titles in user account tabs from inside template.php like so function custom_theme_menu_alter(&$items) { $items['user/%user/edit']['title'] = 'mytitle1'; ...
0
votes
1answer
15 views

How To Simplify The User Registration Page

I'm wanting to really simplify the user registration process using nothing more than HTML, a Field UserType Choice (ie: a: teacher OR b: Student) and a Rules set to set the user to the required User ...
0
votes
4answers
32 views

module_load_include loads file but also prints path to the file

I am using the api function module_load_include to include some markup in a custom module. The markup gets included and I indeed see it on my page but I am getting a side effect that the path to the ...
0
votes
1answer
15 views

If Profile2 fields are empty, problem in accessing data

I just found out that if ALL fields of certain Profile2 profile ie. main are empty, I am not able to access data inside main profile. For example I want to do a check if a field is empty but can not ...
0
votes
1answer
39 views

access profile2 fields values

How can I access fields values inside profile2 main profile? Only on edit main profile page? I try to hide a field on profile2 edit page based on another value. Code is from my template.php function ...
0
votes
1answer
45 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 ...
-2
votes
0answers
17 views

Implement CSS grid system into commercial theme I've inherited

I've just inherited a Drupal site that uses a commercial theme. While we're not probably supposed to promote/criticize specific commercial themes on this site in order to remain professional, as a ...
1
vote
2answers
55 views

Simulating TYPO3-Template-Engine

For my next drupal project I need more flexibility in content-styling, than the standard approach allows. I need to be able to build the content-body for every single node from different elements. ...
2
votes
0answers
33 views

How can can I get theme callback to work for an error page?

I've created a custom error handler for 404 errors (page not found). I've set up Home » Administration » Configuration » System » Error Pages for 404 errors to point to ...
1
vote
1answer
34 views

Where to find the html.tpl.php $head variable content generation

I'm looking for a way to edit the $head variable of the html.tpl.php. Where exactly is this variable composed and set?
0
votes
1answer
12 views

hiding taxonomy terms on term page

I'm struggling theming the taxonomy-term page and since i'm not really getting anywhere, i now embedded two blocks (created with views) in my taxonomy-term.tpl.php. Now, that views is showing ...
1
vote
1answer
22 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
33 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
21 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
3answers
37 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
27 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
41 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
26 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
59 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
24 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
16 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
29 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
22 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
2answers
22 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
37 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
59 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 ...