O'Reilly logo

Plone 3 Products Development Cookbook by Marcos F. Romero, Juan Pablo Giménez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Preparing a form to take full advantage of KSS

This task is actually the explanation of how we have modified the already developed configlet so that we can enrich it with KSS in the next recipes. If you are merely seeking KSS details, just skip this. However, we introduce here several form-related concepts that you might find very useful.

Before making any code change, let us explain what we want to achieve. Our PloneOpenX configlet so far has just a combo box with two options: Section and Banner. Once users select either of these and click on the Add button, they will be automatically redirected to the add form for the chosen content type.

We are going to change that. Instead of opening a new URL, we will let users create Sections or Banners straight ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required