This forum is for assistance with theme development.

Theming the user list in Drupal 5

Hello,

I'm trying to use PHPtemplate to theme my user list (with added fields using the profile module). There is a reference for how to do this for 4.7 (http://drupal.org/node/44481) but not for 5. I tried the 4.7 reference and it doesn't seem to work :(

This is my override function:

function phptemplate_user_list($user, $fields = array()) {
return _phptemplate_callback('user_list', array('user' => $user, 'fields' => $fields));
}

two colums layout

im working on a theme made by scratch. It is intended to be 2 colums, so i had strip out the right column. No problems on that, but in block config section i can still move blocks to right pane, causing them - ofc - to disappear.

how can i fix that?

Adjusting Column widths in Zen Fized

Hi There,
I can't figure out how to set my column widths in the ZeniFixed theme. Any advice?
Thanks,
Rich V

$block->delta documentation

Is $block->delta documented anywhere? The way I understand it, delta is a unique block identifier and not a revision number as the name would suggest. Am I wrong?

Most of the time delta is an integer, but I've seen some string values in blocks. Is there a reason not to use descriptive string values?

Also, can one count on deltas being unique? Would changing deltas for existing blocks in a database (in order to be able to find blocks in css better) be a problem?

Removing content publishing features

Is there a simple way to hide a number of publishing options from the edit screens for all content types?
I want to remove options like "Comment settings" and "Authoring information" for certain user types.

Also, are there any alternatives to the default content type filter? I would like to have a page where only story content types are showing.

phpGrid in Drupal

Since there is not a good way to show grid data in drupal (that I've found), I've been trying to use phpGrid to display data from my tables. I can get the grid to display (both in block and using page templates) but it always kills the theme and makes the sight look like it has no style sheet. Has anyone tried to use PhpGrid within Drupal that can give me any pointers?
Thanks
Jim

Pages

Subscribe with RSS Subscribe to RSS - Theme development