This forum is for assistance with theme development.

Corners on first and last blocks only

Hi everyone,

I've tried to figure out how to do this, but I'm no good with PHP.

I want a corner on the top left edge of the first block on the right and a corner on the bottom left corner of the bottom block on the right. In other words, it will sort of look like a single block rather than say 3 or 4 with white breaks between them.

How do I do this, regardless of how many blocks there are.

weird links in submarine theme

Only the top of Article links are clickable. I cant figure out why? Here is a flash video (~3.5mb) of problem. Its boring but it shows the problem

http://www.shady.nu/play/clicks.html

menu_get_active_item returns id -141? Huh?

Not doing anything difficult, but I can't seem to get the current active menu id. Here's the function im overriding:

function achieve_menu_item($mid, $children = '', $leaf = TRUE) {
  error_log('menu get='. menu_get_active_item());
  error_log('menu set='. menu_set_active_item());
  error_log('title='. menu_get_active_title());
...
}

results in

Professional theme development- anyone out there?

The company I work for is in the process of getting a new website. I'm pressing hard to get it to be Drupal, since that's my personal preference, and the company strongly uses open source software for most of its business (ISP).

Is anyone out there who does theme development? Right now I'm gathering interest to see if there's anyone out there who does this type of thing. If there is, that will help my drupal push internally.

Thanks!
--falz

Uploaded image in teaser

Hi,

Using the upload.module in 4.7, how can I make the first image I upload for that node automatically appear in the node's teaser and full view in a div floated on the left?

I guess it would be a case of editing the node.tpl.php file, creating a div and inserting some php code in there that references the first item/image uploaded/attached to a node.

Any ideas what that code should be?

Thanks,

Alex

Adding tags to uploads

I would like to add a tag to all attachment links that are listed on my pages. I see this code in upload.module but cannot find out how to add rel="lightbox" to the link.

Pages

Subscribe with RSS Subscribe to RSS - Theme development