Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Flash replacement for X-cart Logo, Little Help Needed

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-27-2007, 01:39 AM
 
jaimwolfe jaimwolfe is offline
 

Advanced Member
  
Join Date: Jan 2007
Posts: 57
 

Default Flash replacement for X-cart Logo, Little Help Needed

OK, I have the flash file working, uploaded to my site, and have (had) it displaying like I wanted. The problem is that the flash file is 500px wide x 200px tall, and it screwed everything up (covered up the top of the vertical menus on the left) and such.

I searched, read the guide that Balinor put up on template editing, and still can't figure it out. I know it has to be something in the head.tpl, but cannot find a fix. Any help would be appreciated.

Here is what I had in my head.tpl. I have the CSS "upgrade" skin that BSCE Engineering sold that makes it so it sends the product information to the browser first (mistake in my eyes).

<div id="head_container">
<div id="top_menu">{include file="customer/top_menu.tpl"}</div>
<div id="logo"><a href="{$http_location}">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="500" height="200" id="logo3" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="{$ImagesDir}/logo3.swf" />
<param name="quality" value="medium" />
<param name="bgcolor" value="#ffffff" />
<embed src="{$ImagesDir}/logo3.swf" quality="medium" bgcolor="#ffffff" width="500" height="200" name="logo3" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object></a></div>
<div id="head_bar">

Xcart 4.1.6
Thanks!
Jaime
__________________
http://premiumpowersports.com
Xcart gold Version 4.1.6
Reply With Quote
  #2  
Old 11-27-2007, 02:05 AM
 
jaimwolfe jaimwolfe is offline
 

Advanced Member
  
Join Date: Jan 2007
Posts: 57
 

Default Re: Flash replacement for X-cart Logo, Little Help Needed

I did some testing and tried to move things down by adding extra lines into the head.tpl (move the search / location bars down) and all it does is put them behind the stuff lower down on the page (like the vertical menus). It does move them down, but doesn't move the rest of the page down. I guess I need to know where I go to change the size of the header (head.tpl). It appears it's set to take up a specific number of pixels and I can't get that changed.
__________________
http://premiumpowersports.com
Xcart gold Version 4.1.6
Reply With Quote
  #3  
Old 11-27-2007, 04:40 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Flash replacement for X-cart Logo, Little Help Needed

Quote:
I have the CSS "upgrade" skin that BSCE Engineering sold that makes it so it sends the product information to the browser first (mistake in my eyes).

Wow. You truly have no idea what you bought and why it is a great thing! It also sounds like you have little experience with css...

A css skin is a double-edged sword... it solves many problems and gets rid of insane nested tables, but at the same time you are now going to battle nested divs. If you are not prepared to deal with this, you are going to go bonkers.

Let's step back a bit. - you need to look at your css file - .head_container is probably defining some key stuff -- I tried to access your site, but's not loading. At all.

I wouldn't embark on a css project without appropriate tools... and this is where a dreamweaver and/or coda or other css editor can help.

You took a little risk with a css skin, since upgrading is now going to be a bit of a challenge, but your site will be better for it. I routinely eliminate as many tables as I can.. but this makes the templates non-upgradeable.

Time to dig into the css!

Good luck.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #4  
Old 11-27-2007, 11:04 AM
 
jaimwolfe jaimwolfe is offline
 

Advanced Member
  
Join Date: Jan 2007
Posts: 57
 

Default Re: Flash replacement for X-cart Logo, Little Help Needed

Carpeperdiem, you are the man! Thanks so much, I figured it out all because of what you said. Sure enough in the cartlab-skeleton.css I can specify the positions of the stuff, I moved them down and it's working great!

I don't know why you couldn't get to the site though. I have verified from several different friends that they can get to it, plus we got another order this morning. Perhaps you could test it again?

Thanks so much once again!
Jaime
__________________
http://premiumpowersports.com
Xcart gold Version 4.1.6
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:32 PM.

   

 
X-Cart forums © 2001-2020