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.
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.
- Previous 10 entries
- 1
- Page 22(current)
@chiefworker
got something like this already sorted.
will release as open source soon.
need to write documentation and a few minor bugfixes.
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!
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.
--
Hi - we have finished doing this one way - lots of blocks - left and right - each with independent control www.indiahorizonz.com
- Previous 10 entries
- 1
- Page 22(current)