Jump to:

22977 Posts in 11742 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Creating a site with content blocks

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 2
Go to End
Author Topic: 4347 Views
  • chiefworker
    Avatar
    Community Member
    6 Posts

    Re: Creating a site with content blocks Link to this post

    That is nice - do share the code - we are working on something where we want to stack up a bunch of content areas one on top the other on both left and right side - with the ability to control the content in them. The content in any of the rendition blocks being any combination of words, graphics and widgets. Your code will help to serve the basis of this.

  • t|m
    Avatar
    Community Member
    19 Posts

    Re: Creating a site with content blocks Link to this post

    @chiefworker

    got something like this already sorted.
    will release as open source soon.

    need to write documentation and a few minor bugfixes.

    Attached Files
  • mattman
    Avatar
    Community Member
    18 Posts

    Re: Creating a site with content blocks Link to this post

    Hi Ian

    I have just started using silverstripe and am aiming to produce the exact layout you got to work which looks great - can I please take you up on your offer of sharing the code? I am new to CSS and this would really help - thanks!

  • ianpiper
    Avatar
    Community Member
    32 Posts

    Re: Creating a site with content blocks Link to this post

    Yes, happy to share it. I have attached it as a zip file here. The code consists of the themes folder, which is mostly .ss template files, css, images and so on, and the php class files and JavaScript in the mysite folder. The class files show how the Content Blocks and articles are put together. The cb.js file is used along with the styles in layout.css to handle the construction of the round-cornered boxes.

    I have only included the minimal in-line comments in the code, but if you want to know specifics post the questions and I will try to answer them here.

    I should mention that I have used this layout on my live site now: http://www.tellura.co.uk/ and it is working out well.

    Good luck and if you improve it (shouldn't be difficult) share it back!

    Ian.
    --

    Attached Files
  • chiefworker
    Avatar
    Community Member
    6 Posts

    Re: Creating a site with content blocks Link to this post

    Hi - we have finished doing this one way - lots of blocks - left and right - each with independent control www.indiahorizonz.com

    4347 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.