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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

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


Go to End


2 Posts   1168 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, 690 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! :-)