Re: Simple question, perhaps
dieter <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
Chuck Theobald <[email protected]> writes: > I'm exploring my zodb, trying to find a way to avoid the web ui for some > modifications. For instance, the > /LCNIsecond/portal_view_customizations/zope.interface.interface-plone.logo > object contains: > > <a id="portal-logo" > title="Home" > accesskey="1" > tal:attributes="href view/navigation_root_url; > title view/navigation_root_title" > i18n:domain="plone" > i18n:attributes="title"> > <img src="logo.jpg" alt="" > tal:replace="structure view/logo_tag" /></a> > > I can change the view/navigation_root_* parameters in the web ui, but > where are they stored in zodb? Modified view/viewlet/portlets templates are managed by the object "portal_view_customizations" (in your Plone site). You can find customizations in the "Contents" tab of its management page. However, accessing the customizations there is (usually) also via a web ui - just another one. As a general rule, you can do all things possible via a web ui also via a script (thus avoiding the web access), because the web ui is implemented by objects (and their methods) and functions that can also be instantiated/called in a script. However, usually, this is much harder - as you must find those objects and functions in the first place and learn how to instantiate/call them (it often is necessary to emulate a web call environment for this). You likely would go this route only if you have a very good reason to avoid the customization via the web. As Nathan has already pointed out: you can also "override" views/viewlets/portlets definitions via ZCML. Being fairly new to Plone, you likely would need some background reading about "ZCML" and how it is used to control Plone. You likely find some documentation on the Plone website. When you want to go this route, come back after the reading - when there remain questions. ------------------------------------------------------------------------------