Re: Visibility of objects

Chuck Theobald <[email protected]> Fri, 27 Mar 2015 17:23:13 -0700
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
Awesome, Kim! This stuff is gold! Thanks for the leads, I'll add your 
suggestions to my buildout and explore further in the ZMI (one of my 
fave places, BTW).

Chuck


On 03/27/2015 05:17 PM, Kim Nguyen wrote:
> To use a script in multiple locations you could place it in 
> portal_skins/custom.
>
> You can find good examples of scripts (incl. how they invoke other 
> scripts) by digging around portal_skins subfolders.
>     Kim
>
>
> On Fri, Mar 27, 2015 at 3:53 PM, Chuck Theobald <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Plone 4.3.3 (4308)
>     Zope 2.13.22
>
>     Where can I find information on the structures available to python
>     scripts within plone? I use custom validators for ploneformgen forms,
>     and the syntax for referring to a script is
>     python:folder.isMyScriptGood(). I gather that "folder." refers to the
>     current container, the same as "./" in a *nix file system. How would I
>     use a script in a different location? Multiple forms would have
>     the need
>     for the same time format validator, for instance.
>
>     Also, within scripts we have structures like "container", etc. A
>     recent
>     post here referenced "python:root.site.links". Where are these things
>     documented? At this point, it is JFM to me, and I am not comfortable
>     with that.
>
>     Thank you,
>
>     --
>     Chuck Theobald
>     System Administrator
>     The Robert and Beverly Lewis Center for Neuroimaging
>     University of Oregon
>     P: 541-346-0343
>     F: 541-346-0345
>
>
>     ------------------------------------------------------------------------------
>     Dive into the World of Parallel Programming The Go Parallel
>     Website, sponsored
>     by Intel and developed in partnership with Slashdot Media, is your
>     hub for all
>     things parallel software development, from weekly thought
>     leadership blogs to
>     news, videos, case studies, tutorials and more. Take a look and
>     join the
>     conversation now. http://goparallel.sourceforge.net/
>     _______________________________________________
>     Plone-Users mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/plone-users
>
>


-- 
Chuck Theobald
System Administrator
The Robert and Beverly Lewis Center for Neuroimaging
University of Oregon
P: 541-346-0343
F: 541-346-0345

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users
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.