This forum is for assistance with theme development.

What's my error? Arrays.

I am using the following code to print out my themed primary links after sending them through my menu_links.tpl.php:

print theme('menu_links', $primary_links)

The output I am getting is:

Array Array Array

I know it is going through the menu_links.tpl.php file because " " is my delimiter. If I were to make the delimiter "-" the code outputs as follows:

Array-Array-Array

IS there something I've got wrong on that print command?

remove/change linktext with image(s)

hi...i like the "send-this-to-friend" and the "read-more" thing, but is there a way to remove the link text and use an image instead; or add to the link text an image?
i tried this in my theme.css file:

.node_read_more {
/* Set to replacement image dimensions */
width:32px;
height:32px;
display:block;
background:url('http://localhost/drupal-5.0/files/icon.png') no-repeat top left;
}

but the text laid over the image now...what a mess. cheers

Float Won't Do It

I'm working on a new theme and am running into a ton of trouble placing the main content and the right sidebar side by side. I try to use float:left for each div but that results in the divs being lifted out of the standard positioning to my footer ends up underneath them slammed against my header. Any ideas?

The links delimiters don't works with Drupal 5

HI !
I used to use this code to change the delimiters in my theme but it doesn't work with Drupal 5

function phptemplate_links($links = array(), $delimiter = ' | ') {
  /**
* catches the theme_links function and calls back a link.tpl.php file to determine the layout
*/
  return _phptemplate_callback('links', array('links' => $links, 'delimiter' => $delimiter));
}

This text is printed instead of every links and primary links

drupal 5's theme compatibility with IE6-7

Hello all,
I am using Drupal5 but the new Drupal theme has some problem with IE.

I couldn't see some options in Drupal with IE while in Firefox everything is okay.
the options is not appearing in top of the site in IE browser.
<ul class="tabs primary">
no info will display in after this tag!

could someone help me?

Regards,
Sotoodeh

Pages

Subscribe with RSS Subscribe to RSS - Theme development