Drupal Themes

Display a module in a block

Hello,
I'm just starting learning drupal, I created a template on a test site, got a few basic pages and navigation running, and I've installed the job_posting module... I'm trying to have the front end of that module display in a block. How can I do that ?
Thanks,
Ben

Views and rows theming

Hi all,
I have a view rows tpl which i am using. But all the tpl gives me is the row details in one single string. I need to create a custom loop through all rows and have control over the individual fields within the rows in one tpl.
Is this possible? I cannot figure out a way of pulling all rows in an array format with fields within.
Any help would me much appreciated.
Thanks.

It amazes me how morbid, drab, and dark the themes for Drupal continue to be.

Here come duh rain
It amazes me how morbid, drab, and dark the themes for Drupal continue to be.
Each day I go to download and look over the latest theme releases...
Yeah, I know I can always fix themes by using Zen and going through process of basically building my own theme.
Yet, the reason I use Drupal is to save time in development and put up more fully featured sites.
Sure would be nice if some theme developers would start spitting out some upbeat, colorful and exciting themes.
Frankly, I don't think commercial themes have to be as drab and dark as they are either.

Select list, KEY|VALUE, CCK, Views

Hello Community
I got a CCK Field called "gender". I defined it to be a select list type and gave the values 1|Female, 2|Female. This is working well, but not in Views. Showing the field "gender" in views, i got no value at all, not "1" nor "Female". Any suggestions?
Thanks!

content not show up

Hello,
content not show up in my current themes, switched to garland the problem gone,
here it is my current theme scripts
<div id="mykonten">            <div class="konten">            <?php print $mykonten; ?>            <h5><i><?php print $messages ?></i></h5>            <?php if($tabs || $tabs2): ?>            <div class="tabs"><?php print $tabs ?></div>            <div class="tabs2"><?php print $tabs2 ?></div>            <?php endif; ?>            <?php print $content ?>            </div></div>

Theme not compatible after upgrading from 6.15 to 6.16

I am using a custom theme based in Garland, after upgrading from 6.15 to 6.16 I get the message: Incompatible with this version of Drupal core.
I changed the info file to display the 6.16 version but it has not resolved the problem, is there anywhere else where I should update the version number?
Thanks

Help with removing block

Hi,
I am slowly working through my Drupal install and tweaking my theme here and there but I have come up against a stumbling block.
For testing purposes I only have 2 buttons on my menu, Home & About Me.
The issue I have is that when I press the About Me button a block appears above the About Me page with a link back to the Home page.
I have uploaded a screenshot here:- http://www.madtogger.co.uk/screenshot/screeny.png
I cannot seem to find out how to remove this extraneous block, I do not want it to show at all.

How to identify Arguments in a view display template

Hi,
i have to insert a dynamic header (different titles and images) in my view depend of the arguments:
In section "Header" of my View I can use Php code (only HTML), so i use another display template for my view.
I create file: views-view--NameOfMyView.tpl.php and i connect it at my view.
I can't find the variable that return me the Args,
i tried to use:
print $args[0].$args[1];
but these are empty...
the url of my view is: sitename.it/?q=NameOfMyView/argoment1/argoment2 (it's work correctly)

Adding classes to list items using drupal superfish

Hi Guys,
Really need some help, as i'm still getting my head around drupal and themeing i'd be greatful if someone knew how to add classes to list items using drupal superfish.
I added the superfish plugin for my menus and it works great ( http://adaptivethemes.com/add-superfish-drop-menus-to-any-theme-easily ) The problem is I want to give each list item in the menu its own class so I can use roll over images in the css. Each menu item is a different image so I want to be able to target the items class in order to style it.

Linking a style sheet to theme a block

Hello there,
I'm very new to Drupal so please bare with me. I'm attempting to theme a block with an advert I have created, I have decided to theme the block by region (block-[region].tpl.php). I've created a new block-region.tpl.php file and inserted the following code.
<?php// $Id: block.tpl.php,v 1.1 2008/10/01 03:26:19 jwolf Exp $?><!-- start block.tpl.php --><div class="block-wrapper <?php print $block_zebra; ?>">              <div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="block block-<?php print $block->module ?>">          <?php if ($block->subject) { ?>          <h2 class="title block-title"><?php print t($block->subject); ?></h2>          <div class="content">            <?php print $block->content; ?>          </div>          <?php } else { ?>          <div class="no-title"></div>          <div class="content">            <?php print $block->content; ?>          </div>          <?php } ?>        </div>    </div><!-- /end block.tpl.php -->

Syndicate content

Advertising