This forum is for assistance with theme development.

how to know which user is visiting your site

There exists a php drupal function to know which user is visiting a page?

thanks

Theme Tutorial

I see that the Theme Tutorial has been removed from the Drupal handbook. I have quite a bit of HTML experience, but not much with CSS or PHP.

I am wanting to learn and would like to know where some good general references might be and some specific Drupal references.

The first project I'm working on is taking some of the graphics elements from:
http://www.impactaction.org
and converting them to Drupal.

Any thoughts?

Grouping nodes under the same date

I'll post here as well hoping to find a solution...

I'm trying to figure out, with no success, how to display entries without
repeating each time the date. I want to format the page so that it shows the
date, then all the entries for that day.

By default drupal just repeats the full date with each post, I just want to
group them day by day. I've seen it's possible since it works here:
http://integrationresearch.org/aggregator

phptemplate doesn't use main.tpl.php

I'm starting to get crazy. I've switched to this theme hoping to be able to customize it more easily but I cannot make it work right. For some strange reason the modified main.tpl.php works only for registered and logged users. Why?

How can I make the site look the same for both anonymous and registered users?

Only that theme and style is enabled but it still behaves differently for anonymous users.

How does the Interlaced theme build the header links?

Hi,

I'm having trouble finding how the Interlaced theme build the header links. How does it decide which nodes to include? Are they customizable?

Thanks,

Marcus.

Structure of preset blocks

I can understand HTML and CSS but I know nearly nothing about PHP. I started to hack xtemplate to fiddle with the theme but I don't understand how I can access the layout of the preset modules.

For example I think I'm able to create a new block from scratch and then type in directly the PHP or HTML code. So I can mess all I want. But how can I change the display of a preset module like "Who's online" ? How can I change for example the div class it uses? If I look at the produced HTML I see:

Pages

Subscribe with RSS Subscribe to RSS - Theme development