Article ID: 6764, created on Oct 10, 2009, last review on May 5, 2014

  • Applies to:
  • Plesk Sitebuilder 4.5 for Linux/Unix


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?


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

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=",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="" 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
Where "" 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.

f7f840260c1591440648a375a64b5b75 fad6dc0c8e983c17ae70a51ac7952cd0 d055be4fdc562a8ecb8e6d0bf419f946 ea6a61e571a858aa6019ceb068ea403a 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF