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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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