-
Book Overview & Buying
-
Table Of Contents
Plone 3 Products Development Cookbook
This is the penultimate chapter and we wanted to keep something impressive for it. In the following sections, we will focus on creating the required features to communicate to an external OpenX server and fetch all their websites—formerly known as publishers—along with their zones (more about this a bit later).
To do that, we need several things:
A form to let the manager enter the OpenX server URL, with a username and password so that we can log into the remote service
Somewhere to persist this data (the above three fields)
The import code itself to loop through the OpenX inventory and recreate it in our Plone site
Why do we need that? Since our project is a news website full of ads (check the book's preface for the list of customer requirements), we need a way to store and organize the HTML code to show the banners. That's why, we have created in the previous chapters two new content types (Section and Banner), a configuration option or configlet to manage them, and portlets and...
Change the font size
Change margin width
Change background colour