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)

-2
votes
0answers
4 views

Don't Fall for Health Fraud Alpha max Scams

How to reduce the toxic exposure and personal care products instead at home of the environments and also talks about how to really use natural solutions for any type of skin condition you know and ...
0
votes
0answers
29 views

Inline javascript in drupal_add_js is causing WSOD [on hold]

In my template.php i am executing some inline javascript code. When executing, the result is a white screen of death (WSOD). The web servers error log says: PHP Parse error: syntax error, ...
-1
votes
0answers
13 views

Rendering nodes of a same content type in different templates

My Client would like to have multiple displaying for a same content types. He would like to compose the template before rendering. With what kind of modules, theming function can we handle this in ...
1
vote
0answers
13 views

Dynamic custom template for taxonomy terms

I want to use dynamic custom templates for taxonomy terms. I have created a vocabulory myvocab, Now in this vocabulory i have created an extra field of template in taxonomies that i want to use for ...
1
vote
2answers
19 views

how can i access a node variable inside of theme_preprocess_page function? [on hold]

I'm trying to access a node variable, the id of a taxonomy term but i have to do it at the page level in theme_prepocess_page function. i did it in preprocess node like this $libStatus = ...
0
votes
0answers
18 views

Changing region postition on a drupal theme

I'm quite a novice in drupal but quite advanced. i'm trying since last 3 weeks to achieve a "Region change" on the theme, i used for my site: "Business Responsive Theme". I've already tried-out ...
1
vote
1answer
23 views

How do I add classes to read-more link and add-comment link on node for bootstrap 3 [on hold]

Witch preprocess function let me add btn classes from bootstrap 3 to the two links at the bottom of every teaser in Drupal 7? I tried the following. function meetu_preprocess_node(&$variables) ...
0
votes
0answers
12 views

I need help theming node form in omega subtheme [on hold]

I'm trying to theme a custom content type form in drupal 7 and it is returning WSOD everytime I put this code Here's the code. Located in template.php of MYSUBTHEME function ...
0
votes
2answers
16 views

Drupal 7 Theme [Business] not pulling in to non-front pages

I am programming five custom modules for a client in Drupal 7. Tey have, well, HAD, a company in India doing their front-end work. Something went wrong and the India company stopped responding and ...
0
votes
1answer
20 views

What is the value of $page['content'] in custom front page?

I'm a Drupal noob and inherited a Drupal website to maintain. The site has a custom theme, which includes a "page--front.tpl.php" that Drupal loads as the front page. Within this script, there is the ...
1
vote
2answers
18 views

Uncaught TypeError: Only on Drupal edit pages

I'm using the BigSlide.js sliding menu on my drupal site, which i've built into the theme, and it works fine on every page, apart from on /edit/ pages. E.g. user/%/edit. When clicking the target menu ...
-3
votes
1answer
34 views

Drupal7 website running out of format [on hold]

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
15 views

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

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
13 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
27 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
33 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
31 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 [on hold]

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
23 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
33 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
16 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
20 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
24 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
20 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
31 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
20 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
17 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
33 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
18 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
40 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
52 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. ...
3
votes
1answer
36 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
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
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 ...