Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

[How to] How to add a flash banner as Advertising Banner to Trial Sites Settings

Article ID: 6764 
Last Review: Oct,14 2009
Author: Bezborodova Anastasiya
Last updated by: Bezborodova Anastasiya APPLIES TO:
  • Sitebuilder 4.5 for Linux/Unix

Symptoms

It is specified that the following elements are supported in the body of Advertising Banner message:
 
 - Text
 - Macros
 - HTML code
 - Hyperlinks
 - E-mail links


Is it possible to add flash as Advertising Banner?

Resolution

You may add flash as Advertising Banner to Trial Sites Settings using instructions below.

1. Put SWF file under Parallels Plesk Sitebuilder htdocs directory (/usr/local/sitebuilder/htdocs for RedHat-like OS, /opt/sitebuilder/htdocs for Debian-like OS) and correct permissions.
For example:

~# cd /usr/local/sitebuilder/htdocs
htdocs]# ls -l tmp/flash.swf
-rw-r--r-- 1 apache apache 244906 Oct 10 15:09 tmp/flash.swf
htdocs]#


2. Login to Parallels Plesk Sitebuilder as admin
3. Change to Advertising Banner configuration page at Server > Trial Sites Settings: Advertising Banner. By default the batter is "You can buy hosting at http://yourdomain."
4. Click button "Source" in WYSIWYG menu
5. Enter the HTML code. For example:

<object height="250" align="" width="500" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">
                        <param name="movie" value="tmp/flash.swf?code=Default" />
                        <param name="quality" value="high" />
                        <param name="Scale" value="ShowAll" />
                        <param name="wmode" value="transparent" />
                        <param name="wmode" value="opaque" />
                        <param name="FlashVars" value="BackgroundId=1&amp;ObjectId=1&amp;Text1=Flash+Intro+page+title&amp;Text2=Flash+Intro+body+text" /><embed height="250" align="" width="500" quality="high" bgcolor="#FFFFFF" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="opaque" src="tmp/flash.swf?code=Default" flashvars="BackgroundId=1&amp;ObjectId=1&amp;Text1=Flash+Intro+page+title&amp;Text2=Flash+Intro+body+text"></embed></object>


Where tmp/flash.swf is location of your SWF file relatively Parallels Plesk Sitebuilder htdocs directory.
 
6. Save the changes.

Trial site will be available for selected period of time via URL http://sitebuilder.host.name/HostingPreview?siteId=961602544982cb8a37fd1c4f4118a4c3.
Where "sitebuilder.host.name" is Sitebuilder virtual host name and "961602544982cb8a37fd1c4f4118a4c3" is id of the trial site.

Flash Advertising Banner will be shown on the top of the site.


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