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)

-1
votes
0answers
11 views

how to pass output of `field_view_value()` to theme function in Drupal?

how to pass output of field_view_value() to theme function in Drupal? Something like this, below coded. $output_raw = field_view_value('node', $node, $field_name, $items[0]); return ...
0
votes
2answers
24 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 ...
-2
votes
1answer
40 views

Paid $50 themes for drupal [on hold]

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
17 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
91 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?
0
votes
0answers
16 views

Prettifying CSV link for Views Data Export

I'm using views data export 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. Right now there's a button at the ...
0
votes
1answer
22 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
1answer
16 views

Integrate Parallax website in Drupal platform [on hold]

I'm just doing some research for the business I work for - we're interested in creating a parallax section to our website which essentially would integrate with the rest of the current Drupal site. ...
0
votes
2answers
26 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
20 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
22 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
18 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
29 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
31 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
30 views

Why in any click, send me localhost panel?

I use WampServer, and just installed a theme drupal (jollyany,) in my localhost, but, when i click to explore the site, this sends me localhost panel, as the image I try to see what happens when i ...
0
votes
0answers
17 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
20 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
14 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
36 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
30 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
18 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
61 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
0answers
40 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
59 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
17 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
12 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
0
votes
0answers
33 views

Print value from Views field & HTML into Colorbox Image caption?

I have created a view for an image gallery with the images using the colorbox field formatter so that they open up in a colorbox window when clicked. I would also like to display the values from the ...
1
vote
1answer
31 views

Variables in template files

In my .tpl.php template files, I have several links and names of external websites. I would like to print these as variables, which are defined in template.php. That way, if I have to change a link, I ...
1
vote
1answer
27 views

How to Split Regions

Is there any way I can split a region into 2 different regions. For example, in Garland theme I want to split the HIGHLIGHT block region horizontally into two regions.. is it possible ? Any help ...
1
vote
1answer
21 views

Permission to display edit profile link

I'm customizing user profile page in my Drupal 7 site. I decided to remove menu tabs on the page by modifing template.php file with following code function ...
0
votes
1answer
32 views

How to put page-title inside of my content's first panel?

Using a custom theme, pretty basic (so far): <section id="content"> <?php if ($title): ?> <h1 class="title" id="page-title"> <?php print $title; ?> ...
0
votes
0answers
11 views

When creating new theme all blocks from main theme are automatically inserted

I'm using the domain access module to use different themes on different domains. I created a new theme. However when enabling it, all of the blocks from the main theme were automatically inserted into ...
0
votes
1answer
16 views

$page not targetting views block but $is_front is. Need help with trying to solve this in any way

I wrote this poorly the first time, more succinctly: I need a custom node.tpl for the same content type in the front page teasers, the node itself, and a views listing of that node in the sidebar on ...
2
votes
0answers
27 views

Installing Footheme

I submitted this as an issue to Adaptive Themes over a month ago and haven't had any response, so I'd like to ask the community for help with it. I've selected Pixture Reloaded as the theme for a ...
0
votes
2answers
28 views

How can I get a custom number of posts on the front page without views?

I need to have 16 nodes on the front page. Drupal only allows 1-10, 15, 20, etc. I'm using views now but it breaks the AJAX of the rate module.
0
votes
0answers
9 views

How can I get the functionality of the search page form in a block?

I'm using this right now to get a search form in the page header <?php $form = drupal_get_form('search_block_form', TRUE); ?> <?php print render($form); ?> However when you go to the ...
0
votes
2answers
43 views

How can I print a text field's database value with devel so that it displays on all nodes?

I want just the text field's data without an of the "field-" divs wrapped around it. It's a link so I want to do something like <a href="foo.com"><?php print ...
0
votes
2answers
23 views

Content Region Not Displaying

I'm relatively new to Drupal and am just squashing bugs on my first site. I have a region that I declared in my theme.info file: regions[alert] = 'Sitewide Alert' and I have a block that has a ...
0
votes
3answers
57 views

Themes, blocks, and content … Oh my!

I am a newbie to Drupal/Acquia Dev Desktop. Please excuse me if this is a dumb question. I'm trying to grasp the relationship between themes (the one I chose is Corked Screwer), blocks, and content. ...
0
votes
2answers
53 views

appling different styles based on taxonomy

I have a site with 120 categories of content. I've used taxonomy to make these categories. now I need to have some different styles base on the taxonomy which is used in nodes. OK? how can I do it. I ...
0
votes
1answer
29 views

Override alter.inc in child theme

Bootstrap.js is breaking a menu plugin I'm using. It's called with this $bootstrap = $theme_path . '/js/bootstrap.js'; $js[$bootstrap] = drupal_js_defaults($bootstrap); $js[$bootstrap]['group'] ...
0
votes
1answer
26 views

Mark New Nodes in Views via Template

I have a portfolio view that displays all items in the portfolio. The fields are set via template so I do not have access to the fields area in views to select the parameter there, I have to do it ...