X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Delete Flash Objects in Template (https://forum.x-cart.com/showthread.php?t=10308)

Bak 11-11-2004 12:35 AM

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

Bak 11-11-2004 09:42 AM

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.


All times are GMT -8. The time now is 11:49 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.