Hello everybody,
I've got this site up: 2adventuretraveltips.com. This is pure Phoca Gallery with some small hacks.
The homepage does not validate correctly with the validator (http://validator.w3.org/check?verbose=1 ... ips.com%2F). It says it has a non-utf8 character.
The category pages, like http://2adventuretraveltips.com/home/ca ... mayan-site, does validate correctly (http://validator.w3.org/check?verbose=1 ... ith-lagoon). Simple article pages also validate.
Does anybody know where this problem lies or how I can find out? This is build on latest joomla version with latest stable version of Phoca Gallery.
If you need more details let me know.
Best regards,
Dens
Validation problem: non utf-8 character
-
Dutch_Dens
- Phoca Newbie

- Posts: 9
- Joined: 22 Jun 2009, 13:08
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Validation problem: non utf-8 character
Hi, I see there e.g.
alt="Mexico � Bacalar (with lagoon)"
so maybe this can be a problem
alt="Mexico � Bacalar (with lagoon)"
so maybe this can be a problem
If you find Phoca extensions useful, please support the project
-
Dutch_Dens
- Phoca Newbie

- Posts: 9
- Joined: 22 Jun 2009, 13:08
Re: Validation problem: non utf-8 character
Ahh yes,
I see it now. That must be the problem. Every thumbnail has this character in the alt. "src="/./images/phocagallery/thumbs/phoca_thumb_m_bacalar_pirate_museum__3_.jpg" alt="Mexico � Bacalar (with lagoon)"
Changing 'Display Image Beside Category Name' in 'Categories View Settings (Category List)' changes the lay out. Only when selecting 'hide' (without thumbnails, just category text), does the page validate.
The category pages validate correctly. So it seems there is something wrong with the alt text of the thumb nails on the category home view page. Do you have an idea how we can fix this? What problem can it give us in terms of seo / webbrowsers?
Also, a different question: We really like the way it looks, but we think it would be even better to have this in two columns. Is this possible?
Good Luck,
Dennis
I see it now. That must be the problem. Every thumbnail has this character in the alt. "src="/./images/phocagallery/thumbs/phoca_thumb_m_bacalar_pirate_museum__3_.jpg" alt="Mexico � Bacalar (with lagoon)"
Changing 'Display Image Beside Category Name' in 'Categories View Settings (Category List)' changes the lay out. Only when selecting 'hide' (without thumbnails, just category text), does the page validate.
The category pages validate correctly. So it seems there is something wrong with the alt text of the thumb nails on the category home view page. Do you have an idea how we can fix this? What problem can it give us in terms of seo / webbrowsers?
Also, a different question: We really like the way it looks, but we think it would be even better to have this in two columns. Is this possible?
Good Luck,
Dennis
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Validation problem: non utf-8 character
Hi, no idea what is wrong there
All other views in categories view (except map) can be displayed in more colums, see e.g.:
https://www.phoca.cz/wallpapers
Jan
If you mean categories view - detail view, this is possible in 2.5.0 version.We really like the way it looks, but we think it would be even better to have this in two columns. Is this possible?
All other views in categories view (except map) can be displayed in more colums, see e.g.:
https://www.phoca.cz/wallpapers
Jan
If you find Phoca extensions useful, please support the project
-
Dutch_Dens
- Phoca Newbie

- Posts: 9
- Joined: 22 Jun 2009, 13:08
Re: Validation problem: non utf-8 character
It seems the separator between the main and subcategory is the weird character. Mexico is the main category, bacalar is a sub of Mex. That's also why the other pages don't have the problem, only the main category view page with "Main category --> sub category" for the alt on the thumbnails. Is there a place where the separator is defined? Can I change it?Jan wrote:Hi, no idea what is wrong there![]()
Best regards,
Dennis
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Validation problem: non utf-8 character
He search the code for »
Jan
Jan
If you find Phoca extensions useful, please support the project
-
Dutch_Dens
- Phoca Newbie

- Posts: 9
- Joined: 22 Jun 2009, 13:08
Re: Validation problem: non utf-8 character
I'm not sure, but I hope you asked me to search the code for ». Attached are abstracts of the files that have have » inside. I don't see any phoca files (although maybe you do). Maybe it's something with the template?Jan wrote:He search the code for »
Warm here now, need sunglasses
Regards,
Dens
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Validation problem: non utf-8 character
I mean, you should search the » code in Phoca Galery files and change them to other code e.g. > to test if this can be a problem
version 2.5.0
components/com_phocagallery/models/categories.php
administrator/components/com_phocagallery/libraries/phocagallery/render/renderadmin.php
administrator/components/com_phocagallery/libraries/phocagallery/render/renderprocess.php
administrator/components/com_phocagallery/models\phocagallerycs.php
version 2.5.0
components/com_phocagallery/models/categories.php
administrator/components/com_phocagallery/libraries/phocagallery/render/renderadmin.php
administrator/components/com_phocagallery/libraries/phocagallery/render/renderprocess.php
administrator/components/com_phocagallery/models\phocagallerycs.php
If you find Phoca extensions useful, please support the project
-
Dutch_Dens
- Phoca Newbie

- Posts: 9
- Joined: 22 Jun 2009, 13:08
Re: Validation problem: non utf-8 character
Thank you, I'll try that!
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Validation problem: non utf-8 character
Ok
If you find Phoca extensions useful, please support the project