hi
first point, my Product is placed above my /custom folder. what can i do
now ? why is it necessary to place /cutom above /My_product
third point, im trying to call another Python script from this one with
some param like :-
return context.test2(st=tmp_astat, id=410)
In ZMI, when im customizing my script and add this line for calling
test2 script, its not working.
Regards,
Mayank Mathur
Sergey V. wrote:
monks wrote:
Actually, i'm trying to Customize my Python Script from
/portal_skins/My_product/product.py to /custom dir.
After customizing, when open my form, it doesn't reflect any changes im
doing using ZMI, not even a print command.
I don't know reason behind this, as it's reading code from Python script
from my /Products dir, everytime i execute form.
- Check layer order in portal_skins - custom must be above My_product
- check the address your form is posting to - it should not include
portal_skins/My_product
- make sure your script returns anything - print statements in PythonScripts
actually don't output anything unless you do 'return printed'. So try to
start with
return "Hello, World!"
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers