I understand that I need to edit the file /components/com_phocagallery/views/category/tmpl/default.php but don't know how to do it. Please helpLine 206, Column 338: document type does not allow element "ul" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
…: 0.3}" ><ul class="star-rating-small"><li class="current-rating" style="width…
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Validation error with image rating turned on
-
jesin
- Phoca Newbie

- Posts: 6
- Joined: 15 May 2010, 19:31
- Location: India
Validation error with image rating turned on
I'm using phoca gallery 2.7.0 on joomla 1.5.17. The problem is that when I turn on image rating and when I validate my website I get the following errors
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Validation error with image rating turned on
Hi, this is an external rating script and the effect only works this way (block element needs to be added).
So there are two ways:
- display rating to users with this effect, will be not valid but it is SEO friendly
- don't display rating effects and make the code valid - will be valid but NOT SEO friendly, because users will get not the rating effect
The code you can find here:
components\com_phocagallery\views\category\tmpl\default.php
If you will find some way with valid code, please let me know, will be great to update it.
Jan
So there are two ways:
- display rating to users with this effect, will be not valid but it is SEO friendly
- don't display rating effects and make the code valid - will be valid but NOT SEO friendly, because users will get not the rating effect
The code you can find here:
components\com_phocagallery\views\category\tmpl\default.php
If you will find some way with valid code, please let me know, will be great to update it.
Jan
If you find Phoca extensions useful, please support the project