Piecemaker v2 in moodle frontpage

Piecemaker v2 in moodle frontpage

بواسطة - Jeff Vas
عدد الردود: 3

Hi Guys,

Do anyone got successfully working on integrating an image slider>Piecemaker v2  ???

It uses a javascript to load a swf object, but the TinyMCE editor seems to parse it.

Thanks

Jeff

متوسط التقييمات: -
رداً على Jeff Vas

Re: Piecemaker v2 in moodle frontpage

بواسطة - Mary Evans

Hi,

As far as I know, the only way to get any slider to work in Moodle is to add the necessary javascript and code into a customised theme. Similar to the way my Graphite theme works.

Mary

رداً على Mary Evans

Re: Piecemaker v2 in moodle frontpage

بواسطة - Jeff Vas

Hi Mary,

Thanks for the reply, can you point me where could I place those script?

Basically here's the HTML embed code that works:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtmllang="en" xml:lang="en">
  <head>
    <title>The Piecemaker by Modularweb</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    
    <script type="text/javascript" src="scripts/swfobject/swfobject.js"></script>
        
    <script type="text/javascript">
      var flashvars {};
      flashvars.cssSource "piecemaker.css";
      flashvars.xmlSource "piecemaker.xml";
    
      var params {};
      params.play "true";
      params.menu "false";
      params.scale "showall";
      params.wmode "transparent";
      params.allowfullscreen "true";
      params.allowscriptaccess "always";
      params.allownetworking "all";
    
      swfobject.embedSWF('piecemaker.swf''piecemaker''1000''600''10'nullflashvars,    
      paramsnull);
    
    </script>
  </head>
  
<body>
  <center>
    <div id="piecemaker">
      <p>Put your alternative Non Flash content here.</p>
    </div>
    </center>
  </body>
</html>

 

 

Thanks,

Jeff

رداً على Jeff Vas

Re: Piecemaker v2 in moodle frontpage

بواسطة - Jeff Vas

This solve my problem easily:

by embedding a label on Frontpage then editing it's HTML code to insert the iframe src=yourswf

<center><iframe name="piecemaker" align="middle" src="http://yourdomain.com/piecemaker.swf" scrolling="no" frameborder="no" height="#" width="#"> </iframe></center>

#=size of your swf