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
-1
votes
1 answer

Drupal Delta node/block template suggestions

From reading the documentation, you can dynamically theme Drupal blocks and nodes by adding template files: "page-node-1.tpl" or "block-modulename-2.tpl". How do i know the delta value(in this case 1 or 2) to create a template file for node or…
RDRAO
  • 149
  • 10
-1
votes
1 answer

Looking for a way to create a web layout with overlapping text

I'm trying to build the following layout: a background color for the left half of the screen, an image for the right half of the screen and overlapping text: I'm using Drupal with a bootstrap based theme. I've tried building this by setting the…
Walnoot
  • 3
  • 4
-1
votes
3 answers

960px container but full width header/footer up/under the full screen bg image

I'm theming a Drupal website and using the vegas full screen bg. I want to achieve the following: But I have some trouble by theming the footer: I want it to be always displayed under the background image (so you have to scroll down to see the…
user3629755
  • 81
  • 3
  • 14
-1
votes
1 answer

Modal window with an image on Drupal page load?

I've just started with Drupal about a month ago, and I only know the basics of Javascript. I'd like to know an easy way for me to display a modal window with an image on my Drupal 7 site, when it loads. I've already tried doing it with the Lightbox2…
-1
votes
1 answer

How to Remove Image Resizing in HTML

I'm not sure if this website is re-sizing images via HTML, or if the image size is automatically added to the code. If the images are being re-sized, this would need to be fixed, because it slows page load times. Here is an example page.
trex14
  • 58
  • 7
-1
votes
1 answer

Can be professional with Drupal without having the Knowledge of PHP

Can be professional with Drupal without having the Knowledge of PHP and do something like Create a new custom theme .. etc or anything actually I have a very little bit knowledge with php thank you :)
-1
votes
2 answers

Drupal7: show 404 page after checks in preprocessing

I have some checks in my preprocessing files for nodes. If one of them is true I would like to show my defined 404 page. How is this possible with a php call?
MaxiNet
  • 1,008
  • 2
  • 14
  • 22
-1
votes
1 answer

How to integrate different templates for my frontend and backend pages of my website

Could anyone please help me with this situation. I do have a front-end and a back-end for my website.The problem that i encounter here is that i have 2 specific templates ,one for the front-end and other for the back-end.I have integrated my…
Nibin
  • 3,922
  • 2
  • 20
  • 38
-1
votes
1 answer

How to split the contents of $left which shows the navigation links in drupal

I was integrating a custom theme on to my project and i got stuck with this.The variable $left prints the navigation links on the sidebar.Actually when i print $left i get this auto-generated code shown below...But i need only the < ul>…
Nibin
  • 3,922
  • 2
  • 20
  • 38
-2
votes
2 answers

the right way to show content in themes

I'm new with drupal 7 and now I'm having a hard time with theme's coding, if more specific, I don't know how I should show pre-defined content. Previous developer of project said, that I absolutly shouldn't use/hardcode any content and links…
gintko
  • 697
  • 8
  • 16
-2
votes
1 answer

Drupal new theme creation

I am new to drupal. I have created a new drupal theme. my theme affected drupal page. If I click add Content page,Content page not formatted. I am not able to add the content in my new theme. here I have paste page--front.tpl.php file.
sakthidasan
  • 1
  • 1
  • 5
-3
votes
4 answers

is there an attractively themed Drupal app (kinda like Joomla) with at least hello-world implementation of lots of hooks for learning purposes?

Joomla looks pretty good out of the box. Drupal looks very ugly out of the box and does not do anything, except for admin tasks. Is there by any chance a n00b-friendly Drupal app that would look pretty (kind of like Joomla out of the box) and use a…
EndangeringSpecies
  • 1,564
  • 1
  • 17
  • 39
1 2 3
54
55