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

Add content type to body class

I want to add a body class for the content type of each node. Drupal already provides this, but it isn't always consistent between the Node view, the Node/Add view and the Node/Edit view. This makes ...
1
vote
0answers
10 views

Change the #formatter of a field when printing it in a tpl.php file

In my node.tpl.php I have used KPR on a field. I notice that is has a lot of options like ['#formatter']. I would like to change these options when I print the field out in my node.tpl.php file. How ...
-2
votes
0answers
37 views

What are you all doing to make a responsive Drupal theme by April 21? [closed]

Starting April 21, Google will lower the ranking of your site in its mobile listings if your site isn't "mobile-friendly!" What are you all doing to make a responsive Drupal site? More info about ...
2
votes
1answer
24 views

Upgrade zen theme (7.x-3 to 7.x-5.5)?

Presuming I have zen-7.x-3.x + a sub-theme, how do I go about uprading to zen-7.x-5.x? Perhaps using drush? I am in awe of the people who wrote these pages: https://www.drupal.org/node/219527 ...
5
votes
2answers
107 views

Render a field contained inside of another field

I am using Drupal Paragraphs module that lets you create "bundles" of fields inside other fields. (It does this using entities). Each bundle has it's own tpl.php file. In addition, you can nest ...
0
votes
1answer
23 views

Order of preprocess functions in drupal

I have started learning drupal for few months. Now I'm doing some theming. I would like to know the execution order of pre-process functions.
0
votes
0answers
23 views

theme framework for a huge portal drupal website [closed]

we are creating a huge portal website with drupal. we are looking for a theme framework which best fits our needs and goals. the most important goal of this web site is to have content in all ...
0
votes
1answer
25 views

hook_preprocess_html in my module

I am having a content type with fields select list, js, css, and body. In the select box it list a number of templates to apply on the current node. I have these custom templates in the templates ...
-1
votes
1answer
16 views

how do I upload or apply this edited theme from my computer to my webpage?

I have edit the Corked Skewer theme on my computer. I am not using XAMPP. I just simply created an account on drupal.org. So how do I upload or apply this edited theme from my computer to my ...
0
votes
1answer
20 views

How to add Modal in Bootstrap Sub Theme

I am trying to make a sub theme based on Bootstrap 3 Drupal theme. I want to add a modal markup in every page. I can see in the base Bootstrap theme template files, there is a file called ...
0
votes
0answers
14 views

how to over-ride text box classname in drupal [duplicate]

By default text box class name is : class="form-text" i want to over-ride the class name, with some othername. how to over-ride ? Can any one give the suggestions.
0
votes
0answers
13 views

(WAMP multi-site set-up) Why are symlinked folders causing blocks to be disabled?

First question posted here, so bear with me. I'm working with a WAMP setup, Windows 8.1 + latest Drupal 7.x. One of my installations is a multi-site with several sites hosted within. My problem ...
0
votes
0answers
7 views

Search Results Templates Strange Cacheing Behaviour

I've been trying to resolve an issue with my search results templates. There are two scenarios that I could really use some help with understanding: I have no search result templates inside my ...
0
votes
1answer
15 views

Get the user theme

In my admin page, I have a text field, for which I want to set the default_value as the active theme. I am getting the admin theme. But my requirement is to get the user theme. Is there some how I ...
0
votes
1answer
14 views

Theme_hook_suggestions not working

I'm using hook_preprocess_node in a module. In that, I check whether the node type, and on satisfying the condition I'm doing a theme_hook_suggestions. My tpl.php files are inside my modules template ...
1
vote
1answer
10 views

Comments and Testimonials on Profile 2 Profiles

Is there a way of enabling either comments or a guestbook/testimonial functionality on Profile 2 Profiles? I've read discussions on here about implementing on User Account Pages but not for the ...
0
votes
1answer
19 views

Get rid of absolut links / redirects

I just got a project from a friend: D6, 6.34, 3 languages. Theme: Sharp Sales (via Fusion via Topnotch) So quite an ancient project and I first installed a local copy, but I can't login - it keeps on ...
0
votes
0answers
6 views

Slideshow pictures in Corked Screwer theme not responsive

I'm using the corked screwer theme and when the site is opened on a mobile device the pictures in the slideshow do not resize so that you see the complete picture, instead it looks like it is zoomed ...
0
votes
0answers
13 views

Disclaimer will not show up on first launch of site

Basically, all I want is a disclaimer/splash page to where it verifies youre 21 (just by clicking yes or no) before accessing the home page. I have the most upgraded versions of jQuery, Colorbox, ...
0
votes
0answers
20 views

Can't override links__system_main_menu in Drupal

Im working on my custom theme (modified stark theme) and there is a main menu in page.tpl.php generated by: <?php print theme('links__system_main_menu', array('links' => $main_menu, ...
0
votes
0answers
6 views

Calendar Module: Year view - Customise Month format

I am using Calendar Module to create a Year View. At the moment, the headings for each month are displayed in the following format: Thursday, January 1 I only want to display the month (e.g. ...
0
votes
1answer
13 views

Add body class to Node Display (to distinguish it from Node/Edit or Node/add view)

I want to add a body class that will only appear on the actual node display (e.g. mysite.com/node/1). I don't want this body class to appear on the node/edit page (e.g. (mysite.com/node/1/edit) or the ...
0
votes
0answers
13 views

How to process form in template when you aren't printing the entire form

I have a form where I am only printing out certain parts of it because I want to style around them. i.e. <?php print drupal_render($variables['form']['field_city']); ?> However, when I try ...
1
vote
1answer
102 views

Drupal site is compormised by backdoor [duplicate]

My drupal site is compromised. But i did I applied all modules updates and update my drupal core drupal 7.35 version It is still compormised. What should i do next ? Thanks
1
vote
1answer
23 views

Views: Display filters as a HTML UL list of links with clean mark up

I have a View that has a filter which allows users to select nodes that contain specific taxonomy terms. I would like to display this as a HTML list of links (<ul>). How can I do this? ...
0
votes
0answers
7 views

No CSS class for “language selection” field type

I've notice Drupal 7 renders Language Selection field types with not an own class, which would be very useful while writing CSS style. <div class="form-item form-type-item"> ...
1
vote
1answer
25 views

programmatically create one bean block to the default theme

I am trying to programmatically create beans in a custom module using entity_metadata_wrapper. This is creating a bean for each installed theme. (In Drupal 7) Is there a way I can create only one ...
0
votes
1answer
15 views

Trying to to display form in template

I'm trying to display a form in a template (not my first choice, but I'm restricted in what I can do here) and I'm having some trouble figuring out how to do it. I'm trying to tie into the Ubercart ...
0
votes
1answer
25 views

Node blog dislpay all content type blog in theme

I have content type page with node called blog(page blog) and I want to display all content type blog in it(content of page blog). how can i do this in theme without using block or views.I'm try to do ...
0
votes
0answers
32 views

Error When Uploading Files/Media to New Theme Installation Profile using Godaddy Linux Hosting

I'm making a drupal site using a themeforest template. It is a very good template with lots of custom modules and blocks. But there is one bug with the install profile, and maybe it's because I have ...
0
votes
0answers
26 views

drupal default image field without “remove_button” on edit form drupal 7

I have created one event content type. On which I Have field_event_picture image field. Now what I want is, when user edit event form user will click on field_event_picture and browse popup comes up, ...
0
votes
1answer
23 views

How can I override a node's post date theme?

HTML5 provides a time element, and a lot of modern sites are using the time element for their content post dates. How can I override a node's post date theming, so I can change the rendering from a ...
0
votes
1answer
32 views

Add radio buttons and text field together to theme-settings.php

I want to integrate a CSS switcher into my theme, but without the Color module. So I want a radio button list, (or a select list, or dropdown, doesn't really matter), with a list of different styles, ...
0
votes
0answers
19 views

Theme a form element in drupal with template file?

I wanted to ask you if its possible to do following things: My form consists of three elements. 2 Dropdowns and one custom element. The second dropdown values are getting rendered when I choose a ...
0
votes
2answers
28 views

What is the proper way to style pages in a new installation of a drupal theme?

I'm currently working on a new theme for a new drupal site, and have created a new subtheme of the adaptivetheme and am looking to modify it to match the two psd's I've been given (one for the main ...
2
votes
1answer
47 views

How to display the node title in different region 2 using theme method in drupal 7

I want to display the breadcrumb and page title in my main content area. For breadcrumb I used theme('breadcrumb', array('breadcrumb' => $breadcrumb)); What should I use for page title? I have ...
1
vote
1answer
8 views

Any way to customize default nomask used in file_scan_directory() to allow Node.js modules?

I would like to use Node.js modules (such as grunt-contrib-imagemin) in my Drupal theme, but that adds *.info files which confuses Drupal. If there were some way to change the default value of nomask ...
0
votes
1answer
10 views

How to theme a view that displays content from a relationship?

I have a page for Organization. Each organization has a Featured Person field which is an unlimited node reference to the Person content type. The organization can have many featured people. I also ...
0
votes
1answer
22 views

best practice: what directory should the theme be located for a site install profile

Thanks in advance, I am building a site install profile. Trying to wrap my head around the file structure. I am creating a Drupal 7 install profile with a sub theme off of omega. Is it better ...
0
votes
2answers
23 views

Need responsive footer for venture theme

For my website I am using the venture theme of version 7.32. I found that every part of the webpage is responsive for mobile so far, except the footer section does not fit and align with the rest of ...
0
votes
1answer
26 views

Where are templates from hook_theme stored in the database

I have a module, called "bundles", there I created a file "attached_email.tpl.php" and a hook_theme: function bundles_theme($existing, $type, $theme, $path) { $path = drupal_get_path('module', ...
0
votes
0answers
16 views

Context is not being applied in Drupal 7

I searched for my problem so please forgive me, when this is duplicate as I'm newbie and the drupal specific terminology isn't my native tounge :) I set up a delta "delta_theme" for a theme I'm ...
0
votes
0answers
17 views

Is there any theme with Stylus CSS Preprocessor support?

I am trying to find a theme which support stylus css preprocessor as i want to avoid having ruby dependency and stick with node.js
0
votes
0answers
85 views

Trying to theme my user login/registration/password reset pages in Drupal 7, going bonkers

What seems like it should be a very, very simple task -- theming the user login, registration, and password pages in Drupal 7 -- is turning out to be a Kafka-esque nightmare. I can't figure out what ...
0
votes
1answer
25 views

Image getting delete away by the cronjob later in drupal 7 using theme settings

i`m using system theme settings alter to add 4 images for theme, images are getting deleted /swept away by the cronjob later .trying using FILE_STATUS_PERMANENT images are not getting set as ...
0
votes
0answers
25 views

no css/javascript when anonymous

I finally was able to fix my site in our stage environment until I logged out of the admin section. Now the site has no css at all. All the html seem to be fine. If I login as admin, the site is still ...
0
votes
2answers
62 views

How can I call 3 tpl.php files in hook_theme function?

I have 3 tpl/php files and i want to call those .tpl files on the request of user. where i have given user a dropdown list to select the .tpl files. I have created dropdown list but i don't know how ...
8
votes
1answer
144 views

Does a sub-theme needs the main theme enable?

Just to clarified a doubt. But when creating a sub-theme, is it necessary to have the main theme enable ? Thanks
0
votes
0answers
25 views

How to send result to a theme form

Here is what I am looking for. I have a hook menu which calls a themed form to enter details. I have another hook menu which calls the records in a tabular form. Now what I want is to add a link to ...
3
votes
1answer
44 views

Difference between 2 methods of adding a CSS files in theme.info?

What is the different between these 2 methods of loading a CSS files? ; Method 1 css[typography.css][name] = Typography css[typography.css][description] = Typography ...