Jump to:

3435 Posts in 1026 Topics by 866 members

Template Questions

SilverStripe Forums » Template Questions » Dynamic content grid possible?

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

Page: 1 2
Go to End
Author Topic: 4565 Views
  • rahi
    Avatar
    Community Member
    1 Post

    Dynamic content grid possible? Link to this post

    Hi

    I was wondering how i can make dynamic page so that content aligns automatically.

    Basically so that you have grid type content place holder and you could publish content in different sizes to it. If grid is 3x2 (3 vert. 2 horiz.). You could make 1x2 or 2x2 sized content and publish it automatically to grid where it fits best and maybe change order of the boxes.

    So how i could achieve this? Thanks for tips!

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: Dynamic content grid possible? Link to this post

    sounds a lot like a table...

    ...but I get what you mean. Your question is very general. You could generate objects from 2-dimensioned arrays with ArrayData, and create a couple of size methods to return the length of each dimension.

  • kcd
    Avatar
    Community Member
    54 Posts

    Re: Dynamic content grid possible? Link to this post

    Yes http://www.page-elements.com

    I'm curious to know how other silverstripe developers have implemented complex grid layouts without page elements...

  • cycle
    Avatar
    Community Member
    5 Posts

    Re: Dynamic content grid possible? Link to this post

    Wow! Thanks for posting that nice piece of software right there. I am currently reconsidering my CMS choice for the future. Built-in SilverStripe features are rocksolid, I can tell already after some research. This addition adds one BIG pro to my list though.

  • kcd
    Avatar
    Community Member
    54 Posts

    Re: Dynamic content grid possible? Link to this post

    Yeah I'd love to see more of this from Silverstripe and 960.gs out of the box

    It wouldn't take much to strip down Blackcandy and make it 960.gs for much better quality websites, regardless of if people use page-elements... perhaps I should start another forum topic

  • moloko_man
    Avatar
    Community Member
    72 Posts

    Re: Dynamic content grid possible? Link to this post

    I agree with you kcd, it would be really cool to see some 960 grid options out of the box, but the 960 grid system is not a one-size-fits-all solution, even though it probably should be. That being said, I love using the 960 grid system, and its really easy to implement into Silverstripe.

    The page-elements looks very interesting.

  • pivey
    Avatar
    Community Member
    11 Posts

    Re: Dynamic content grid possible? Link to this post

    Hi,

    i was installing Page Elements module in SS 2.4 and seems to work fine, except some small issues with IE8.
    Does somebody know where this module is supported?
    http://server.kelpdesign.com/projects/page-elements/wiki is a real mess to find your way to support.
    Did not find a dedicated forum to Page Elements module here either.

  • kcd
    Avatar
    Community Member
    54 Posts

    Re: Dynamic content grid possible? Link to this post

    Hi Rahi

    That is pretty much it because Page Elements is a one man project. Fortunately Tim is pretty good from what I've seen.

    The HTML/CSS in Page Elements isn't anything new so you should be able to tackle your IE8 problem in normal forums. Of course I'm not sure what your problem is.

    4565 Views
Page: 1 2
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.