The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PieceMaker
#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


Messages In This Thread
PieceMaker - by eru321 - 2012-02-11, 05:46:11
PieceMaker - by Connie - 2012-02-11, 05:48:12
PieceMaker - by eru321 - 2012-02-11, 06:58:18
PieceMaker - by eru321 - 2012-02-11, 07:29:01
PieceMaker - by Connie - 2012-02-11, 17:13:17
PieceMaker - by eru321 - 2012-02-11, 17:52:07



Users browsing this thread: 2 Guest(s)