This forum is for assistance with theme development.

Creating my own theme

Hi all,

I'm quite new to drupal, I've been reading webpages all week to feel more comfortable with the way the administration works. Now I started creating my own theme. I have some really basic PHP knowledge. I have made my design in valid XHTML and CSS, no tables. I hae set up a test site on my own pc.

I copied the bluemarine theme dir and started with removing everything from the page.tpl.php file. Than I pastd my html in and copied lines of php code I felt necessary. This way I managed to get it about the way I wanted it to look. I copied my css into the style.css file.

I'm stuck now however: by looking at the source (mainly the class and id selectors) I think the node.tpl.php is used for showig the frontpage content, but I have no idea how drupal knows where to place it.

I have this part of code in my html on page.tpl.php:

<div id="center">

	<?php print $breadcrumb ?>
		<h1><?php print $title ?></h1>
		<?php print $tabs ?></div>
		<?php print $help ?>
		<?php print $messages ?>
		<?php print $content; ?>
		<?php print $feed_icons; ?>
	
</div>

I have no idea what everything means, but somehow the node.tpl.php file seems to be placed right after this div, while I would like to place it inside this div. Could somebody point me at a good manual for theming my own site, all the ones I found so far didn't go quite deep enough for me.

having trouble getting a node's tid

hey all -

i know so little about php, i'm having trouble being able to call and use a node's term id (tid). thanks in advance for any help you can offer.

i'm working on a site where i need to override the $terms variable in order to provide links back to named anchors on a table of contents page done with views.

in my node-node_type.tpl.php file, i've been trying to figure out how to make a new link using the node's tid. i looked at the $node->taxonomy array:

Why are all Themes so Basic?

I'm just wondering if it's possible to contribute and/or find Drupal themes (templates) which are more complex--or come with Views, CKK, etc.--or is that not possible? We are a team currently working on an archive template for/from Drupal and we'd love to offer a version of it back to the community but we don't know how! Thanks for any input.

Drupal, YUI, and custom themeing

I have a site built on PHP and around YUI (Yahoo User Interface). I currently only use YUI to layout my CSS structures (floated column layouts) and would like to implement Drupal 5.3 (PHPTemplate) with these modules: blog, forum, contact, comments, aggregator, menu, path, and search (among others).

Here's a link to my demo site: dev.demo.com (sorry, demo site is no-longer online).

Garland header

Is this tut: http://drupal.org/node/128395 also a good one for Drupal 5.3? Because I've tried it and it didn't work. So, is this my fault or is this tutorial not compitable with version 5.3?

Regards

help! How to change your website theme manually and where ?

As in my earlier post I want to describe an urgent problem I have:

Accidentally I installed an older theme for the 5.x. The theme is working, but I can no longer administer my themes via the 'themes' panel.

How can I change my website theme manually?

It's a urgens problem. Visitors of my website are seeing now a theme that doesn't fit.

Thanks for you reactions!

Greetings

Pages

Subscribe with RSS Subscribe to RSS - Theme development