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
0answers
10 views

Cannot display image thumbnail when uploading photo

I am doing everything by examples, but can't display my custom theme for displaying thumbnail when uploading images: function act_profile_page() { $form = ...
0
votes
1answer
8 views

Workbench Moderation - Admin Preview - Show Current Revision in Front-End

Can someone please help me on the following use case related to workbench module showing current revision but in the front-end. What I need: When we hit the preview button on edit content type ...
0
votes
2answers
23 views

How do I render field outside node

For custom content type page I used this: function MYTHEME_preprocess_page(&$vars, $hook) { if (isset($vars['node'])) { // If the node type is "blog_madness" the template suggestion ...
0
votes
1answer
19 views

how acces admin theme without /admin in url?

I try to have an admin theme for admin user and custom theme for user logged in without /admin/.... in the url. I create an entity content module, the routing is like that : # AnnonceEntity ...
0
votes
2answers
25 views

Theming node add form

I have a content type 'project' and I want to theme the node add form for this content type, I tried to create a page--node--add-project.tpl.php but I don't have the list of form element to render in ...
0
votes
0answers
12 views

How to override a file field on webform form?

I have a webform with a file field printed on an overrided webform template like this: <div class="field-archivos"><?php print drupal_render($form['submitted']['archivos']); ...
0
votes
0answers
18 views

How do I reload block content and make sure all JS fires properly?

I have a block and I want to reload its content when some conditions are met via JS. Currently I do not have any libraries attached to it but I am wondering that, in case there are some javascript ...
3
votes
2answers
74 views

Does a template override require a subtheme?

Feels like a silly question to ask, but I can't find a definitive answer anywhere. Background My project is a multi-site that features several themes that our users can choose from. These are all ...
0
votes
2answers
48 views

Why is my view not displaying properly for logged in users?

I have created a view with a link to it in the main menu of my website. When an anonymous user visits the page the content shows up with the theme. But for a user that is logged in, this view won't ...
-1
votes
0answers
16 views

Different bread crumbs depending on the theme (hansel module)?

How to make different bread crumbs for a different themes of the site by means of the Hansel module?
0
votes
1answer
42 views

Theme Not Working [on hold]

Okay head-scratcher, I simply uninstalled ckeditor (correctly), then re-installed after I did some tests with wysiwyg. However, now my theme (corporateclean - bootstrap) doesn't work. All the pages, ...
0
votes
1answer
17 views

Undefined Variable in include()

I have copied a working theme, so this must be something I have done :$ I am getting an undefined variable in include() (line x of /all/themes/newtheme/page.tpl.php ) I have gone through my page.tpl ...
1
vote
1answer
25 views

How to fix the useless 'favicon.ico page not found' log message? [duplicate]

Why is Drupal looking for it in the root dir in first place? The favicon is always placed inside theme at sites/all/themes/mytheme/, but it's looking for favicon.ico inside home / dir. When browsing ...
0
votes
1answer
20 views

Why can not Drupal find my theme for a custom block?

I read this answer, but I can not figure out, why my block is not shown. My block is activated in footer and should appear on <front>. /** * Implements hook_theme(). */ function ...
0
votes
3answers
35 views

Theme for Content Type

I am trying to assign certain themes to certain content types. Is there any way to do this in the admin configurations? I don't particularly want to use a module or modify php code for this. Thanks
0
votes
1answer
29 views

How to use preprocess function for custom templates defined in hook_theme?

I have a custom module that i've created and I have set the theme template like this: /** * Implemtnation of hook_theme() */ function custom_slider_theme($existing, $type, $theme, $path) { ...
0
votes
0answers
14 views

Imagefield Crop interface display skewed

I'm using Imagefield Crop on my Drupal 7 site (just like I've done dozens of times before). This time, however, the crop interface and output is all wonky: That crop yields this output: I ...
0
votes
1answer
22 views

Unable to implement photo slider in theme template

I downloaded a theme from here and I chose this theme because I wanted to builder a slider photo gallery as shown in the screen shot here. However, I am unable to achieve the desired effect because I ...
0
votes
2answers
50 views

How to customize Carousel in Bootstrap theme?

I am new to Drupal and want to know how I can customize a certain feature on the site. I am using the Drupal Bootstrap theme and I have added the Bootstrap Carousel in ...
0
votes
1answer
46 views

Paid $50 themes for drupal [closed]

I was looking for a designer for our project, but I found some sites which offer paid themes for $30-60. And they are very functional. I am just asking it is good or bad to buy these themes? Or is it ...
0
votes
0answers
20 views

How to make the wysiwyg style appearing the same as in front?

My active theme is a subtheme. The back-office wysiwyg don't take into account the css from my theme. I have been trying at /admin/config/content/wysiwyg to: choose the theme css or define a css ...
4
votes
1answer
119 views

Is there any alternative to devel themer?

I am using Theme developer module for theming. The module is pretty good, but still it is very buggy. Is there a less buggy alternative?
1
vote
1answer
61 views

How to transform the CSV link in the Views Data Export module in a non-image link display?

I'm using the Views data export module for my search interface so users can click a link to download the search results. It's working and displaying. But it's not pretty. My Data Export has the ...
0
votes
2answers
35 views

Trying to add a class to a menu in a preprocess function

I want to add a class to a menu - doing it in hook_menu won't work because I'm adding an icon with the icon API, and this seems to override any classes put on the menu items. I have this preprocess ...
0
votes
1answer
13 views

Trying to pass icon into the menu

I am trying to use the icon API to pass an icon to the menu - I would use the icon menu module, but I want the icon to switch based on programmatic logic. Here's what I have so far: /** * ...
0
votes
2answers
27 views

How to make a specific template according number of nodes in a content type?

I have a content type article and I need a specific template for showing articles according the number of nodes. If I have 2 nodes (content type article) I need to make a template, if I have 3 nodes ...
0
votes
0answers
7 views

Theming a form for custom page in D6

I have a page like url/microsite/conclave/ and I am rendering page in template folder like page-microsite-tpl.php , which is working correct as i expect. Now I want to create a form in ...
0
votes
0answers
15 views

Links to show Portfolio of sites

I would like to make a Drupal site where I can make a list of sites using views, where when you click on one of the site links it would show the concept site that I have made. I will be utilizing ...
0
votes
1answer
12 views

Page layout - removing footer

How do I go about removing the grey footer on this site - test.irvken.net It's the Bartik Theme on Drupal8
0
votes
1answer
22 views

theme module dependency and packaging modules with theme

If you're making a theme and associated custom modules designed for that theme and no other theme. Is there a way to package the modules with the theme so that when the theme is activated the modules ...
0
votes
1answer
19 views

Edit theme login page [duplicate]

I'm using a theme called Nexus. Now in the login page, /?q=user, it looks somewhat like this: All I want to do is change the order of the tabs, where "Log in" is in front, number one, then Request ...
1
vote
1answer
24 views

How to get main menu to highlight the link to the current page?

My theme, Riley, highlights menu item of the page that you're on. (for example). I suspect this is a function of Drupal and not specific to the theme. First question: is this generally true? If the ...
0
votes
1answer
30 views

Is there any theme record count?

Is there any theme record count? Like: "Showing 1 to 10 of 186 records". So that the user sees the number of pages and total number of records of a query (EntityFieldQuery). Something made my drupal ...
0
votes
1answer
20 views

Theme a form function in drupal 7 [duplicate]

I would like to theme a form function suppose comment_admin_overview. I am trying to theme an drupal core form ie., comment_admin_overview. I would like to change the comment listing page to a design ...
0
votes
1answer
39 views

How to change color and sidebar menu without using themes

We have a number of different themes on our website as we have different departments with different color styles. However, the only thing that changes are the colors of the sidebar and which menu is ...
0
votes
0answers
11 views

Ability to pass data “up” from template_preprocess[whatever] to template_preprocess_page?

I'm using template_preprocess_panels_pane and I have custom css that need to be generated and inserted in the header depending upon data in the panels pane. I can do drupal_add_css from ...
0
votes
1answer
32 views

display results from a form in theme-settings.php

I've been working on a way to upload a background image for months and I finally got it to work. How do I display the URL to the image on page.tpl.php? It's a form called background_file. Here's my ...
1
vote
1answer
38 views

When I try to browse to a site I get the localhost default page (WampServer)

I use WampServer, and just installed a theme drupal (Jollyany) on localhost, but when I click to explore the site, this sends me to localhost default page: I try to see what happens when i get on ...
0
votes
0answers
18 views

Custom Blog Theme

I'm not that experienced with drupal but I know some web design/dev. I have created a mockup using html and css of how I want a blog page to look. How do I make it that when someone adds a new blog ...
0
votes
2answers
21 views

JS and CSS in hook_preprocess_hook()

In the project I am working on I have created a theme hook that renders a .tpl.php file: /** * Implements hook_theme(). */ function my_module_theme() { $theme['my_module_list'] = array( ...
0
votes
2answers
16 views

Node Teaser template in custom module

I have used given below code for node--[content_type].tpl.php (default) template file function MYMODULE_theme($existing, $type, $theme, $path) { return array( 'node__NODETYPE' => array( ...
1
vote
1answer
37 views

How to include multiple default themes on website?

We are using Aegir, we would like to use one core theme for all of our websites which handles common theming. But for specific thming for each site, we would like to handle inside of their custom ...
1
vote
1answer
32 views

How to change the positioning of Drupal blocks when a theme is enabled?

I am developing a Drupal 7 theme. I want to change the position of the blocks when a user set my theme as default. In my theme the main menu is positioned in left sidebar. Suppose the current theme ...
0
votes
0answers
24 views

System settings form not saving weight with table drag

I am trying to do a table drag, and the table drag is working, but the weights don't seem to save on form save. Here's my form: function lextext_admin_settings() { $form = array(); $lextext_info ...
0
votes
3answers
63 views

Making a custom theme and want to know how to style first post different from the rest

After months of figuring out how to upload a background image, I decided to scrap that and use a solid color with the color picker. Now I moving on making a custom theme and it's very different from ...
0
votes
1answer
78 views

Drush command 'omega-wizard' could not be found

I want to create a sub-theme with Omega using drush but I get a couple of errors. I've been trying to solve these problems for a bit now and I need some help. I'm using OS X and XAMPP as my local ...
0
votes
1answer
112 views

Drupal gives `Notice: Undefined index: highlighted in include ..` error during theme creation

So, I have a fresh instal of Drupal 7.34 and decide to create a simple theme. I created a folder in /sites/all/themes/samayo and in it, I placed a screenshot.png, style.css, samayo.info inside ...
1
vote
1answer
18 views

Drupal theme customization [closed]

How can i programatically enable modules through a selectbox method? For example i have a list of modules in the site listed in checkbox. when a user selects a particular module and save the form, the ...
0
votes
2answers
15 views

Drupal Web Form put on the content

How can I move the Web form from the bottom of the content area to the top of content area? Where is the setting for this? Is it possible to move where the webform is displayed? The web form is in ...
0
votes
0answers
13 views

Change class only in full node with hook

How i can change class from col-md-8 to col-md-12 in content type blog when is full node not teaser with hook in template.php