This forum is for assistance with theme development.

Passing variables from custom block to block tpl

Howdy-

This seems a simple question, but I'm not having any luck searching or experimenting. Basically: How can I pass variables in a custom block (PHP code input format) to the custom block template file?

I would have thought that $block->subject would change the title. No luck. That's what I would really like to be able to do. When I set that value in the block body, I'm not able to retrieve it in the block tpl.

Move "read more" link near with teaser

hello all
I want that my anounce look like this

HEADER FIRST ARTICLE
teaser bla-bla >>
                 -(this is "read more" link)
Comments (0)

HEADER SECONR ARTICLE
teaser bla-bla >>
                -(this is "read more" link)
Comments (0)

How i can do it?

Where can I get Icons?

hi

I would like to use some icons for my site. Where can I find free icon images that I can use without any restrictions? By the way, can those icons be used in Aquasoft theme?

Thanks
hangout

adding to the taxonomy title

So now that I've finally got my taxonomy categories filled out and I believe that I'm understanding this great concept, I would like to be able to modify the taxonomy title when a user clicks on a term.

For example, I have a vocabulary called Tools and the term list includes Hammer and Drill. When I attach a node to the term Hammer and and view the Hammer category, the page title is Hammer and lists the node.

But I would like to modify the term to say, "All people that own a %term."

Garland theme XHTML issues

I'm using Garland on my site, and I am getting some XHTML errors because the search button and the login button appear to use the same ID. I can't find this in the Garland theme itself, so I think it might be somewhere else. I'm new enough to Drupal that I'm unsure where to look.

Trying to do things right. How do I get the "l" function to stop messing up my attributes - or is it even possible?

I'm mucking around with a phptemplate theme, and I want to build a link myself. The link is going to be text, and I want to add the "onmouseover" and "onmouseout" commands into it. Wanting to do things the right way, I'm trying to use the "l" (pronounced "el") function to do this. Here is the code:

Pages

Subscribe with RSS Subscribe to RSS - Theme development