This forum is for assistance with theme development.

Remove heading from selected blocks

I need the heading removed from some blocks. The h2 heading is in theme_block(). I replacled theme_block() with mytheme.block() in mytheme.theme. mytheme.block() contains a switch statement to bypass the h2 element for certain blocks based on their name, which is in $block->subject.

I would like to have $block->skip_heading as a database element that can be set in the administration page for individual blocks. Is there an exisitng way to do this? Is there something like this planned?

I could help develop with the development. I have 23 hours experience using Drupal (minus 6 hours sleep, 3 hours drinking coffee, 1 hour deleting junk mail not deleted by the mail filter, 6 hours trying to find the important mail deleted by mail filter, 1 hour removing the mail filter, and 3 hours recovering files after a Java based editor exploded).

I stil do not understand the difference between pages and book pages. Everything else is working in my custom theme. I am manually creating some links for static page were something else might be better. Removing the heading from some blocks helped me work out the code behind blocks. What I might need are blocks in the central content.

Some pages need static text at the top, a news style block in the middle, then a static block at the bottom. The static block at the bottom will be shared across many pages. The code looks simple. Drupal's method of extending the base theme by overriding fuctions is great. Now all you need to do is move the functions in to classes!

In style.css how to decrease the paragraph's space?

In style.css I define:

p{
margin-bottom:200px;
}

that increase the paragraph's space, can.

p{
margin-bottom:5px;
}

that decrease the paragraph's space, cant.

But I want to decrease the paragraph's space? how to do that? thanks!

How to insert some text before pager?

Hi, do you known how to insert some text before pager. I need to insert some code after list od nodes, but it must be before pager?

Thank you

Fixed some bugs in my theme hack

... even the one where the background looked grungy when viewing with 16 color video. Changed this background completely so now it looks smooth no matter what resolution the viewers video.

Changed the standard submit buttons to colors matching the theme.

Put primary links in TABS a lot like the Drupal.Org theme, and put the search block under the tabs just like Drupal.Org theme also.

Made sure secondary links, no left blocks, and no right blocks all works.

Changed the format of the node display center column.

Floating left instead of right phptemplate: style.css primary link tabs

I'm trying to walk the walk and not just talk the talk. ;-)

This just means I am wrestling with a phptemplate theme to make some adjustments to primary link tabs. I don't want them to float around, over, under, round, and through other header and page elements. So I thought I'd start with getting them to align/float left instead of right the way they do now. Figuring that if they'd stay up against the left margin I could control what was to the left of them and the tabs wouldn't 'crawl' all over elements to the left of them when the page was expanded.

How to theme the list of books

What's the best way to theme the list of books at www.mydrupalwebsite.com/book. I'm using php (.theme) for theming my site, but I don't see any "theme_" function that I can overide in the books module to do this.

Thanks,
Jesse

Pages

Subscribe with RSS Subscribe to RSS - Theme development