Re: [Maypole] Maypole 2.0 factory templates

From: Danijel Milicevic (gabbana at rawmode.org)
Date: Mon Oct 11 2004 - 15:07:15 BST


Hello Dave,

> In 1.7 the header template starts something like this:
>
> <HTML>
> <HEAD>
> <title> [% config.application_name || "A poorly configured
> Maypole application" %] </title>
>
>
> I think it would be very nice if it looked like this:
>
> <HTML>
> <HEAD>
> <title> [% title || config.application_name || "A poorly
> configured Maypole application" %] </title>
>
>
> so that one can change the title per page by defining the title
> variable. For example one could change list.tt to start:
>
> [% PROCESS macros ;
> title = classmetadata.plural ;
> INCLUDE header %]

Applied.

> PS I support the idea of putting the search box at the bottom along with
> add new. A link from the top of the page would help people find it if
> the list is long.

Yes, we will go with two forms because Jay's suggestion would require
some DOM hackery based on javascript and I want to keep the templates
image-free and javascript-free.

Cheers,
Danijel

_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT