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   949 Views

Avatar
throb

13 July 2008 at 3:48am Community Member, 23 Posts

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

14 July 2008 at 4:02pm Administrator, 685 Posts

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! :-)