Hello,
I am about to take the head long plunge into Zope land and am wondering which framework would fit my needs better. I have some experience toying around with django and the primary reason I am switching to a zope-based framework is ZPT and also needing to occasionally do things with Plone. Both seem to be well run projects I a...
Im using the plone cms and am having trouble with a python script. I get a name error "the global name 'open' is not defined". When i put the code in a seperate python script it works fine and the information is being passed to the python script becuase i can print the query. Code is below:
#Import a standard function, and get the H...
I'm using Plone with Python scripts, I understand the scripts are restricted in Plone and I also understand that I need to create python scripts in the Extensions folder for a fully functional script.
But how do I send information between the two scripts? For example script1.py is located in the ZMI and has a directory which is a URL, ...
The plone guy is on leave, I have a request to add breadcrumbs to a plone 3 site.
Normally in plone the logo, navigation search personal bar and breadcrumbs are all in a view called plonetop
This view has been replaced with straight html because it was too hard to modify plones default plonetop view.
There is a view in portal_view_cust...
Hello, I'm developing a skin for Plone 3.x. The skin have a lot of differences from the default theme, and i would like to keep the default skin in administration mode. I read some solutions like this http://maurits.vanrees.org/weblog/archive/2008/01/switch-your-skin-based-on-the-url . But I cannot use subdomains in my web, so I cannot u...
Hi All
I have been trying to create a new content type for Plone based on the event type. I followed this tutorial for making content types and successfully created this code for my own content type called "Multimedia". My code works, however the type is based on the folder type.
My attempts to change this to be based on the event ...
I'm having trouble getting a simple external methods in plone working correctly.
In my extensions folder I have a python script named blast_query.py code below:
def print_query(self, x):
print(x)
my external methods looks like:
Id: run_blast_query
Title:
Module Name: blast_query
Function Name: print_query
My p...
I am using LDAP inside Plone running behind Apache on RHEL5 to authenticate users against ActiveDirectory. This worked great until we implemented cross-domain trust. Now the LDAP client doesn't know how to authenticate against the other trusted domains so our other users cannot use the web service.
Is there a nice way for the standard L...
I have a python script in Plone, I'm having trouble appending a variable to RESPONSE.redirect. I get a invalid syntax error.
test = '1000'
RESPONSE.redirect(("/Plone/user_blast/public_blast_results/%s" % (test))
...
Is there a good step by step online guide to install xampp (apache server,mysql server) together with zope-plone on the same linux machine and make it play nicely or do I have to go through their confusing documentations?
Or how can I install this configuration in the best way? I can install and use both seperately but in tandem is an is...
Hello, I'm trying to get into Python and, more specifically, Zope and Plone. I read the book Professional Plone Development and one thing it says is that one MUST use version control. But the book did not expand on that topic any further. This leads to two questions.
First: SVN or git? (My research points to git, if only to learn it. I'...
I have an information request form that has a series of checkboxes that i want to conditionally test and if checked I want to add content to the page.
The issue I'm having is that I can't find the the proper syntax to add to the template to make this happen:
curently i have:
<tal:block condition="python:request.form.get('my-field-nam...
Plone's viewlets appear to be site-wide by default. How can I make a viewlet only appear on a certain page?
...
I'm creating a website with a database search functionality, but I want to make the user login or create a account first to use the search functionality. How do I do this? And what is the easiest way to carry the login session forward. I.E. the user only has to login once to do many searches.
...
Plone CMS: how heavy are search requests compared to typical CMS GET requests?
I fear that on a large site (0.5 milions of documents) enabling search capability is asking for DOS. If so, how this threat can be mitigated? Can search work on a different ZOE instance?
...
I am using Plone and Sugar CRM. I want to allow users to only have a single username and password across both systems. When they change their password in Plone they should not have to change it in Sugar CRM. Is there a simple way to do this?
...
I have a custom portlet manager, and I'd like to blacklist (aka block) context (aka parent) portlets by default. I've found a couple of methods but they either require a specific location (so not sitewide) or will only work if I'm in a different package to where the portlet manager is defined (setuphanders.py is run before portlets.xml i...
Hi to all,
I need to save the recently modified list into a text file.
How can I do this?
Thanks in advance,
Michele
...
Hi to all,
I've some problem with external editor (plone 3.3.5): the opened editor show me only, i suppose, mime type data and not the content of the document.
Some suggests to solve this problem?
Regards,
Michele
...
I have a zpt (zope page template), where I want to use a video tag, something like:
<video src="FILE_LOCATION" width="320" height="240" type='video/ogg; codecs="theora, vorbis"' controls></video>
where FILE_LOCATION would be a content type of plone. I can use either 3 ways to acces the file:
1) file.download_url #gives me: http://loc...