Questions tagged [drupal-theming]

In Drupal terminology, "theming" is rendering or modifying the HTML markup produced by a module or a theme.

Drupal theming system allows a theme to have nearly complete control over the appearance of the site, which includes both the markup and the CSS used to style the markup. For this system to work, modules, instead of writing HTML markup directly, need to return render arrays, which are structured hierarchical arrays that include the data to be rendered into HTML (or XML or another output format), and options that affect the markup. Render arrays are ultimately rendered into HTML or other output formats by recursive calls to drupal_render(), traversing the depth of the render array hierarchy. At each level, the theme system is invoked to do the actual rendering. See the documentation of drupal_render() and the Theme system and Render API topic for more information about render arrays and rendering.

Reference

822 questions
0
votes
1 answer

Overwrite webform-submission-information.tpl.php for only one node

I'm trying to show the view submission to users just for one Webform and I'm trying to modify the information template. I've tried webform-submission-information-29.tpl.php and is not working. I have also seen the hook webform-theme but I'm not…
Lucia
  • 614
  • 1
  • 9
  • 30
0
votes
1 answer

Drupal 7 block.tpl.php does not exist

I am new in Drupal and try to create my own Drupal theme. I have copied the Garland theme from theme/garland and pasted it to sites/all/themes/(renamed mytheme). But when I search on how to integrate templates in Drupal, there I got that I need four…
Ron
  • 394
  • 1
  • 12
  • 24
0
votes
1 answer

How do I modify output markup for system secondary menu in Drupal 7?

I want to modify the structure of the secondary menu in Drupal 7 that appears when you are logged in. The secondary navigation shows 'My Account' and 'Log Out' links. By default, this renders as:

Secondary Menu

Pegues
  • 1,693
  • 2
  • 21
  • 38
0
votes
1 answer

Drupal 7 - Custom Field for radion button with images

In Drupal 7, is it possible to add custom field like below in article node? These values should be fetched from taxonomy terms
Saravanan
  • 1,237
  • 2
  • 18
  • 25
0
votes
1 answer

How to add active marker on menu in Drupal Bootstrap 7.x-2.2

I'm trying to add a triangle on the "active" element on the menu. I've added this css: .navbar .active::after { content: ""; position: absolute; bottom: -16px; border-width: 0px 15px 15px; border-style: solid; border-color: #ffffff…
hmartens
  • 33
  • 5
0
votes
1 answer

theme-settings.php not included in STARTER of foundation subtheme

I'm trying to create a subtheme of the foundation theme so I'm following the directions in the readme in starter map. All goes well except for there isn't a theme-settings.php file included in the starter map. I've now just copied the…
Vincent
  • 6,058
  • 15
  • 52
  • 94
0
votes
1 answer

error when I moved my drupal website

I'm a newbie in drupal. I have a website built with drupal 6, I moved it to another server, but the website is not working correctly I think it is a theme path problem. the errors: 1- Notice: Undefined index: website_theme in C:\Program…
0
votes
1 answer

Drupal theme for different views

I have created a custom theme and then created a view and later on created multiple pages from same view and filtering data based on category and adding link for each page in view into main navigation. I have set site main page url to master view…
0
votes
1 answer

How to concretely display any kind of content within a drupal module

this will be my first question on the site, I hope I'll be clear! So I'm working on adapting a regular php/html/js website to a drupal site. There are some specific things a can't do with the available modules, so a need to create some. I've been…
Nikolai
  • 256
  • 2
  • 13
0
votes
2 answers

Drupal 7 - fatal error passing a variable from custom module to a template

I am porting a module from Drupal 6 to Drupal 7 and I am trying to pass a variable from my custom module to a template. I have something like this: function my_callback_function(){ ... //some unrelated code $page_params = array(); …
Clickhere
  • 45
  • 7
0
votes
2 answers

Custom Content Regions for a Drupal 7 Home Page

I am developing a Drupal 7 site with a home page that consists of 5 regions. Each region will need to be editable within the Drupal admin system. Each region at a minimum will need to have an image upload and a text/body field. There may be other…
0
votes
2 answers

Drupal 7 Node reference by "query"

I have a content type called services_list_page that is used to create a landing page that people can then use to navigate to child pages using the content type service_details. The relationship between these pages is only defined by a menu and no…
Cory Baumer
  • 397
  • 3
  • 16
0
votes
1 answer

entirely edit drupal ecommerce theme

I am having a big trouble finding a way to edit and change the content of the Omega Kickstart 7.x-3.4 (default theme) for eCommerce sites. Firstly i made a sub theme of Omega Kickstart 7.x-3.4 (default theme) by using this link…
anjel
  • 1,355
  • 4
  • 23
  • 35
0
votes
1 answer

Drupal Omega Theme: Centering the logo image

I'm having some problems centering my logo in my Omega subtheme. When viewed in "inspect element" (Google Chrome) there's no other CSS being applied to my targets. My branding region stretches the full 12 grids across the page. I don't quite know…
foxtrotuniform6969
  • 3,527
  • 7
  • 28
  • 54
0
votes
1 answer

Drupal Help... How to Edit Specific Page?

Going crazy trying to find where in the drupal system I can edit this page: http://www.luxewinecellars.com/products/wine-cooling-units-0 I've have full admin access to drupal but can't edit this page form the web interface and can't find anywhere in…