hi,
i've just upgraded my gallery from 1.x to 2.0.2 and my Random Image Module from (i forgot which version) to 1.8.2.
and just as the title said the module displays nothing but "Array". i've tried playing with the module settings without any results.
has anyone experiencing the same problem.
i'm on Joomla 1.5.7 btw.
thx.
dimas
Module displays nothing but "Array"
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Module displays nothing but "Array"
Hi, try to updgrade to 1.9.9 alfa...
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 28 Oct 2008, 00:00
Re: Module displays nothing but "Array"
thanks for replying Jan but can you give me the link to Random Image Module version 1.9.9 Alpha?
i've searched your site only to find the Phoca Gallery Plugin Version 1.9.9 Alpha. do i need this plugin to activate the module properly?
Dimas
i've searched your site only to find the Phoca Gallery Plugin Version 1.9.9 Alpha. do i need this plugin to activate the module properly?
Dimas
-
- Phoca Newbie
- Posts: 6
- Joined: 28 Oct 2008, 00:00
Re: Module displays nothing but "Array"
FOUND A SOLUTION!!
after banging my head to the wall for several hours i noticed that anything i wrote on tmp/default.php was not shown to the output. then i realized that the output's div has the id of "phocagallery-module" BUT the code's div has the id of "phocagallery-module-ri". i really don't know where is this coming from.
so i change this.. (the last lines of mod_phocagallery_random_image.php)
to this..
the code is copied from default.php
i'm really glad i found the solution but i will still following this thread though. i'm really curious about what is the cause of this bug.
hope this helps someone out there.
Dimas
after banging my head to the wall for several hours i noticed that anything i wrote on tmp/default.php was not shown to the output. then i realized that the output's div has the id of "phocagallery-module" BUT the code's div has the id of "phocagallery-module-ri". i really don't know where is this coming from.
so i change this.. (the last lines of mod_phocagallery_random_image.php)
Code: Select all
require(JModuleHelper::getLayoutPath('mod_phocagallery_random_image'));
?>
to this..
Code: Select all
?>
<div id ="phocagallery-module-ri" style="text-align:center;<?php echo $pgWidth;?>">
<center><?php
foreach ($output as $value) {
echo $value;
}
?></center>
</div>
<div style="clear:both"></div>
i'm really glad i found the solution but i will still following this thread though. i'm really curious about what is the cause of this bug.
hope this helps someone out there.
Dimas
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Module displays nothing but "Array"
I am sorry for misunderstanding with the module (plugin) Module for version 2 should be done in 14 days...
no idea why:
require(JModuleHelper::getLayoutPath('mod_phocagallery_random_image'));
doesn't work ???
Jan
no idea why:
require(JModuleHelper::getLayoutPath('mod_phocagallery_random_image'));
doesn't work ???
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 28 Oct 2008, 00:00
Re: Module displays nothing but "Array"
hmm.. never tried it. but it's okay. got the module working for now.
nice product Jan.
looking forward for the next version
cheers
Dimas
nice product Jan.
looking forward for the next version
cheers
Dimas
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Module displays nothing but "Array"
ok
If you find Phoca extensions useful, please support the project