[Zope3-checkins] CVS: Products3/NewsSite/NewsItem - configure.zcml:1.10

Tres Seaver tseaver@zope.com
Thu, 27 Mar 2003 12:42:43 -0500


Update of /cvs-repository/Products3/NewsSite/NewsItem
In directory cvs.zope.org:/tmp/cvs-serv16659/NewsItem

Modified Files:
	configure.zcml 
Log Message:


  - Add some preliminary skeleton for login exercises (need to look at
    how Zope2 / CMF do this for Basic Auth, as this is borked!)

  - Make add and edit forms use custom templates, which honor the
    look-and-feel we want to use for the news site.  This is still
    problematic:

    o We had to copy templates from zope/app/browser/forms and modify.

    o We couldn't re-skin all the templates (e.g, the workflow template).

    XXX Need to talk with Jim et. aliae about the "intended" pattern for
        this.


=== Products3/NewsSite/NewsItem/configure.zcml 1.9 => 1.10 ===
--- Products3/NewsSite/NewsItem/configure.zcml:1.9	Thu Mar 27 11:41:09 2003
+++ Products3/NewsSite/NewsItem/configure.zcml	Thu Mar 27 12:42:42 2003
@@ -34,11 +34,13 @@
     permission="zopeproducts.NewsSite.CreateNewsItems"
     menu="add_news"
     title="News Item"
+    template="../addform.pt"
     />
 
 <browser:editform
     name="edit.html"
     schema=".interfaces.INewsItem"
+    template="../editform.pt"
     label="Change News Item"
     permission="zopeproducts.NewsSite.ModifyNewsItems"
     menu="zmi_views"