This forum is for assistance with theme development.

IE7 display fix

I just installed IE7 final last night, and had to fix a bunch of sites so they display correctly in IE7...

The one fix that solved the majority of display issues is applying a "min-height:" to the divs that are giving you problems...

e.g.

#content { min-height: 200px; }

so yeah, IE7 understands 'min-height' ... and the "holy hack" .clearfix doesn't seem to be breaking anything in IE7... yet....

Node Path disappears when logged out

Hi,
I noticed that $node->path disappears when I logged out as an administrator.
Is there any way to display it? Thanks

Custom theme code not working

I am having problems with getting this theme to work. I had a javascript slideshow in it but took it out to troubleshoot. All files are in the same directory and yet all I get is a blank page. I have been trouble shooting for over 24 hours right now and need a different perspective. Coulds someone please help me? Is the DOCTYPE wrong? Is it something else?

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
print$language "
xml:lang=" print $language ">

print $head_title

print $head
print $styles

print $directory;/chrome.js"> /*********************************************** * Chrome CSS Drop Down Menu- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/

print theme("onload_attribute"); >




strength:10, direction:135);">Only local images are allowed. print $directory;/pic01.jpg" width="400" height="300" style="border:white solid 10px" style="filter:progid:DXImageTransform.Microsoft.Fade()" alt="Slideshow image">

Good examples of views table theming?

I'm working in 4.7 with a custom view based upon bluemarine and grey_box. My test site is currently at www.campsoup.com (and will soon be transferred over to www.palmcenter.org).

I'm looking for some good examples of how to style a views table - primarily using CSS and the given templates (though I'm open to using new ones).

Theming layout of OG front page

I'm using Organic Groups on several sites in lieu of sections - because of the flexibility and membership options. However, I would like to have more power over theming the layout of the group pages. Out of the box, there is the option of displaying all posts as a river of news (blog style) and grouping the posts by content type. However, the second option seems to come in a predetermined format which is not suitable if the section should also present the group to the outside world.

Where can I find $date in Bluemarine/PHPTemplate in Drupal 4.7.2?

Ref: Formatting the way the date/time is displayed

At the top of your node.tpl.php file, add:

$formatted_date = format_date($node->created, 'custom', 'D j M Y');

Change the "D j M Y" part to what you require (see below for possible variables).

Then print or echo $formatted_date instead of $date. Look in your template for the string $date and replace it with $formatted_date.

Pages

Subscribe with RSS Subscribe to RSS - Theme development