empty tree module

Phoca Gallery modules - modules for Phoca Gallery extension
schlogo
Phoca Enthusiast
Phoca Enthusiast
Posts: 51
Joined: 03 Sep 2008, 16:45
Contact:

empty tree module

Post by schlogo »

Hello,
I ve installed phoca 1.8.8, created galleries and uploaded photos then installed the tree module. The module remains empty...any thought about this?
birdie
Phoca Member
Phoca Member
Posts: 22
Joined: 16 Aug 2008, 12:31

Re: empty tree module

Post by birdie »

Hi Schlogo,
did you read this thread already? Does it help?
viewtopic.php?f=15&t=333
birdie
sloidts
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 27 Nov 2008, 16:25

Re: empty tree module

Post by sloidts »

Hi,
I have the same problem with the tree module.
When I look into the code the JavaScript has been entered correctly.
Already disabled the SEF-System Module, but without success.
Any suggestions?
Regards
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: empty tree module

Post by Jan »

which version of module and wich version of component do you use?
If you find Phoca extensions useful, please support the project
sloidts
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 27 Nov 2008, 16:25

Re: empty tree module

Post by sloidts »

Hi,

I'm using PhocaGallery Component version 2.1.0 RC
The installed module has the same version number (2.1.0)

If you want to check the site, I created an album with 3 pictures in it. You can find it on following url http://www.gito-tervuren.org/

Kind regards,
Siegfried
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: empty tree module

Post by Jan »

??? if I see the HTML code on your site, the tree is here but not displayed, maybe there is some problem with javascript and dtree on your site

Code: Select all

<h3>Phoca Gallery Tree Module</h3>
											<div id="phocagallery-module">
<center><div style="text-align: left;"><div class="dtree"><script type="text/javascript">
<!--

dtree_4936b45bf2532 = new dTree2548('dtree_4936b45bf2532', '/modules/mod_phocagallery_tree/assets/');

dtree_4936b45bf2532.add(0,-1,' Galleries','/index.php?option=com_phocagallery&view=categories&Itemid=2');
dtree_4936b45bf2532.add(1,0,'Eerste','/index.php?option=com_phocagallery&view=category&id=1:Eerste&Itemid=2');
dtree_4936b45bf2532.add(2,1,'Foto','/index.php?option=com_phocagallery&view=category&id=2:Foto&Itemid=2');
dtree_4936b45bf2532.add(3,2,'Tweede','/index.php?option=com_phocagallery&view=category&id=3:Tweede&Itemid=2');

document.write(dtree_4936b45bf2532);
dtree_4936b45bf2532.openTo(2,'true');

//-->
</script></div></div></center>
but no idea why it is not displayed on your site? Javascript is working ok on your site, because modal box is working :idea: :( :(

Jan
If you find Phoca extensions useful, please support the project
sloidts
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 27 Nov 2008, 16:25

Re: empty tree module

Post by sloidts »

Hi Jan,

Meanwhile I tried a lot of things.
I already reinstalled the complete website, but still the same problem.
When I open the page in Internet Explorer I noticed there's a small error screen.
This error screen shows following error message: 'dTree2548' is undefined
Error is on line 185. I guess this is the reason why the Phoca Tree Menu isn't visible.
Already did some research on the internet, but untill now I haven't found a working solution.
Maybe you know how to correct the error message :wink:

Kind regards
Siegfried
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: empty tree module

Post by Jan »

??? ... there is some problem with javascript but where ? do you use other extension which uses dtree ?

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: empty tree module

Post by Jan »

thank you for this info, I will take a look at the javascript for // and ; code too...

Jan
If you find Phoca extensions useful, please support the project
sloidts
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 27 Nov 2008, 16:25

Re: empty tree module

Post by sloidts »

Hi all,

Removed all the comments in the dree.js, the menu is working fine now.
Now I and my visitors can enjoy this great application :twisted:
Thank you all for the help.

Kind regards,
siegfried
Post Reply