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

Firefox 12 ignoring styles for input[type="email"]

I have a form in the sidebar of a drupal site I'm currently working on. I have specified styles for the input[type="email"] element. However firefox does not respect the styles I've dictated. I've tried using the input[type="email" selector as well…
Doug Wallace
  • 255
  • 1
  • 2
  • 9
0
votes
1 answer

how to wrap a form generated by webform in a div?

I am using Drupal now. is it possible to wrap the form generated by the community webform module in a div? any theming method or hook point to do this?
David
  • 2,691
  • 7
  • 38
  • 50
0
votes
1 answer

Pass search word to template in Drupal Solr search

Can I get the searched word passed to the search-results.tpl.php template? I am using Drupal and Solr search.
user995317
  • 353
  • 6
  • 16
0
votes
2 answers

Access custom theme settings from within views

I have a few custom theme settings which so on my themes settings page.. this all works fine and as expected. I now need to create a view that gets that custom theme setting. I can't find anything on how to do this. I have installed the views php…
Cybercampbell
  • 2,486
  • 11
  • 48
  • 75
0
votes
1 answer

How to make sidebar with 100% height that overlays header but in same time doesnt overlay footer

I am editing Drupal theme and I am trying to figure out how to make sidebar that would stretch according to content, overlay header but in same time wont overlay footer. Kinda hard to explain, so I draw an image ->…
0
votes
1 answer

Drupal different theme for arabic and english

I created a drupal website in English, now i want to add an Arabic version to this site. I have added and enabled the i18n modules and now i have language switch options in my content creation and editing page in the admin.I want to show different…
Sreejith Sasidharan
  • 1,318
  • 5
  • 25
  • 46
0
votes
1 answer

Issue with drupal 6 theme('username',...)

I'm trying to print the full name of user instead of the username using theme('username',$name); The full name is displayed but with as a hyperlink (in between ..) which links to the user's profile page. I just want theme() to output the…
Rajesh
  • 3,743
  • 1
  • 24
  • 31
0
votes
1 answer

Drupal 7: How to have complete control over a node's layout

I'm trying to do a 3 column layout for the homepage of a Drupal 7 site. I have a region created in the template. I then have a content type called text_panel which uses the node block module. For each column I just create a new text_panel node, and…
Robin Barnes
  • 13,133
  • 15
  • 44
  • 45
0
votes
1 answer

Drupal 7 change theme for module

I have created a new module based on the Extensible Wizard Example found in http://drupal.org/project/examples. This is a one of 5 form modules which will all run on the same drupal site. I need all 5 modules to use different themes but cannot…
James Cooke
  • 15
  • 1
  • 4
0
votes
1 answer

Nivo Slider not showing images in Drupal site

I am trying to add Nivo Image Slider on my front page in drupal theme running on localhost. I am using an existing druapl 6 theme template as my base theme. I followed all the steps given on the following website on how to install nivo…
codeinprogress
  • 3,193
  • 7
  • 43
  • 69
0
votes
2 answers

Drupal Front Page Markup

I'm trying to change the markup around articles being displayed on the front page of a drupal site so I can integrate them into a slideshow. (I can't use a slideshow module). I have a page--front.tpl.php file, but I need to add more specific markup…
-1
votes
1 answer

Home page not displaying correctly in IE8

My website's home page isn't displaying correctly in IE8 8.0.7600.16385 and Opera. The right sidebar is mixing with left sidebar and moving down the page. I'm using the Garland theme and I've not changed anything in it. But if I click any page and…
AgA
  • 2,078
  • 7
  • 33
  • 62
-1
votes
1 answer

My custom module for Drupal 8 creates errors in the logs

I created a custom module for Drupal 8.6 and Drupal Commerce 2. It works, but when I look at the drupal log I have a PHP warning every time I reload my page. How can I correct these warnings ? commerce_marketplace_premium_merchant.module…
mathieu
  • 1
  • 2
-1
votes
1 answer

Modifying and Existing Drupal Theme

The theme I am using has a slider -- a panel of automatically changing images to display a topic that the user can choose -- but it only shows a few slides. I want to extend it to a dozen slides. I did simple text searches to determine which files…
xarzu
  • 8,657
  • 40
  • 108
  • 160
-1
votes
1 answer

find all the child nodes using the parent nodeid in drupal

how do i find all the child nodes using the id of a particular parent node in drupal? I tried drual_menu_tree , but it displays only the child of the current page.
Sreejith Sasidharan
  • 1,318
  • 5
  • 25
  • 46
1 2 3
54
55