Questions tagged [drupal-themes]

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, such as "zen."

A theme is a "skin" that lets you change the layout and appearance of a Drupal site quickly and without programming.

For questions about the Drupal theming system, use .

166 questions
3
votes
5 answers

Drupal - Custom theme does not parse media module markup

I've got a problem with Media module for Drupal 7, it works great all over the site, except in a custom module I've created. The field that is used by this module, uses the same text formatting as rest of site, it properly renders bolds, tables,…
Atomicus
  • 691
  • 1
  • 5
  • 6
3
votes
8 answers

custom page.tpl.php for a drupal view

How can I create a custom page.tpl.php for a specific view? I'm not talking about styling the view itself, just the page where that view gets rendered. Thank you. @Keith Morgan - It's page.
Antonio Lopes
  • 512
  • 2
  • 8
  • 21
2
votes
2 answers

Displaying a drupal page without the template around it in Drupal 7

I'd like to render the contents of a "basic page" in drupal. Something like this question: displaying a Drupal view without a page template around it but for Drupal 7. My attempt almost works: function mytheme_preprocess_page(&$variables, $hook) { …
Tamás Szelei
  • 23,169
  • 18
  • 105
  • 180
2
votes
1 answer

Drupal: How to display part of an author's profile in a node

I have been trying to do display a custom field I created in the manage fields section of user accounts for nodes in addition to the profile page. The problem I am having with this code is that it will display the first field it finds and display…
kidA
  • 35
  • 5
2
votes
2 answers

Drupal adaptive theme logo url links to outside site

I have drupal site that uses the adaptive theme. Now the link in the logo is directed to "/" (to root of my site) but I would like to change it so that it would dirent to outside site (www.domain.com). How can I do this? This where the logo image is…
dasop
  • 21
  • 2
2
votes
2 answers

Drupal 7 - What is the variable in template.php that dictates which page template is used?

Ok, here's the deal: I am constructing a Drupal website that has several different sections. Each section is a view that displays a content type. (Each section has it's own content type) For example, I have a view that points to ?q=blog which…
Christian Chapman
  • 1,018
  • 10
  • 27
2
votes
0 answers

Drupal 8 - Hook theme not found, twig and CSS for custom Block not working

I'm working on a custom module that has a block. This block has a form in configuration where user input the relative data, so far it works its saving the data and it display it but without a template (twig). I was able to make it work with a twig…
2
votes
3 answers

assign drupal theme programmatically

I know that we can assign a theme named page-name.tpl.php to a page called /page/ with the use of the theme engine. How can i assign a theme to a template programmatically in drupal ?
user550265
  • 3,171
  • 8
  • 44
  • 55
2
votes
2 answers

Converting WordPress themes to Drupal 6?

I've seen that Drupal 6 has a really poor set of themes compared to, for example, WordPress. Do you know good resources/links for converting WP themes to D6?
Cris
  • 12,124
  • 27
  • 92
  • 159
2
votes
1 answer

Drupal 7: Specify header for a given page

I have a header section that's specified in html.tpl.php, but the header should be different depending on what page the user is on. Most of the pages are just a page content type, though I might add other types later, and also the homepage. What's…
Jane Panda
  • 1,591
  • 4
  • 23
  • 51
2
votes
1 answer

simple drupal 6 question, how to move Author and Date info at the bottom of the page

I'm trying to modify the content/article display detail and I'm not sure it that's done from the admin or from the xx.tpl.php file...(and if so which one) I have something like this (in a custom theme done by someone else..I'm just continuing the…
PartySoft
  • 2,749
  • 7
  • 39
  • 55
2
votes
1 answer

What is the correct way to change the active Drupal theme programmatically?

What is the correct way to change the active Drupal theme programmatically?
markdorison
  • 139,374
  • 27
  • 55
  • 71
2
votes
5 answers

HTML Template to Drupal Theme

I have an HTML template. What are the steps to convert it into a Drupal 6 theme?
Bharanikumar
  • 25,457
  • 50
  • 131
  • 201
2
votes
1 answer

Not able to make submit button work in form theme in drupal 7

I am trying to develop a module where in my form needs to be rendered in a tabular form. Everything is working fine except the submit button. It is neither calling default _validation or _submit functions nor _form_alter functions. I don't know…
2
votes
5 answers

How do I use a custom #theme function to a fieldset in a drupal module?

I have a module that builds a form that includes a fieldset. Instead of using the element to render the fieldset title, I want to place this content in a
element instead. But I want to change the behavior only for the form returned…
Rob Crowell
  • 1,447
  • 3
  • 15
  • 25
1
2
3
11 12