SWF file as top banner

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
retrac

SWF file as top banner

Post by retrac »

I am a big newbie to cms' in general.  I am learning so  much and really enjoying using cmsmadesimple.  Can anyone tell me what the best way to use an swf file as the header logo is?

Thank you in advance.

retrac
marino

Re: SWF file as top banner

Post by marino »

It's the same as inserting an image. The FCK editor has an "insert flash" button right next to the "insert image" button.

The way we did it is this:
Content -> Global Content Blocks
Created a new content block called : "top-banner"
Inserted the flash.

Then we went to our default template and entered

Code: Select all

<div id="banner">{global_content name="top-banner"}</div>
where we wanted the flash to appear.

Whenever we need to update the banner we just update the "top-banner" content block.

Hope this helped.
I'm new to CMSMS too.
Marino
retrac

Re: SWF file as top banner

Post by retrac »

Thankyou that is very helpful.  I'm having trouble getting the banner to behave though.  It seems to appear very small in the top left corner instead spreading across the entire header.  I'm a newbie to scripting so I am hacking about with the default templates.  Have a look.  http://www.retrac2.co.uk
marino

Re: SWF file as top banner

Post by marino »

CMSMS can't help you determine the dimensions of flash. You have to tell it what you want them to be.

If you used the FCK editor to  insert the flash, you should have specified the width and height at that time.
Now you need to switch the editor to HTML source mode and edit the width and height.

This is what you have now.

Code: Select all

<embed width="160" height="120"
Marino
retrac

Re: SWF file as top banner

Post by retrac »

Thank-you,  been in front of the computer too long.  I did actually put them in as 160 and 120 when it should have been 600 and 120!!  It's working properly now!
enzo

Re: SWF file as top banner

Post by enzo »

Thanks Marino

I have been trying to replace the banner for ages, but did not know how to do it. I use static contnent (.jpg) in my banner, this works perfect.
Locked

Return to “CMSMS Core”