Re: howto create a Python script in the root by portal_setup

Lennart Regebro <[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <[email protected]>
Joachim Schmitz wrote:
> I want to create the pythonscript .cpsskins_theme, which sets the theme 
> for display, by importing the profile.
> 
> I tried :
> 
>  <script script_id=".cpsskins_theme"
>          type="Script (Python)"
>          filename="roots/.cpsskins_theme.py"
>          />
> 
> in roots.xml, the import finishes without error, but the script is not 
> created.

You need to have an entry for it in the roots folder as well.

-- 
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.