5407 Posts in 1647 Topics by 1187 members
|Go to End|
4 September 2009 at 3:41am
First off all this is not a question about auto-generated previews!!
I've got this site where I want 3 boxes on my home page. These 3 boxes should be content set on 3 different sub or first-level pages by the administrator ind the CMS (Not only children of the home/parent page).
The box content should be filled in on it's own tab called "Page preview", on pages having the page type needed that is. On this tab you could choose an image and write some text in a HTMLeditor field and a preview title field. Maybe a custom link text and url would be nice too otherwise just the url for the page on which we are defining the preview.
From the home page or any other page using the "Holder" page type, it should be possible to choose 3 pages to show previews from. Even better, would be to choose more than 3 pages, which the CMS then randomly shows 3 of at a time.
I just use the number 3 because it's what I need, but it should be easy to alter...
Any ideas on how to build this?
I've attached a clipping of the page how I wan't it to be in the frontend - not that I can't write that myself, just to make it easier to understand what I want.. (I know the boxes are the same on the clipping, but they should off course be different)
13 September 2009 at 3:38pm Last edited: 13 September 2009 3:43pm
The answer to this issue can be found in the following post http://silverstripe.org/general-questions/show/255659?start=0
Edit: Wrong post! Look here
|Go to Top|