This forum is for assistance with theme development.

Tabs without images

Hey --

If you plonk an unordered list into Primary Links using Themes > Configure, and add the following to style.css on Bluemarine, it formats the tabs quite nicely (bar a few pixels out here and there).

It works fine in Firefox, but IE is another matter: the whole list is shifted left, right margin starting in the middle of the page ... am I missing something here, or approaching this incorrectly? I'm only interested in the creating a simple "tab-style" nav without the active/non-active distinctions. I also don't want to dig too much into the template code.

Q: Adding Pages to articles

I have an article that is around 2000 words long and was hoping I could split it up into 4 pages that each consist of 500 words. Is there some type of way I could dynamically add a "prev" and "next" link to the bottom of my articles without having to edit the actual page of each one. It would be pretty much like how it's handled on this site here. I have tried making book pages but that does not accomplish what I am looking for.

Does anybody have any ideas?

Thanks!

block.tpl.php isn't showing this

This is my first theme I'm trying to bring into drupal but when I bring this block into say bluemarine it just shows as grey without my images. I'm not sure how the theme engine phptemplates handles tables etc.. My code renders fine in dreamweaver and in the browser so I'm not sure.

print "block block-$block->module" " id=" print "block-$block->module-$block->delta"; ">

print $block->subject

print $block->content

Unable to change default theme

Hi,

I have been desperatley trying to change my default theme to Kubrick (it is currently pushbutton), but do not seem to be able to do so.

I can see all of the themes in administrator->themes and can enable them, but the default button just does not seem to work. I hit save, the page refreshes and the theme is set back to pushbutton.

I can set the individual user themes to Kubrick, through the user administration, and this works. But when a vistor visits the site, it reverts to pushbutton.

Q: Is it possible to not show the "add comments" links on certain pages for node.tpl.php?

I was wondering if it was possible to remove the comments links at the bottom of my nodes on certain pages. I was wondering if maybe there was some type of code I could add that would remove it for pages with a certain variable or something. I would still want it on some, but off of others.

Any ideas?

Thanks!

Preview post does not show the trimmed and full version correctly

I am trying to develope my site with the CivicSpace theme (Drupal 4.6.5, PHP 5.0.5) and I encountered a problem when I try previewing my posts that has a trimmed version (either because of the post is long enough or because I use the break delimiter). In short, in the Preview post page it wasn't displaying the teaser preview version and an empty block for the full body:

http://drupal.org/node/45085

After I opened the issue, I found some free time and come up with a solution which works almost as expected. Can someone with better understanding of Drupal's inner works check my solution quickly and comment on its soundness please?

Pages

Subscribe with RSS Subscribe to RSS - Theme development