This forum is for assistance with theme development.

how do you add extra stylesheets?

I want to add an extra stylesheet to my theme for printing.
I found this handbook page on it, but I can't get it to work: http://drupal.org/node/64144
I'm guessing it's out of date.

What's the way to do it on Drupal 5?

Blog User Images??

Hi all,

I am wanting to turn images off on blog posts...
as in the users upload profile photo, that appears next to the post..

Any ideas?? do i have to create a custom template for this to happen?

Thanks in advanced,

Ricky

lost login page

Hello all. I just installed Drupal a couple of days ago and have been playing around with it. Initially, the login page was on the front page of the site. What I attempted to do was remove it from the my modified garland theme. The admin. theme was garland also, but I changed it to the default theme thinking that I would have someplace to log in. Now I can't login to any page including the .../?admin page.

Can any one help me? Where in the coding can I alter this?

thanks,

Saxman

CVS

Hi All,

I know this is a dumb question, but I just am not getting anywhere. I have a theme I wish to upload. I have cvs access granted. I am using WinCVS and Vista 64. I just cannot seem to grasp it, I ahve tried following the handbook an am getting no where. Anychace some one could tell me how to create a directory for the theme in the CVS using WinCVS?

Cheers,
Nick

CCK slideshow don't show?

I cant get the slideshow to show up. Either when set to node, list, table, or block view. I have enabled automatic css. Been reading all over again and again, but whatever I do no slideshow appears. All other pictures etc show up correctly, just not the cck slideshow.

Could somebody help me on right track here...

Thanks
/Jakob

Overrides not working in template.php

I want to change how the primary links menu is rendered and from what I have found is that this can be done in the template.php file by overriding the theme_menu_links function. Problem is nothing is changed, it acts like the template.php file doesn't exist. I was doing this with the bluemarine theme.

So just for testing purposes I created a brand new theme folder called "scratch" and created 2 files, page.tpl.php and template.php just to run a basic test and here is the code for these 2 files.

page.tpl.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>">

<head>
  <title><?php print $head_title ?></title>
  <?php print $head ?>
  <?php print $styles ?>
  <?php print $scripts ?>
  <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
</head>

<body>

<div id="wrapper">
	<div id="header">
		<?php if (isset($primary_links)) { ?><?php print theme('links', $primary_links, array('class' =>'links', 'id' => 'navlist')) ?><?php } ?>
	</div>
</div>

</body>
</html>

template.php


function phptemplate_menu_links($links) {
	$output = 'Testing template.php override.';
        return $output;

}

Pages

Subscribe with RSS Subscribe to RSS - Theme development