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

Delete Flash Objects in Template

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-11-2004, 12:35 AM
  Bak's Avatar 
Bak Bak is offline
 

Newbie
  
Join Date: Oct 2004
Location: Netherlands
Posts: 5
 

Default Delete Flash Objects in Template

Hello,
I'm a X-cart beginner and everything is going pretty well. Except the design of the templates.

I purchased the Crystal Bleu template and I would like to edit this template. This template contains Flash-objects(companylogo etc.) and those are not easily editable. For now I would like to remove them and place just .gif's which are more easily editable in Photoshop.

My question is the following: How can I remove the Flash-objects and which tpl's do I have to edit?

Tanks in advance.

Greetings

Specs:
Latest 3.5.x Gold version
Crystal Bleu Template
__________________
Version: X-cart Gold 3.5.x
Reply With Quote
  #2  
Old 11-11-2004, 09:42 AM
  Bak's Avatar 
Bak Bak is offline
 

Newbie
  
Join Date: Oct 2004
Location: Netherlands
Posts: 5
 

Default

Got an answer from the Helpdesk...

I'm placing it here for other X-cart users with the same problem.

----------------------------------------------

You should edit the "/skin1/head.tpl" template. Go to your admin area, click the "Edit templates" link in the "Administration" section and choose the "head.tpl" template.

Find the following code in the template:
-----------------------------
<OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="341" height="206" id="flash_logo" align="top"><PARAM name="allowScriptAccess" value="sameDomain" /><PARAM name="movie" value="{$ImagesDir}/custom/flash_logo.swf" /><PARAM name="menu" value="false" /><PARAM name="loop" value="false" /><PARAM name="quality" value="high" /><PARAM name="bgcolor" value="#ffffff" /><PARAM name="FlashVars" value="{if $main eq "catalog" and $current_category.category eq ""}not_home_page=0{else}not_home_page=1{/if}&company_name_path={$ImagesDir}/custom/company_name.swf&home_path={$http_location}/customer/home.php" ><EMBED src="{$ImagesDir}/custom/flash_logo.swf" FlashVars="{if $main eq "catalog" and $current_category.category eq ""}not_home_page=0{else}not_home_page=1{/if}&company_name_path={$ImagesDir}/custom/company_name.swf&home_path={$http_location}/customer/home.php" loop="false" men!
u="false" quality="high" bgcolor="#ffffff" width="341" height="206" name="flash_logo" align="top" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" swLiveConnect=true /></OBJECT>
-----------------------------

and replace it with

-----------------------------
[img]{$ImagesDir}/YOUR_GIF[/img]
-----------------------------

Put the YOUR_GIF image file into the "store/skin1/images/" images catalogue.
__________________
Version: X-cart Gold 3.5.x
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:58 AM.

   

 
X-Cart forums © 2001-2020