This forum is for assistance with theme development.

Layout Generator?

I saw one online but I can't remember if it was from here in a post somewhere or something I'd just stubled across. Anyways I'm trying to find a layout generator so I can make a new theme. While I know some basic css and php I don't know much of the fancy stuff. I'm self taught (and yea I know I should RTFM but I learned linux hands on and most other computer stuff I've done on PC's and I did try to find something on it but couldn't in the handbook here). Anyways I'm not sure how to change the layout in drupal. Though I'm guessing it's done in the style sheets somehow.

Working on a red/black persian varient and need help with the topmenu

The top menu that shows content is having a problem. The drop down's are partially transparent in some menu's that come down. This is causing text overlap that makes it unreadable or just makes things look gibbled. I'm also having a problem with width of it as you can see the searchbox just goes outside the border of the menu. Here are two different screenshots to show the problem.

MinHeight problem with IE

I knew IE had problems with minimum heights, and now I'm experiencing them. You can see my problems with IE at www.misguidedthoughts.com

Anyone have any ideas? I've tried setting padding-top, margins, ect, but nothing worked.

My node.tpl.php is

print ($sticky) ? " sticky" : ""; ">
if ($page == 0):

endif;

Info

print $name
print $date
  • print $links
  • if ($terms != ""):
    Filed under: print $terms
    endif;
<?php
if( $main && $node->readmore )
{
$content = "$node->teaser

" .
l( t("read more"), "$node_url", array( "title" => t("Read the rest of this posting."), "class" => "read-more") ) .
"

";
// remove "read more" link from standard node links
$my_links = $node->links;
if( $my_links )
{
// this would be much easier if the array returned by module_links() was indexed
// see let _link() return structured link info
$rm = preg_quote( t("read more") );
$my_links = preg_grep( "/$rm/", $my_links, PREG_GREP_INVERT );

Making a varient of marvin and need help

You can see it currently loaded as default on my site: http://www.celticess.net

Right now if you go to the main page you see marvin the martian(made it with a models I found at 3d cafe, altered with bryce and adobe) in the right hand side. In place of the default drupal icon one. I did make it the same size unsure if that was relevant or not. The problem I'm having is the header background overlap onto the image on the main page. Some subpages it doesn't do this. I'm not sure how to give it a margin or padding because of the way things are set. Here is the snippet part of the CSS that I think affects this. Also I am using topstyle to edit this. While I do know some very basic CSS I'm hardly a wiz at it so the answer might be obvious to one of you but not to me.

body {
  background: #000 url(druplicon-watermark.png) top right no-repeat;
    font-family: arial, "Times New Roman";
    color: #DCDCDC;
}

Now for the next issue and keep in mind this is my first ever drupal theme. Is changing what colours the fonts appear in or the background of the admin pages stuff. I'm getting the default marvin/cameleon colour behind for example the theme screenshots and description on the theme page. However my font colours I've selected which you can see on the main page are what is showing. Which on that default marvin light grey behind the theme screenshots makes text near invisible.

Block rollups for Bluemarine theme

I would like to find out if it would be possible to implement the block rollup feature in the BlueMarine theme.
..Similar to the ADC theme's rollup feature.

Am i wasting my time?

Thanks
Jacauc

How to determine the language when theming a node with phptemplate?

Hi,

I need to know the language the user uses to theme my site. For page.tpl.php, there is a $language which does exactly this. But I need this information in node.tpl.php. How can I access it?

Thanks in advance,

Markus

Pages

Subscribe with RSS Subscribe to RSS - Theme development