21287 Posts in 5733 Topics by 2602 members
| Go to End | ||
| Author | Topic: | 3885 Views |
-
Re: Creating a site with content blocks

31 July 2009 at 6:00pm
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.
-
Re: Creating a site with content blocks

4 August 2009 at 2:48pm Last edited: 4 August 2009 2:59pm
@chiefworker
got something like this already sorted.
will release as open source soon.need to write documentation and a few minor bugfixes.
-
Re: Creating a site with content blocks

16 January 2010 at 9:21am
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!
-
Re: Creating a site with content blocks

16 January 2010 at 12:45pm Last edited: 16 January 2010 12:50pm
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.
-- -
Re: Creating a site with content blocks

31 January 2010 at 11:20pm
Hi - we have finished doing this one way - lots of blocks - left and right - each with independent control www.indiahorizonz.com
| 3885 Views | ||
| Go to Top |


