Welcome to PloneDocs â PloneDocs
Originally from del.icio.us/tag/plone by
Welcome to PloneDocs â PloneDocs
Originally from del.icio.us/tag/plone by mva.led
Archetypes Developer Manual â plone.org
Originally from del.icio.us/tag/plone by jindrich
ArchGenXML - Getting started â plone.org
Originally from del.icio.us/tag/plone by wtrianta
Originally from del.icio.us/tag/plone by wtrianta
Originally from del.icio.us/tag/plone by wtrianta
This Tuesday (Feb 6) I’m giving a talk at the monthly ZPUG meeting in the Washington, DC area. My talk will be about Plone 3.0, with a few hands-on spots for developers.
Later in February I have a slightly different version of the same talk, given at FOSDEM in Brussels. The talk is on the morning of Feb 25.
Paul Everitt: Upcoming talks: ZPUG (DC) and FOSDEM
Originally from Planet Plone
The Definitive Guide to Plone â PloneDocs
Originally from del.icio.us/tag/plone by fredrik.borg
Programming Plone â PloneDocs
Originally from del.icio.us/tag/plone by fredrik.borg
Welcome to KSS project â KSS framework
Originally from del.icio.us/tag/plone by vimes656
Recently, I tried out KSS (formerly known as Kukit) for the second time. The first time is some time ago. At that time, I just played a little bit with it and I was already very positive about that.
Now, I have a special use case: Update one select field in dependency of another and after both select fields are selected do a search and show the results.
All I can say is: it is so easy, intuitive and non-invasive (just add some ids here and there in your HTML, but this may always a good idea.), so kudos to all involved peoples! As this will go into Plone 3.0, I’m sure it will be the next big milestone of Plone (alone the quick edit and realtime validation features, which will come - among others - with it).
To give you a taste of its ease, following is all I had to add to my kss file:
#form-select-1:change {Â Â Â action-server: getSubCategories;Â Â Â getSubCategories-category: currentFormVar();}
#form-select-2:change {Â Â Â action-server : getResults;Â Â Â getResults-form: currentForm();}
And here is one of the methods, which is called on the server (the fat is KSS stuff all others is needed anyway):
class AjaxView(AzaxBaseView):    def getSubCategories(self, category):       “”"Returns sub categories of given category.       “”"              tool = getToolByName(self, “my_tool”)       for top_category in tool.getTopCategories():           if top_category.id == category:               break                      cm = ICategoryManagement(top_category.getObject())       categories = cm.getCategories()              result = [’<select name=”category-2″ id=”form-select-2″>’]        result.append(’<option>Please Select a Subcategory</option>’)                     result.extend(      [’<option value=”%s”>%s</option>’ %       (item.id, item.Title) for item in categories])       result.append(’</select>’)       IKSSCoreCommands(self).replaceHTML( ’select#form-select-2′,             ‘ ‘.join(result))       IKSSCoreCommands(self).replaceInnerHTML(’div#result’, ‘’)              return self.render()
Here is all you need to get started:
Have fun!
Kai Diefenbach: Quick Tip 2: Give KSS a try
Originally from Planet Plone by diefenbach