Elxis CMS Forum

Extensions => Templates => Topic started by: Blacksoll on April 15, 2008, 21:32:31

Title: Add a .swf file next to logo in header (SOLVED)
Post by: Blacksoll on April 15, 2008, 21:32:31
Hi to all  ;)

I'm trying to add next to elxis logo a flash.swf but without success  :-[

I don't want to replace logo,i want the .swf fife to appear next to it.

I'm using tpl_rubric_frontend_1.0 template.

I'm editting layout.css but i'm doing something wrong and i'm messing up the whole template...........


Any suggestions ?
Title: Re: Add a .swf file next to logo in header
Post by: Ivan Trebješanin on April 15, 2008, 21:39:58
Any suggestions ?

I have one:
Try to explain your problem more precisely, so we can help you ;)
Title: Re: Add a .swf file next to logo in header
Post by: Blacksoll on April 15, 2008, 21:45:35
In file layout.css and in line 39 i am adding

Code: [Select]
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" style="width: 780px; height: 203px">
       <param name="movie" value="<?php echo $mosConfig_live_site?>/templates/tpl_rubric_frontend_1.0/images/flash.swf"/>
       <param name="quality" value="Best"/>
       <param name="menu" value="false"/>
       <embed src="<?php echo $mosConfig_live_site?>/templates/tpl_rubric_frontend_1.0/images/flash.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" quality="Best" menu="false" style="width: 780px; height: 203px"/>
</object>

But without any luck...........Just messing up the header........
Title: Re: Add a .swf file next to logo in header
Post by: Ivan Trebješanin on April 15, 2008, 23:09:17
In file layout.css and in line 39 i am adding

But without any luck...........Just messing up the header........


Of course... because you shouldn't add this code into .css!!! You should add it into html. That is /YourTemplate/index.php. Find where is the logo position and paste the above code there.
Somewhere into <div id="oktoheader"> (I guess it is no different than okto template...)
Title: Re: Add a .swf file next to logo in header
Post by: Blacksoll on April 15, 2008, 23:23:46


Of course... because you shouldn't add this code into .css!!!



Sorry for my stupid questions but i am not familiar to any of this.....I want to use ELXIS for my site and i'm testing  it before i ask for someome proffesional to make me a template.......

Thanks for the quick response....
Title: Re: Add a .swf file next to logo in header
Post by: Ivan Trebješanin on April 16, 2008, 00:51:45
Sorry for my stupid questions but i am not familiar to any of this.....

I wouldn't call it stupid, just remember that even the longest journey begins with a single step...  ;)
Title: Re: Add a .swf file next to logo in header
Post by: Blacksoll on April 17, 2008, 00:46:34
Just one more question......

I have manage to add the .swf file in header and i think it's ok,but now the language icons where moved down.From where can i set the position of them ?
Title: Re: Add a .swf file next to logo in header
Post by: Ivan Trebješanin on April 17, 2008, 02:23:30
I have manage to add the .swf file in header and i think it's ok,but now the language icons where moved down.From where can i set the position of them ?

In your customize.css you'll find .moduletable-lang class... this class is defining language module is shown, but I can't tell you what to do since I never saw what really happened. Give me the link, or screenshot.
Title: Re: Add a .swf file next to logo in header
Post by: Blacksoll on April 17, 2008, 22:39:38
Give me the link, or screenshot.

This is what i mean.....

www.burnertech.eu
Title: Re: Add a .swf file next to logo in header
Post by: Ivan Trebješanin on April 17, 2008, 22:52:01
But, the site is offline ???

EDIT:
It's OK now...
Try to make #headright {width: 260px} in your layout.css

EDIT2: You can send me backend params via PM, and I'll fix it in few secs
Title: Re: Add a .swf file next to logo in header
Post by: Blacksoll on April 17, 2008, 22:57:40
Please refresh a couple of times.I have promblems with my sql.... :'(
Title: Re: Add a .swf file next to logo in header
Post by: Ivan Trebješanin on April 17, 2008, 23:00:14
Ok, I saw it, it's not a big problem, i can fix it in a few secs.
Title: Re: Add a .swf file next to logo in header
Post by: Blacksoll on April 17, 2008, 23:28:29
My customize.css is :

Code: [Select]
/* language module */
.moduletable-lang { text-align: center; color: #ffffff; font-weight: bold; }
.moduletable-lang a { color: #EEE; }
.selectbox-lang { background-color: #5584A2; color: #fff; border: 5px solid #295673; }


And my layout.css is :

Code: [Select]
/* div for language module positioned top right */
#headright {
float: right;
margin-right: 30px;
width: 100px; }





**********************************************************************************
EDIT :


I modified the search module in customize.css and now it's O.K.

Code: [Select]
/* search module */
.search {
background: url(../images/searchbox.jpg) no-repeat top left;
padding: 2 5px 2 5px;
width: 110px;
height: 25px;
margin: -80px 0 2px 0;}
.search input, .search input.inputbox {
border: 0;
background-color: #FFFFFF;
color: #660606;
padding: 2x;
width: 100px;
margin: 0px 0 2px 0;}