Jump to:

23368 Posts in 18143 Topics by 2863 members

General Questions

SilverStripe Forums » General Questions » Multi-Column Output

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 1078 Views
  • jfusco
    Avatar
    Community Member
    52 Posts

    Multi-Column Output Link to this post

    I'm not trying to have a multi-column template. What I'm trying to do is get a long list of items to display across multiple columns within the page framework.

    I essentially copied the sitemap files from tutorial 6 and modified them so that they display a list of all article pages in the site (see http://www.unclebubby.com/wavs2/master-list). When I am done, I will have close to if not in excess of 200 articles and it may get bigger. Rather than just spitting out a long list that people have to scroll through for two days before reaching the end, I would like the output to be in columns.

    I have searched the web and found an example for CSS (http://www.alistapart.com/articles/multicolumnlists) but I've tried to use it and can't seem to figure out where to insert the code. I don't want to use an HTML table and can't, for some reason, wrap my head around how to do that within SS anyway. I even found a javascript which looked to be perfect but it didn't work in IE7 although it worked fine in FireFox.

    Can anyone help me line this out? Bonus gratitude points if you can also tell me how to alphebetize the list.

    Thanks,
    Joe

  • tobych
    Avatar
    Community Member
    97 Posts

    Re: Multi-Column Output Link to this post

    From your site it looks like you fixed this. Right?

  • jfusco
    Avatar
    Community Member
    52 Posts

    Re: Multi-Column Output Link to this post

    Yes, yes I did. I was being a noob and realized my posting here was in the wrong forum. I posted it in the templates forum and came up with a tidy little solution that's actually adjustable. Thank you for replying.

    1078 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.