Re: [Maypole] Maypole 2.0 factory templates

From: Dave Howorth (dhoworth at mrc-lmb.cam.ac.uk)
Date: Mon Oct 11 2004 - 14:19:54 BST


Danijel Milicevic wrote:
> a first shot for a new set of factory templates and matching stylesheets
> and macros can be found at http://maypole.perl.org/newbeer/frontpage

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 %]

Cheers, Dave

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.

_______________________________________________
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