logo

Personal tools
Vasudeva Projects vsCore vsCore Documentation v1.2 Add-in pages for vsCore
Document Actions

Add-in pages for vsCore

At installation, vsCore 1.1 adds simple pages called add_in_1, add_in_2, ..., add_in_6. When you add content to these pages, they are placed in predefined areas of the site, sidestepping the need for portlets and slots.

The pages also apply to subfolders via Zope acquisition; to override the content of an add-in page for a subfolder, simply create another add-in page in the subfolder with the same title.

The pages are located as follows:


  • add_in_1, add_in_2: above tabs
  • add_in_3: just below tabs
  • add_in_4: between breadcrumbs and page title
  • add_in_5, add_in_6: page footer

Position and presentation of add-in pages

Position and presentation of the add_ins can be applied via CSS, simply call their respective ids, ie #vsa-add-in-1

Example - floating add-in-1 to left:

#vsa-add-in-1 {
   float: left;
   width: 400px;
   padding: 0;
   margin: 0;
 }

For Vasudeva Server sites, this is taken care of via the vsSkins product.

Site banner with add_in_1

The most common use of add_in_1 is for a site banner - to this end add_in_1 has the following default content:

<a href="/" title="logo"><img src="custom_logo.jpg" id="logo" alt="logo" /></a>

Hence an image custom_logo.jpg will automatically appear on the top of the site. If you already have a vsCore 1.1 addin, you will have to delete it and reinstall vsCore before this new add-in takes effect. This HTML is fully editable -it is only the default text.

The other pages have no content by default - just click on them and press edit to add content.

Customizing add-in templates

If you need more than plain HTML, for example a full-blown page template, you can customize the page templates add-in_1 (don't mistype - there are dashes and underscores, while the page itself has dashes only), add-in_2 etc. from the vsCore layer in portal_skins.

page created by shane last modified 2006-09-29 19:00