This forum is for assistance with theme development.

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:

Page Shell Idea: Nodes within Nodes

Please give me your thoughts and suggestions...

I'm thinking of writing a module for the purpose of creating page shells. I don't feel that there is currently a good way of handling this with Drupal. Basically I would like to have the freedom of:

- Creating a page (shell)
----> Then create regions within the page
----> And then assigning various nodes to those regions

In addition to this I would like to assign the page shell an alias and a theme. This would more strongly mimic traditional Web development while still taking advantage of Drupal's CMS features.

In a lot of ways it would parallel what flexinode already does. For example flexinode allows a user to create a new page type, and assign fields to the page. Within those fields the user can enter raw data.

My hope is that a page shell module would allow a user to create a new page shell, and instead of adding text-areas, drop down menus or other types of forms, the module would allow you to create regions. Each new region would then sever as a container for nodes. You could have a node repository where you select which nodes you wanted to assign a region. Once assigned to the region you could schedule each node to be displayed a certain period of time.

Such a module will require some tweaking of xtemplate so that the template system knows what to do with the various regions. My thinking is that each region could be wrapped in a div tag, along with some id/class that describes the region. Then within the CSS you could style the region and change it's placement, color etc.

Themers give very little satisfaction

I've noticed that on most of the third party themes the themers who made the theme have forgotten to include the "Edit" buttons in most of the configuring pages. For example on the user side theres the "My Account" page, and on the administration side... well, every dang page that has several "sides" to it. One in perticular is the "Menu" configuration. The only theme that works is the default XTemplate.

Pages

Subscribe with RSS Subscribe to RSS - Theme development