[SOLVED] Third party banner/ad management (flash files)
Posted: Thu Feb 16, 2012 12:29 am
Did anyone used, or tried to use, third party banner management with CMSMS? Something that supports .swf files?
Content management as it is meant to be
https://forum.cmsmadesimple.org/
I assume that you mean CMSMS Banner manager, which originaly does not support .swf file.. I've managed to put .swf banner where I wanted in it, but it's not user friendly solution at all..applejack wrote:Yes you can use the banners module and global content blocks.
Code: Select all
{strip}
{if isset($banner.clickthrough)}
{object src='uploads/beneri/160/160x190-vitamini.swf' height='190' width='160' class='flashplayer'}
{else}
{* no url found, just displaying an image *}
{object src='uploads/beneri/160/160x190-vitamini.swf' height='190' width='160' class='flashplayer'}
{/if}
{/strip}
Code: Select all
{object src="uploads/{$banner.image}" height='190' width='160' class='flashplayer'}
Code: Select all
{strip}
<a rel="nofollow" href="{$banner.clickthrough|replace:'&':'&'}" title="{$banner.name}" target="_blank"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,5,0,175" width="728" height="90"><param name="movie" value="uploads/images/banners/{$banner.image}" /><param name="menu" value="false" /><param name="scale" value="exactfit" /><param name="AllowScriptAccess" value="always" /><param name="wmode" value="transparent" /><embed src="uploads/images/banners/{$banner.image}" width="728" height="90" menu="false" scale="exactfit" AllowScriptAccess="always" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed></object></a>
{/strip}