5450 Posts in 1672 Topics by 1197 members
|Go to End|
18 December 2009 at 12:26pm
I am sort of new to SilverStripe but getting into it more and more, now I am a bit stuck though.
I want to add more pages to the CMS. I'll explain my scenario:
I've created a contact form with a bunch of fields and a file upload and I want to show all the entries and link to the files for download in a list in the CMS.
I've googled around for a while now, and all I got is a new button at the top of the CMS, how do I add new pages? Can someone point me in the right direction?
20 December 2009 at 12:47am
Get a look at ModelAdmin.php
20 December 2009 at 2:35am
Well, the docs will be a little more useful than the PHP file.
22 December 2009 at 7:01am
Thanks, that should get me started.
22 December 2009 at 9:26am
If you subclass LeftAndMain, the CMS will pick up the class automatically, and insert it in the CMS menu. Have a look how the CMSMain is done, and steal the code from there. Why are you implementing that wihin CMS, may I ask? What's the scenario?
23 December 2009 at 9:38pm
I sometimes have difficulties getting mail through properly, and since I already let the customer login to the CSM to control their own content, it seems like a good idea to put content coming from the website there too.
I also though that is should be a good start to start playing around with the CMS...
|Go to Top|