This forum is for assistance with theme development.

CSS - Can anyone recommend a good book?

I need to buy a book on advanced CSS. Does anyone have any recommendations?

andreas05 theme not showing in admin (clean urls)

I installed my first multi-site here:
http://eric.mystavash.net

(it's for my brother! He likes dragons so much he has 4 of them tattooed on himself. ^.^ I dunno whether he will use it or like it, but it's something to do.)

multisite wise, it's OK. But I keep running into problems with the theme not showing up where it should.

I think this is more the theme than Drupal, it's a port, so I have been fixing things here and there. Turned it into a table to get the dragon to show up properly.

However, when I turned on clean urls, the theme disappeared from the admin pages. mysite.net/admin was OK, but anything else, like the module page, and it went away.

I am thinking maaaaaaaybe it's in here from the page.tpl.php:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<meta name="author" content="Original design: Andreas Viklund - http://andreasviklund.com/" />
<?php #echo $styles; ?>
<?php echo $head; ?>
<link rel="stylesheet" type="text/css" href="<?php echo $directory; ?>/andreas05-alternate.css" />
<title><?php echo $head_title; ?></title>
<?php echo $head; ?>
</head>

but it's only the admin pages and only with clean urls.

sigh.

And yes, base url is ok, theme default is set. etc etc.

secondary_links on front page?

<div id="menu">
	<?php if (isset($primary_links)) { ?><?php print theme_menu_links($primary_links); } ?>
</div> <!-- end menu -->

<div id="sub_menu">
	<?php if (isset($secondary_links)) { ?><?php print theme_menu_links($secondary_links); } ?>
</div> <!-- end sub_menu -->

I am using PHPTemplate, and that code above is how I output my primary and secondary links as unordered lists.

title not showing in selected nodes

hi guys,
my website http://www.sitelancers.net

i created my own page.tpl.php and node.tpl.php

when i click the title of any posted story.... it dont display the title again.

see http://www.sitelancers.net/?q=node/19 why it dont display the title?

Evil CSS spawning demonic images

Okay, my title is a bit much, but my problem is real.

I'm trying to get images inserted by img_assist to align properly in my nodes. I found a potentially wonderful solution here:

http://drupal.org/node/65358

However, the solution solves one issue and presents another. After making the following modification to the img_assist module:

< $output = "";
---
> $output = "

";
1289c1289
< $output .= "";
---
> $output .= "

";

login customization

I'm making a theme for drupal 4.7 and i need to customize the user login block. I have created an overridden function phptemplate_user_login($form) in template.php and new formating in user-login.tpl.php. The problem is that it only effects elements within form tag and the form tag itself keeps unchangable. But i want to rip off id="user-login-form" (or change it to user-login) from the form tag as it brakes my layout.

Does anybody have any idea how i can do that?

Pages

Subscribe with RSS Subscribe to RSS - Theme development