Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PieceMaker
#1
Do anyone try to use the Piecemaker slideshow with get simple?
It seems not to work and i can't understand why.
Any ideas?
Reply
#2
give us the URL so that we can see the sourcecode

also the URL of the slideshow (there are so many now)
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#3
So... you can find the slideshow at http://www.modularweb.net/#/en/piecemaker/
My test site at http://www.emanuelecarnesecchi.com/filo/getsimple
I fyou want to access like admin, to see template and other send me an e privat message, and i'll send you user and pass.
the template code:
Code:
<?php if(!defined('IN_GS')){ die('you cannot load this page directly.'); }
/****************************************************
*
* @File:             template.php
* @Package:        GetSimple
* @Action:        GreenField theme for the GetSimple CMS
*
*****************************************************/
?>
<!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><?php get_page_clean_title(); ?> &lt; <?php get_site_name(); ?></title>
<?php get_header(); ?>
<meta name="robots" content="index, follow" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="<?php get_theme_url(); ?>/templatemo_style.css" rel="stylesheet" type="text/css" media="all" />

    



<style type="text/css" media="screen, projection">
    #templatemo_middle {
        overflow: hidden;
        width: 960px;
        height: 320px;
        background: url(<?php get_theme_url(); ?>/images/templatemo_middle.jpg) no-repeat
    }
    #piecemaker {visibility:visible;border:2px solid red}
</style>

</head>
<body id="<?php get_page_slug(); ?>" >

<script type="text/javascript" src="<?php get_theme_url(); ?>/scripts/swfobject/swfobject.js"></script>
    
    <script>
      var flashvars = {};
      flashvars.cssSource = "<?php get_theme_url(); ?>/css/piecemaker.css";
      flashvars.xmlSource = "<?php get_theme_url(); ?>/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('<?php get_theme_url(); ?>/piecemaker.swf', 'piecemaker', '960', '500', '10', null, flashvars,  
      params, null);
    
    </script>
<div id="templatemo_body_wrapper">
<div id="templatemo_wrapper">

    <div id="templatemo_header">
        <div id="site_title">
            <a href="<?php get_site_url(); ?>"><img src="<?php get_theme_url(); ?>/images/templatemo_logo.png" alt="LOGO" /><span></span></a>
        </div>
        <!-- end of site_title -->
    </div><!-- end of header -->
    
    <div id="templatemo_menu">
    <ul>
        <?php get_navigation(return_page_slug()); ?>
        </ul>
    </div> <!-- end of menu -->


            <div id="templatemo_fw">
        <div id="piecemaker">
  
    </div>
    </div>
    
    <div id="templatemo_main_base">
    <div id="templatemo_main">
        
        <div class="content_box">
          <div class="col_w410">
          <?php get_page_content(); ?>
          </div>
        
            <div class="col_w410 last_col">
                <?php return_custom_field('AltoDx'); ?>
            </div>
            <div class="cleaner"></div>
        </div>
        
        <div class="content_box">
            <div class="col_w410">
                <?php return_custom_field('BassoSx'); ?>
            </div>
    
      <div class="col_w410 last_col">
                <?php return_custom_field('BassoDx'); ?>
            </div>
            <div class="cleaner"></div>
        </div>
    
    </div>    
    </div>    <!-- end of main_base -->
    <div id="templatemo_main_bottom"></div>
    
        <div id="templatemo_footer">

        <?php get_footer(); ?>
    </div> <!-- end of footer -->
    
    <div class="cleaner"></div>
</div> <!-- end of wrapper -->
</div> <!-- end of body_wrapper -->

</body>
</html>

thanks
Reply
#4
SOLVED!

I've made mistake in the xml file...
AnyWay THX!
Reply
#5
good that you worked it out

I checked your site, are you going to repeat the same gallery one very page of your site or are you going to have different galleries on each site?
Because for me (screen resolution 1366 x 768) I only see the gallery on each page, not the content of the page

Cheers, Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#6
The target is to create a plugin. The user will select photos, transitions and in which page put the slideshow. To start, i would see if the slideshow work fine, so i put it directly into the default template.
Another question, withou opening an another post.
Which Hook i've to use to insert
Code:
<script type="text/javascript" src="<?php get_theme_url(); ?>/scripts/swfobject/swfobject.js"></script>
    
    <script>
      var flashvars = {};
      flashvars.cssSource = "<?php get_theme_url(); ?>/css/piecemaker.css";
      flashvars.xmlSource = "<?php get_theme_url(); ?>/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('<?php get_theme_url(); ?>/piecemaker.swf', 'piecemaker', '960', '500', '10', null, flashvars,  
      params, null);
    
    </script>


in the head tag of the page?

I've tried to create a function "script_head" and return its value in the header with this line of code:
Code:
add_filter('theme-header','script_head');

but it write anything in my page....

maybe it's better if i open another post Smile)
Cheers
Reply




Users browsing this thread: 1 Guest(s)