WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Piecemaker wont load
  • Print
Pages: [1]   Go Down

Author Topic: Piecemaker wont load  (Read 11018 times)

been_1990

  • Guest
Piecemaker wont load
« on: August 07, 2010, 04:10:23 AM »
Im trying to load piecemaker into a template but it wont load no matter what. I'm using swf object to load it.

Code: [Select]
<script type="text/javascript">  
        var flashvars = {};  
        flashvars.xmlSource = "<?php echo TEMPLATE_DIR; ?>/images/piecemaker/piecemakerXML.xml";  
        flashvars.cssSource = "<?php echo TEMPLATE_DIR; ?>/images/piecemaker/piecemakerCSS.css";  
        flashvars.imageSource = "<?php echo TEMPLATE_DIR; ?>/images/piecemaker/images";  
        var attributes = {};  
        attributes.wmode = "transparent";  
        swfobject.embedSWF("<?php echo TEMPLATE_DIR; ?>/images/piecemaker/piecemakerNoShadow.swf", "flashcontent", "960", "610", "10", "<?php echo TEMPLATE_DIR; ?>/images/piecemaker/expressInstall.swf", flashvars, attributes);  
</script>  
the links are all tested and are working fine out of the template, it just doesnt load when using WB.
« Last Edit: August 07, 2010, 12:47:26 PM by Argos »
Logged

been_1990

  • Guest
Re: Piecemaker wont load
« Reply #1 on: August 09, 2010, 12:55:20 AM »
Anyone? If I use a IFRAME that loads a html page that has piecemaker embeded to it, it works.
Logged

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: Piecemaker wont load
« Reply #2 on: August 09, 2010, 06:45:57 AM »
No errors showing up, even not if you check the errorlogs?

cheers

Klaus
Logged

been_1990

  • Guest
Re: Piecemaker wont load
« Reply #3 on: August 10, 2010, 02:08:30 PM »
no errors relating to piecemaker. I even tried using the article editor import flash to embed piecemaker and it still doesn't work.
Logged

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: Piecemaker wont load
« Reply #4 on: August 10, 2010, 02:49:09 PM »
And the sourcecode of the rendered Page is OK as well (give us a Link maybe)?

cheers

Klaus
Logged

been_1990

  • Guest
Re: Piecemaker wont load
« Reply #5 on: August 11, 2010, 12:36:02 PM »
The source is ok. It just seems that when that is included in a php CMS it doesnt work. But in a html file it works perfectly. Im trying to upload my local wb setup so you can take a look.
Logged

been_1990

  • Guest
Re: Piecemaker wont load
« Reply #6 on: August 11, 2010, 11:21:35 PM »
I've uploaded to here: http://felizbahia.org/wb/wb/ 
But I can't get it to load images and css files, dunno why..
Logged

Offline crnogorac081

  • Posts: 2163
  • Gender: Male
Re: Piecemaker wont load
« Reply #7 on: August 12, 2010, 03:08:22 PM »
it seems that layout.css and html.css and maybe some other files are not there where they are called:

Code: [Select]
http://felizbahia.org/wb/wb/templates/PBATheme-NoExtras/css/html.css
http://felizbahia.org/wb/wb/templates/PBATheme-NoExtras/css/layout.css

Check if you uploaded files to that folder... Also, check if template folder is exactly as in link (check for CAPITAL LETTERS)

cheers
Logged
Web developer

been_1990

  • Guest
Re: Piecemaker wont load
« Reply #8 on: August 12, 2010, 08:28:20 PM »
It's not that, the filenames are right. Does WB use mod-rewrite? This website does, maybe something in .htaccess?
Logged

Offline crnogorac081

  • Posts: 2163
  • Gender: Male
Re: Piecemaker wont load
« Reply #9 on: August 12, 2010, 08:45:19 PM »
It could be, from what I can see.. css files werent there...

post the htaccess file so we can take a look
Logged
Web developer

been_1990

  • Guest
Re: Piecemaker wont load
« Reply #10 on: August 14, 2010, 02:21:23 AM »
I've uploaded it to another host(freehostia.com, it's pretty good by the way):
http://stack-files.freehostia.com/wb//pages/testblock.php
user and pass are admin.
Logged

been_1990

  • Guest
Re: Piecemaker wont load
« Reply #11 on: August 17, 2010, 12:12:50 AM »
So? Any info?
Logged

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: Piecemaker wont load
« Reply #12 on: August 17, 2010, 06:18:41 AM »
Loads fine on FireFox here ...

cheers

Klaus
Logged

aldus

  • Guest
Re: Piecemaker wont load
« Reply #13 on: August 17, 2010, 03:07:40 PM »
Hm ... same here, FF 3.6 - MacOS 10.5, but it took a while, nearly 20 to 25 seconds.
Maybe the images are too big?

Kind regards
Aldus
Logged

been_1990

  • Guest
Re: Piecemaker wont load
« Reply #14 on: August 17, 2010, 05:53:53 PM »
It's working because it's using an iframe to load a html page that embeds the swf using swfobject. But if I try to load it directly. it fails.

Below is the code:
Code: [Select]
<script type='text/javascript' src='http://stack-files.freehostia.com/wb/templates/PBATheme/images/piecemaker/swfobject.js'></script>
<script type="text/javascript">  
        var flashvars = {};  
        flashvars.xmlSource = "http://stack-files.freehostia.com/wb/templates/PBATheme/images/piecemaker/piecemakerXML.xml";  
        flashvars.cssSource = "http://stack-files.freehostia.com/wb/templates/PBATheme/images/piecemaker/piecemakerCSS.css";  
        flashvars.imageSource = "http://stack-files.freehostia.com/wb/templates/PBATheme/images/piecemaker/images";  
        var attributes = {};  
        attributes.wmode = "transparent";  
        swfobject.embedSWF("http://stack-files.freehostia.com/wb/templates/PBATheme/images/piecemaker/piecemakerNoShadow.swf", "flashcontent", "960", "610", "10", "http://stack-files.freehostia.com/wb/templates/PBATheme/images/piecemaker/expressInstall.swf", flashvars, attributes);  
</script>

http://stack-files.freehostia.com/wb/pages/notworking.php
Logged

hellblazer

  • Guest
Re: Piecemaker wont load
« Reply #15 on: August 17, 2010, 07:02:05 PM »
It's not working because the javascript is inside a comment.
And the path to the documents contains double slashes like "//" witch could be problematic.
As for my point of view - the slash before "images" should be removed to get it working.
Also the comment-tags around the js.

Regards
Hellblazer
Logged

Offline iradj

  • Posts: 353
  • Gender: Male
Re: Piecemaker wont load
« Reply #16 on: August 17, 2010, 09:10:39 PM »
Where are these "//"? I do not think so.

Iradj
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Piecemaker wont load
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2