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
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
11 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
93 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
14 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
6 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
19 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
23 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
26 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
22 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
22 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
21 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
16 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
38 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
21 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
25 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
14 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
13 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
67 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
22 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
22 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
49 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
141 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
23 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 ...
0
votes
0answers
38 views

How to display a thumbnail of uploaded images when viewing a webform submission?

When a user is filling out a webform I managed to show a thumbnail when uploading an image using the theme_file_link hook as described in the drupal forums: function mytheme_file_link($variables) { ...
0
votes
0answers
14 views

I can no longer set a base color in Mayo theme in Drupal 7

I've been using the Mayo theme for a while now, but I was adding content one day and the base color suddenly went to white, and there is no longer a slot for setting a base color in the Appearance ...
0
votes
1answer
19 views

how can I activate modules and themes?

I am very new to drupal, so, sorry for my basic question. I have tried to instal new modules and themes. The installation process went OK, I got a"successfully installed" message. But when I want to ...
1
vote
1answer
31 views

hook_page_attachments() not called from mytheme.theme file

I am trying to load an asset library in my Drupal 8 custom theme. I have created the library and can load it via mytheme.info.yml file. However, if I try the load it using hook_page_attachments() in ...
1
vote
3answers
61 views

Hide page title on specific path

I want to hide page title on a specific path, but I want to retain the page title between "title" tags in the header. I want the title to be exist in title bar of the browser, but that should not be ...
0
votes
1answer
30 views

Is it possible to create a custom theme function?

I want for example to create a mytheme_table function to override theme_table etc. (in template.php) but I do not want to use it everywhere in my project. I need to replace the table with a div or to ...
0
votes
2answers
19 views

How might I display a field twice in a node using different field formatters?

Question: How can I show the field_showcase_headshot field both as a picture on screen and as a download link? Set up: From the load tab of Devel, I have a few fields on this node. The field ...
0
votes
1answer
33 views

Module and theme in one directory?

For my project, I have a custom module, a features module and a custom theme. I want to keep all in a single Git-Repository. The problem is: modules need to be in sites/all/modules, themes in ...
0
votes
1answer
24 views

Omega Theme, change content zone when sidebar had no content

I'm using Omega as Base theme. In the content zone I have 2 regions: 'Content region' set as 9 columns 'Right column region' set as 3 columns Is it possible to have a "flexible region"? I want to ...
0
votes
1answer
42 views

My new theme doesn't show the slogan

My site has a nice slogan that was shown with the previous theme. Now, after installing the new theme "Nexus" (Live demo here), the slogan appears no longer. What should be done to make it appear ...
0
votes
1answer
37 views

Drupal 7 Bartik Menu tabs changed to vertical list - how to reset back to tabs?

I have been working on a Drupal 7 install with the Bartik theme. Today, the main menu tabs changed to a vertical list on the left side of the page. I do not know how to reset this. I checked the ...
0
votes
1answer
22 views

Is it possible to add a wildcard in template.php to apply function to multiple items

I have a webform with 20 different select options under different fieldsets and they all need to have a custom drop down select field title. To achieve that you use this: function ...
0
votes
1answer
17 views

Is There a Generic Theme Duplication Module or Drush Command

As I understand there are Drush commands for Adaptive Theme, Omega, Zen and maybe other themes for creating subthemes, but is there a more generic module/way to create/duplicate a theme? It would be ...
0
votes
0answers
12 views

Trying to embed Nestio into Drupal website and not rendering

Am working with two different themes on Drupal and Real Estate Software Nestio which is a service that provides property information about available properties. Got it installed successfully on this ...
0
votes
1answer
34 views

how to remove element from node__product__type.tpl.php commerce kickstart

In my website with commerce kickstart, I would like to remove div with its class name "field_label" in node__product__type.tpl.php. I have no idea of how to code to remove it. Any suggestion is ...
0
votes
2answers
25 views

Is there any way to know which theme hook or template is being used to output certain area of a page

Is there any way to know which theme hook or template is being used to output certain area of page? I am showing different menus on a page and i want to know which theme hook is being used to output ...
0
votes
0answers
22 views

Omega Theme error

I made 5 years ago one website with Drupal. And now there is this Notice: Undefined variable: _POST funktiossa include_once() (rivi 1 tiedostossa ...
0
votes
2answers
100 views

Using own Bootstrap 3 files in Bootstrap Drupal 7 theme

I'm very new to Drupal 7 in general, so please bear with me. I would like to know how I can host my own Bootstrap 3 files (js, css) in the Drupal 7 Bootstrap 3 theme. I know I can deactivate CDN ...
0
votes
0answers
13 views

How can I output specific menu links from a single create menu

The goal im trying to achieve is to have a single created menu work with a header that has a left hand side menu, a logo in the center and the right hand side nav with the remaining links. I have this ...
0
votes
0answers
18 views

How to switch theme using custom URL parameter [duplicate]

Is there a way to make drupal switch to a certain theme by adding the URL parameter ?m=1 as www.example.com/?m=1
0
votes
1answer
25 views

How to theme a preprocess function output with a default, without the need of a .tpl file?

I created this simple function in order to print out the commerce order author UID and email. How may I add the output of the function inside the messages area, without creating a special .tpl? I ...