Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Gallery error when 'Items per line' is set to 1


Reply


2 Posts   962 Views

Avatar
throb

Community Member, 23 Posts

13 July 2008 at 3:48am

XML Parsing Error: mismatched tag. Expected: </table>.
Location: http://localhost/silverstripe/videos/?stage=Stage
Line Number 104, Column 8:               </tr>
------------------------------------------^

looks like there is no code to check for something like
if itemsperline < 2:
do stuff
else:
do other stuff

Avatar
Sam

Administrator, 685 Posts

14 July 2008 at 4:02pm

You're right, that's a bug. I have logged it here: http://open.silverstripe.com/ticket/2656

If you come up with a fix, we would appreciate a patch posted to the ticket! :-)