Jump to content

getcu3er in WHMCS


newteks

Recommended Posts

Hello,

 

i am building my new WHMCS based site here:

http://www.newteks.gr/index.php (it is in Greek)

 

I am trying to integrate getcu3er on the top right corner of the frontpage in order to show this

http://www.newteks.gr/templates/newteks/modules/portfolio/embed_example.html

 

But I am getting this message as you can see:

Click to get Flash Player

 

or try to enable JavaScript and reload the page

 

What I have done is the following:

in homepage.php I add this line

     <div id="portfolio">
   	{include file="$template/modules/portfolio/portfolio.tpl"}
   </div>

 

 

the portfolio.tpl contains :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<script type="text/javascript" src="templates/newteks/modules/portfolio/js/swfobject.js"></script>
<script type="text/javascript" src="templates/newteks/modules/portfolio/CU3ER.js"></script>
<script type="text/javascript">
// add your FlashVars
var vars = { xml_location : 'templates/newteks/modules/portfolio/CU3ER-config.xml', width:'490', height:'350' };
// add Flash embedding parameters, etc. wmode, bgcolor...
var params = { wmode: 'transparent' };
params.allowScriptAccess = "always";
// Flash object attributes id and name
var attributes = { id:'CU3ER', name:'CU3ER' };
// dynamic embed of Flash, set the location of expressInstall if needed
swfobject.embedSWF('templates/newteks/modules/portfolio/CU3ER.swf', "CU3ER", 490, 350, "10.0.0", 
"templates/newteks/modules/portfolio/js/expressinstall.swf", vars, params, attributes );
// initialize CU3ER class containing Javascript controls and events for CU3ER
var CU3ER_object = new CU3ER("CU3ER");
</script>
</head>


<body>
<div id="CU3ER">  		  
<!-- modify this content to provide users without Flash or enabled Javascript with alternative content information -->  		
<p>Click to get Flash Player<br />
<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>
</p>  		  
<p>or try to enable JavaScript and reload the page</p>
<!-- generated SEO content starts here -->  	
<div style="position:absolute;left:-50000px;">  <ul>
   <li>
     <a href="http://www.ydrogios.gr" target="_blank">
     <img src='images/ydrogios.jpg' alt=''/>
     </a>
     <a href="www.ydrogios.gr" target="_blank">
     <h2>Υδρόγειος ΑΑΑΕ</h2>
     <p></p>
     </a>
     <p>Υδρόγειος ΑΑΑΕ - www.ydrogios.gr</p>
   </li>
   <li>
     <a href="http://www.wsurf.gr" target="_blank">
     <img src='images/wsurf.jpg' alt=''/>
     </a>
     <a href="www.ydrogios.gr" target="_blank">
     <h2></h2>
     <p></p>
     </a>
     <p></p>
   </li>
   <li>
     <a href="http://www.cbp.gr" target="_blank">
     <img src='images/cbp.gr.jpg' alt=''/>
     </a>
     <a href="www.ydrogios.gr" target="_blank">
     <h2></h2>
     <p></p>
     </a>
     <p></p>
   </li>
   <li>
     <a href="http://www.choiceandattitude.com" target="_blank">
     <img src='images/choiceandattitude.jpg' alt=''/>
     </a>
     <a href="www.ydrogios.gr" target="_blank">
     <h2></h2>
     <p></p>
     </a>
     <p></p>
   </li>
   <li>
     <a href="http://www.seyk.gr" target="_blank">
     <img src='images/seyk.gr.jpg' alt=''/>
     </a>
     <a href="www.ydrogios.gr" target="_blank">
     <h2></h2>
     <p></p>
     </a>
     <p></p>
   </li>
 </ul></div>
<!-- generated SEO content ends here -->  
</div>		


</body>

 

 

What I am doing wrong ?

 

 

 

thanks

 

 

Kostas

Link to comment
Share on other sites

thanks for the advice.

 

I added {literal}{/literal} to this part:

 

{literal}

<script type="text/javascript" src="templates/newteks/modules/portfolio/js/swfobject.js"></script>

<script type="text/javascript" src="templates/newteks/modules/portfolio/CU3ER.js"></script>

<script type="text/javascript">

// add your FlashVars

var vars = { xml_location : 'templates/newteks/modules/portfolio/CU3ER-config.xml', width:'490', height:'350' };

// add Flash embedding parameters, etc. wmode, bgcolor...

var params = { wmode: 'transparent' };

params.allowScriptAccess = "always";

// Flash object attributes id and name

var attributes = { id:'CU3ER', name:'CU3ER' };

// dynamic embed of Flash, set the location of expressInstall if needed

swfobject.embedSWF('templates/newteks/modules/portfolio/CU3ER.swf', "CU3ER", 490, 350, "10.0.0",

"templates/newteks/modules/portfolio/js/expressinstall.swf", vars, params, attributes );

// initialize CU3ER class containing Javascript controls and events for CU3ER

var CU3ER_object = new CU3ER("CU3ER");

</script>{/literal}

 

 

and on local enviroment I can see the getcu3er but I can not see it online.

 

If you do a right click on it you can see it is trying to load FLASH but it doesn't show the flash.

 

 

 

thanks

 

 

Kostas

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated