This forum is for assistance with theme development.

Are multiple return points in template.php OK?

As I have started adding stuff to my template.php files, this question came up.

flatforum does this:

function _phptemplate_variables($hook, $vars) {
...
  if ($is_forum) {
    switch ($hook) {
    ...
   $variables = array();
    ...
   return $variables;
}

Then, other code snippets, added to this function for other purposes, do something like this:

Permissions don't scroll in burnt theme

I have just added a number of roles. When navigating to Administer->Access Control->Permissions my table of roles (along the top) and permissions (along the left ) does not have a horizontal scroll bar for scrolling to the right. Of course, this means that I can't edit the Permissions on those roles which fall too far to the right to be seen. (I can shrink the size of the text on the page to allow all columns to appear, but at some point, the size will get too small to really read - so I don't think this is a great solution).

Thirdiary menu

- Deleted -

Highlighting Menu Options as Blocks

I am developing a Drupal Web Site that is going to be used by a lot of visually impaired readers.

On the existing web site (www.ucandoit.org.uk) one technique that readers have found especially helpful is reversing the block around each menu item as the mouse moves over it.

Is this possible and if so could you point me in the right direction.

We are running a test system in Drupal 4.7 and using the Box-Grey theme.

With thanks,

Ed

Converting to PHPTemplate

Hello

I just started using drupal and love my theme (Chameleon) but want to be able to edit it easier. I heard that PHPTemplate is an easier system, is it possible to convert Chameleon over to PHPTemplate? How hard would this be? Has anyone done this or is willing to do it?

Thanks

Is it possible to add Event Body field to View?

I'm working with events. I've created a category for various events. I then display them in different view blocks. It's all working perfectly except that I need to display the event body field. I originally thought that I could load the content into the title field and just use that, but that creates problems where I need to display only the title. The body is only 1 line long and that's all I need on a page that lists several blocks of events.

Is there a way to choose the body of the event to display in my view?

THANKS.

Pages

Subscribe with RSS Subscribe to RSS - Theme development