[Zope3-Users] Re: how to make static pages

jürgen Kartnaller juergen at kartnaller.at
Thu Mar 16 13:58:40 EST 2006


Lorenzo Gil Sanchez wrote:
> Hi,
> 
> I'd like to ask what's the best way to create static html pages inside
> my application. For example, the intro page, a help page or a legal
> conditions page.
> 
> I have a skin inside a browser package but if I understand them
> correctly the provide views for content objects. Do I need to create a
> content object for the each of my static pages? Can I create a template
> with just the information (e.g. a view without a content)?

Declare your page in zcml :

<browser:page
  name="static.html"
  for="*"
  template="yourFilenameOfThePageHere"
  permission="zope.View"
  />
> 
> Sorry, I'm a little bit lost here
> 
> Best regards
> 
> Lorenzo Gil


-- 

---------------------------------------------------
Jürgen Kartnaller   mailto:juergen_at_kartnaller.at
                    http://www.kartnaller.at
                    http://www.mcb-bregenz.at
---------------------------------------------------



More information about the Zope3-users mailing list