This forum is for assistance with theme development.

Teasers, Location & content

I have the GMap & location modules installed. I would like to remove the location information from the teaser view of my image nodes.

I have found that this code in node-image.tpl.php under my $page == 0 section:

<div class="content"><?php print $content?></div>

Displays this:

Looking for good Themes without tables and only DIV

Hi,

Does anyone know of any good themes that is NOT using tables but using DIV and do it also good ?

I would appreciate a lot any answers I can get.

Sincerely
/Roxpace

Garland HOW TO's

Can somebody please post either here or in the handbook some easy to follow "HOW TO" guides for customising the new (and imo excellent) Garland Theme. I find the techniques described in the handbook frankly baffling as they assume a level of theming and CSS skills I do not possess.

If possible I would like to see:

problem with bluebreeze theme in ie

Hi,

the problem is that some images are appearing broken, or not at all!
for example the "undeline" with the image bg-header, in the first page, is not appearing at all in ie!

I've tried several things, with diffrent image extensions. but i think the problem is with the height attribute!
does anyone can help?

Thanks

colon endif vs. curly braces

Can anyone tell me why most themes are using this:

<?php if ($page == 0): ?>
  <h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
<?php endif; ?>

instead of this:

space between blog posts

hey guys
Am trying to figure out how to change the blog display on Drupal. At the moment I seem to have a problem with overlaping posts, partyicullarly posts with pictures in them. Sometimes the title for the post below ends up slammed under a picture.

So wanted to make a line break between the posts to try and avoid this. Does anyone have any ideas how to do this?

After flipping through the site I found you could make a duplicate node.tpl and have done so, but have no idea how to insert line breaks between the posts.

Oh one other thing, rather than a black space between is there anyway of putting a banner in there to break them up?

Thanks if anyone can help.

Heres my post-blog.tpl

print $nid " class="node print ($sticky && $page == 0) ? " sticky" : ""; print ($page == 0) ? " teaser" : " "; print ' ' . ($node->type); print ($submitted && !$page) ? " cal" : """>
print $picture
if ($page == 0) {
if ($submitted) {
print format_date($created, 'custom', 'M')
print format_date($created, 'custom', 'd')
print format_date($created, 'custom', 'H:i')

}

Pages

Subscribe with RSS Subscribe to RSS - Theme development