This forum is for assistance with theme development.

How to have the look of current Drupal home page

I am using the bluemarine theme for my site now, but I can have only one post stay in the top central postion instead of two by choosing sticky publish option. I like the look of current Drupal home page. Can anyone teach me how to have that kind of effect, or at least to have a block stay at the very top in one color and another sticky post at the second postion in a different color?

Acidfree pager position, please help

This is probably a very easy thing to solve but I'm just not finding the solution. In a standard acidfree gallery (I'm using the latest version and Drupal 5.1, all set up two days ago) the pager is positioned above the image when viewing the image preview. I need to move it under the image and make it a little simpler (just the previous and next links I suppose).

As it is it looks like this but I'd like it to look like this.

adding attributes to a table

I need to add "onmouseover=javascript_function('variable')" to a table cell, so my function looks like:

 $rows[$a][$b]['onmouseover']='showDay(\'capa_'.$dia['id'].'\')';
  $output = theme("table", $header, $rows);
  return '<div class="event-calendar"><div class="month-view">'. $output ."</div></div>\n";

my problem is that ' is translated to '

and I get: onmouseover="showDay('capa_jun1')" which don't work.

Changing the order of module related blocks in the user profile page

Does anybody know how to influence the order of module related blocks in the user profile page?

For example, if you have enabled the "Buddylist" and "Private Messages" modules, the user profiles will show them - but there seems to be no way of re-ordering them through the administration interface.

Is there any control over this without over-riding the profile template completely?

NEWBIE: Querying custom fields in template only returns empty arrays!

I have added custom date, text and checkbox fields to the event content type and 'm in the early stages of learning how to manipulate these values in the template. I can query the $node object for all the fields in the node and I correctly get back all the intrinsic as well as custom field names. When I query the values, though, all I get are 'Array' types for the custom fields. Looping through these arrays produces no results that are of use to me. Here's an example of the code I embedded in event.tpl.php:

Looking for a similar theme

I'm trying to track down a Drupal theme (free or paid) that will allow for a layout similar to this site: http://www.mamp.info/en/home.php

thanks in advance.

Pages

Subscribe with RSS Subscribe to RSS - Theme development