Store
Community Documentation

v3 Knowledgebase

How to insert cu3er in your homepage

How to insert cu3er in your homepage.1. Download the cu3er package file.2. Create a directory/folder- static/jscript/cu3er3. All the contents of the cu3er package upload it from the directory/folder you just created.4. Edit file "template.html.php", by default it is located here:- theme/frontend/default/templateOr using the admin panel if you know how to.Note: This file must be associated with your current theme.5. Insert the code:Find:{header}Insert:
{literal}
		<script type="text/javascript" src="static/jscript/cu3er/js/swfobject/swfobject.js"></script>

		<script type="text/javascript">
			var flashvars = {};
			flashvars.xml = "static/jscript/cu3er/config.xml";
			flashvars.font = "font.swf";
			var attributes = {};
			attributes.wmode = "transparent";
			attributes.id = "slider";
			swfobject.embedSWF("static/jscript/cu3er/cu3er.swf", "cu3er-container", "600", "300", "9", 

"expressInstall.swf", flashvars, attributes);
		</script>

		{/literal}
6. Insert this code in your CSS (layout.css):#cu3er-container {width:600px; outline:0;}
7. Create a HTML block using the admin panel block manager.Product: Phpfox
Module: Core
Title: mycu3er
Controller: -core.index-visitor
Placement: Block 2HTML CODE:
<div id="cu3er-container">
    <a href="http://www.adobe.com/go/getflashplayer">
        <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash 

player" />
    </a>
</div>
8. Now you need to edit the cu3er config file to point the images in the correct path.Edit file:
- static/jscript/cu3er/config.xmlFind:images/slide_1.jpgReplace with:static/jscript/cu3er/images/slide_1.jpgNow you can do the rest.