You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Anish <an...@techblue.co.uk> on 2009/12/04 13:22:02 UTC

Editable Areas in Header and Footer

Hi All

I want to have editable areas in header and footer for the publication. 
For that I have considered following points:

    * There will be editable components (like header background, logo
      image, header text, footer text, links etc) in header and footer.
      These components will be decided at the time of development.
    * User will be able to change the logo, header links, footer, links
      etc. using CMS.
    * I'm considering meta data for storing this header and footer
      information/data, this meta data will be editable by user (using CMS).
    * User will change this header/footer meta data once and new
      header/footer will get reflected for all the pages (even on the
      creation of new XHTML document).


Please suggest
(I'm using Lenya 2.0.3)

-- 
Anish Sneh
Software Engineer
Techblue Softwares Pvt. Ltd.
www.technologyblueprint.co.uk




Re: Editable Areas in Header and Footer

Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
PLEASE DO NOT CROSSPOST!!!

On Fri, 2009-12-04 at 17:52 +0530, Anish wrote:
> Hi All
> 
> I want to have editable areas in header and footer for the
> publication. For that I have considered following points:
>       * There will be editable components (like header background,
>         logo image, header text, footer text, links etc) in header and
>         footer. These components will be decided at the time of
>         development.
>       * User will be able to change the logo, header links, footer,
>         links etc. using CMS.
>       * I'm considering meta data for storing this header and footer
>         information/data, this meta data will be editable by user
>         (using CMS).
>       * User will change this header/footer meta data once and new
>         header/footer will get reflected for all the pages (even on
>         the creation of new XHTML document).

I did something similar. The idea is simple:
- add new meta data namespace and add two new tags (e.g. footer and
header). This fields contain the uuid of the underlying footer and
header page that is store in the cms. 
- Then you just need to include this parts via cinclude or whatever
- edit footer and header as you please.

HTH

salu2

> 
> Please suggest 
> (I'm using Lenya 2.0.3)
> 
> -- 
> Anish Sneh
> Software Engineer
> Techblue Softwares Pvt. Ltd.
> www.technologyblueprint.co.uk
> 
> 
-- 
Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>

Sociedad Andaluza para el Desarrollo de la Sociedad 
de la InformaciĆ³n, S.A.U. (SADESI)





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org