Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

Extending templates in Parallels Plesk Sitebuilder

Article ID: 6253 
Last Review: Jul,18 2009
Author: Bezborodova Anastasiya
Last updated by: Bezborodova Anastasiya APPLIES TO:
  • Parallels Plesk Sitebuilder for Linux/Unix
  • Parallels Plesk Sitebuilder for Windows

Cause

Several templates shipped with Parallels Plesk Sitebuilder are liquid. They may become longer for larger sites and screens. Because of the reconfiguration sites may look ugly.

For example for with template av-077 - when upload new banner there is white area at the right of the image. Place reserved for banner is extended, however image is not reconfigured.

Resolution

To resolve the problem it is recommend to change design template to another one. The template used by site may be changed through Parallels Plesk Sitebuilder Wizard on page "Design".
Alternatively you may compile your own template. Documentation about design templates compilation and examples may be found on the Parallels SDK page.

For example to compile new design template based on "av-077" that supports banners uploading it is enough to change the following line in file template.xsl:

---8<---
<td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="background-image:
url('images/header_bg.jpg');background-position:left;background-repeat:
repeat-x;">
--->8---


Replace it with:

---8<---
<td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
--->8---


Subscription for changes to this article Subscription for changes to this article

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac
- Parallels Desktop 4 for Windows & Linux
- Parallels Workstation Extreme
- Parallels Solution for Windows 7
Server Virtualization
- Parallels Server for Mac
- Parallels Server 4 Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
More Products