Personal tools
You are here: Home About CCC About this Site Upgrade to Plone 3.3.5

Upgrade to Plone 3.3.5

Notes on how to use the new site and some notes about what was done after conversion from Plone 2.0.5 in case Jean forgets.

Editing with Kupu

Set yourself up to use the 'visual editor' which is called 'Kupu'. You do that by going to

Preferences -> personal preferences -> content editor -> select 'Kupu' from the menu.

With Kupu you should be able to do all you need to do without going into HTML. For example you can vary text styles by using the scrolling menu (e.g. choose normal paragraph or heading or subheading. The effects of the latter two are illustrated in this page (e.g. 'Editing with Kupu' is a heading and 'inserting images from our Flickr site is a subheading).

Inserting images from our Flickr site

Go to the position where you want to inset a photo. Select the 'insert external link' icon (it shows a globe) from the tool bar. Then select the tab 'embed external object' and paste in some embedding text acquired from Flickr. 

Getting the embedding text from Flickr

Select the photo then choose the action with the little down arrow and option 'grab the HTML code'. Copy the text in the box. 

Some image and table styles defined

We have defined css classes ccc-right (see main image on home page),  ccc-imagebutton (for home page) and ccc-thumb (for rides and events).

The style image-inline which is applied automatically when you insert an image in Kupu has been over-ridden so as to have some padding round it. 

The table class cccbuttons is used for the table at the top of the Home Page

The table class centred is used at bottom of Home page.

(These definitions are in ploneCustom.css)

 

What's new in Plone3

The documentation for Plone 3 is here.

Fixes made when site was upgraded from Plone 2 (technical stuff)

 

Upgrade to Plone 3.3.5. (An unresolved bug prevents upgrading to 4.0, see 

A Plus account comes with ssh access. So, you can control zope.

To fix tabs

After the port all the folders at the top level were on tabs. See

Site set up -> navigation -> Untick automatically generated tabs

Home Page

- delete CSS and join-lcc logo

- align photos to left and right and set size (width=200 and lower down width= 150%)

Subheadings green for entire site

See notes from April 2009. Just add h3.

and h4 has been made red

 

IFrame

Used for map on the page about bike shops

ZMI -> portal_transforms -> safe HTML

add iframe=1 

(under HTML filtering iframe appears in custom tags)

need to clear cache and cookies

Script

add script = 1 and var 0 in valid tags which allows script tags, but the '<' and '> get converted to &lt, &gt. This is OK for some scripts e.g. the one that provides the Twitter follow button. 

But because of the '<' and '>' problem, currently using a different method to disguise email addresses. See for example the contact pages. e.g.

<a href="mailto:%6a%65%61%6e%40%64%6f%6c%6c%69%6d%6f%72%65%2e%6e%65%74">email to Jean Dollimore</a>

Set up editor Kupu to embed Flickr

See   In Plone 3, all of these settings have been moved into the Plone UI. 

First, go to Site Setup>Visual Editor then click on the Toolbar tab.

- Enable the checkbox next to "Embed tab in External link drawer"

- Scroll down to the bottom of the screen and click "Save" 

 Then, go to Site Setup > HTML Filtering

- Remove "Object" and "Embed" from the "Nasty Tags" list

- Remove "Object" and "Param" from the "Stripped Tags" list

- Add "Embed" to the "Custom Tags" list

- Scroll down to the bottom of the screen and click "Save"

Alter width of right column (see)

Go to portal_skins/plone_styles

The width of portal-column-two is set in public.css. Copy the record and add modified version in

portal_skins/custom/ploneCustom.css

add

#portal-column-two { vertical-align: top;  width: 24em; ! important;  border-collapse: collapse;  padding: 0; }

These changes to Zope don't always take effect immediately. To see immediately, restart Zope.


To use ssh (which we can now that we have Plus account)

ssh - l camdencyclists sira.nidelven-it.no

- (pwd known only to jean)

- cd p3   cd buildout

- bin/instance restart

 

Document Actions