Phoca Gallery Image Module - Not correct output HTML

Phoca modules - support for all Phoca modules except Phoca Gallery modules
Raven_21
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 18 May 2011, 16:05

Phoca Gallery Image Module - Not correct output HTML

Post by Raven_21 »

Hi everyone!

I found the module Phoca Gallery Image Module Version 3.0.1 for Joomla 1.6 small bug.

In the derivation of the module before <div id ="phocagallery-module-ri"> a blank extra node (textnode). Google Chrome displays it in the source code of the page, as> <(invisible characters between the> <). This node is displayed in the design and can distort it.

Test site:
Joomla! 1.6
Phoca Gallery Image Module Version 3.0.1
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Image Module - Not correct output HTML

Post by Jan »

Hi, thank you for the info, do you know the exactly place in the code?
If you find Phoca extensions useful, please support the project
Raven_21
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 18 May 2011, 16:05

Re: Phoca Gallery Image Module - Not correct output HTML

Post by Raven_21 »

In the code displays an empty text node.
I was able to make a hot fix by using JS.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Image Module - Not correct output HTML

Post by Jan »

But where exactly in the source code?
If you find Phoca extensions useful, please support the project
Raven_21
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 18 May 2011, 16:05

Re: Phoca Gallery Image Module - Not correct output HTML

Post by Raven_21 »

I could not find this piece of code in the module.
It is possible that it's in a component, I do not know. :(
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Image Module - Not correct output HTML

Post by Jan »

Hmmm, I don't know the place so really cannot say, but the module should not take output html from e.g. component, everything should be prepared in the module code and module template. :idea:
If you find Phoca extensions useful, please support the project
Neb37
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 31 May 2011, 07:26

Re: Phoca Gallery Image Module - Not correct output HTML

Post by Neb37 »

I get the same problem, and it creates a blank line just before the mosaic.
I tried to find the code error, but unfortunately I found nothing .. will try again soon.

++
pitu
Phoca Member
Phoca Member
Posts: 13
Joined: 01 Oct 2010, 21:29
Location: Slovakia

Re: Phoca Gallery Image Module - Not correct output HTML

Post by pitu »

Hi, seems file
mod_phocagallery_image.php (modules\mod_phocagallery_image\mod_phocagallery_image.php) is corrupted.

I saved this file in Windows(CP1250) coding first, after this back to UTF-8 coding /in PSPad editor/ and Phoca Galery Image modul now generate correct html code...
File size before these steps: 41039
File size after these steps: 41036
http://www.easy-share.com/1915803513/mo ... _image.php
Neb37
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 31 May 2011, 07:26

Re: Phoca Gallery Image Module - Not correct output HTML

Post by Neb37 »

Yes, it works !!!

Thx ! :twisted:
Post Reply