This forum is for assistance with theme development.

Dual Theme?

Is there a way to make a page that is not the same theme as the rest of the website?

Dale Sexton

avatar and digg this button alignment

Hi guys, I have a Drupal website using spread firefox theme, I have my avatar and its displayed on the right, I want to display on the top left, also I have digg this module installed, the problem is the digg this button was displayed on the buttom of the page, I want to move it on the top left and also below the avatar. I'm not really good on theming drupal and css, how do I fix it?

My website is http://chr05210084.com

I need help printing CCK fields on a node template

I have a node-products.tpl.php that I need to print some CCK fields out on. I have about 40 different CCK fields, but each of my product nodes only use about 10 of the CCK fields. I'm trying to run through each of the fields that I have in groups and print out the HTML code that is contained within the '#value' field in each array. I am able to print them with the following code, but I want to simplify it:
<?php foreach(array_keys($node->content['group_general']) as $key){
print $node->content['group_general'][$key]['#value'];
}
if(isset($node->content['group_cutter_specific'])){
foreach(array_keys($node->content['group_cutter_specific']) as $key) {
print $node->content['group_cutter_specific'][$key]['#value'];
}
}
if(isset($node->content['group_lighter_specific'])){
foreach(array_keys($node->content['group_lighter_specific']) as $key) {
print $node->content['group_lighter_specific'][$key]['#value'];
}
}
if(isset($node->content['group_punch_specific'])){
foreach(array_keys($node->content['group_punch_specific']) as $key) {
print $node->content['group_punch_specific'][$key]['#value'];
}
}
if(isset($node->content['group_knife_specific'])){
foreach(array_keys($node->content['group_knife_specific']) as $key) {
print $node->content['group_knife_specific'][$key]['#value'];
}
}

Unique Nodes for Different Node (Content) Types and Vews(?)

I'm not sure how to word my question as I'm unclear exactly how Drupal works. I've only had two weeks to study and implement it here: http://pi.ilovedogs.com. Eventually, however, I'd like to get into module development as I find Drupal very interesting..just not enough time to complete this particular project.

* What I'm trying to do (based on my understanding of Drupal): create a unique look for each node type. I've read a lot of material that talks about modifying the template.php and adding a hook function to catch and modify the node variables before they get passed onto rendering. I'm supposed to be returning the variable array to the node-.tpl.php file. I'm not sure how I can do that for more than one node type because it seems I can only overwrite that theme function once.

** I'm trying to accomplish the following (you may need to look at the website to understand what I'm trying to explain):
1. In the Featured article section (at the very top in an ugly green), I want to be able to write an article and also attach (in an extra field) photo, which won't be displayed at all in the node but rather used strictly as a background on the front page.

CSS and IE6 problem

Hello everyone,

I'm working a website portal based on Drupal and everything regarding the design works fine in FF Opera and IE7 however in IE6 the graphics and layout of the left and right panel are messed up

You can view the site at http://www.hummer-zone.com

You'll see the difference in IE6 instantly. I'm sure it has to do with the css however I just cannot seem to find the mistake. Can anyone help me to fix this?
It is based on the bluebreeze template but heavily adjusted

Thanks so much

node Weight Module with Views: Filter Node->Sticky

I have a wired problem and I don't know if it is a Bug in the "Views" or "Weight" module.

When I'am activating the "Weight" module all my views with Filter: Node->Sticky get an empty recordset.

Is this a Bug or what I'am doing wrong?

When I deactivate the Weight module everything is fine.

-Jens

Pages

Subscribe with RSS Subscribe to RSS - Theme development