Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 02:05:31 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155539
Posts in
21712
Topics by
7737
Members
Latest Member:
deanmacullam
WebsiteBaker Community Forum
English
Templates, Menus & Design
(Moderator:
Argos
)
Piecemaker wont load
Pages: [
1
]
Go Down
Author
Topic: Piecemaker wont load (Read 1619 times)
been_1990
Offline
Posts: 17
Piecemaker wont load
«
on:
August 07, 2010, 03: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:
<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, 11:47:26 AM by Argos
»
Logged
been_1990
Offline
Posts: 17
Re: Piecemaker wont load
«
Reply #1 on:
August 08, 2010, 11:55:20 PM »
Anyone? If I use a IFRAME that loads a html page that has piecemaker embeded to it, it works.
Logged
kweitzel
Forum administrator
Offline
Posts: 6975
Re: Piecemaker wont load
«
Reply #2 on:
August 09, 2010, 05:45:57 AM »
No errors showing up, even not if you check the errorlogs?
cheers
Klaus
Logged
WebsiteBaker Org e.V. - for WebsiteBaker
been_1990
Offline
Posts: 17
Re: Piecemaker wont load
«
Reply #3 on:
August 10, 2010, 01: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
kweitzel
Forum administrator
Offline
Posts: 6975
Re: Piecemaker wont load
«
Reply #4 on:
August 10, 2010, 01:49:09 PM »
And the sourcecode of the rendered Page is OK as well (give us a Link maybe)?
cheers
Klaus
Logged
WebsiteBaker Org e.V. - for WebsiteBaker
been_1990
Offline
Posts: 17
Re: Piecemaker wont load
«
Reply #5 on:
August 11, 2010, 11:36:02 AM »
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
Offline
Posts: 17
Re: Piecemaker wont load
«
Reply #6 on:
August 11, 2010, 10: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
crnogorac081
AddOn Development
Offline
Posts: 1706
Re: Piecemaker wont load
«
Reply #7 on:
August 12, 2010, 02:08:22 PM »
it seems that layout.css and html.css and maybe some other files are not there where they are called:
Code:
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
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
been_1990
Offline
Posts: 17
Re: Piecemaker wont load
«
Reply #8 on:
August 12, 2010, 07:28:20 PM »
It's not that, the filenames are right. Does WB use mod-rewrite? This website does, maybe something in .htaccess?
Logged
crnogorac081
AddOn Development
Offline
Posts: 1706
Re: Piecemaker wont load
«
Reply #9 on:
August 12, 2010, 07: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
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
been_1990
Offline
Posts: 17
Re: Piecemaker wont load
«
Reply #10 on:
August 14, 2010, 01: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
Offline
Posts: 17
Re: Piecemaker wont load
«
Reply #11 on:
August 16, 2010, 11:12:50 PM »
So? Any info?
Logged
kweitzel
Forum administrator
Offline
Posts: 6975
Re: Piecemaker wont load
«
Reply #12 on:
August 17, 2010, 05:18:41 AM »
Loads fine on FireFox here ...
cheers
Klaus
Logged
WebsiteBaker Org e.V. - for WebsiteBaker
aldus
Offline
Posts: 1238
Re: Piecemaker wont load
«
Reply #13 on:
August 17, 2010, 02: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
Offline
Posts: 17
Re: Piecemaker wont load
«
Reply #14 on:
August 17, 2010, 04: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:
<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
Offline
Posts: 40
Re: Piecemaker wont load
«
Reply #15 on:
August 17, 2010, 06: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
It's not the PHP itself - it's the thought behind it, that drives me mad.
iradj
Offline
Posts: 261
Re: Piecemaker wont load
«
Reply #16 on:
August 17, 2010, 08:10:39 PM »
Where are these "//"? I do not think so.
Iradj
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...