Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Custom Code on SilverStripe Page???

Go to End

2 Posts   1689 Views


Community Member, 1 Post

28 January 2009 at 1:40pm

I'd like to include some custom code (can be php) on a silverstripe tab with access controlled through the CMS. I need to access the id of a logged in user and will need a form post in the custom code. Is this easy?



Community Member, 712 Posts

29 January 2009 at 9:00am

Yes. Have a look at the tutorials first. They won't answer your question completely but they will give you a good idea of how to create tabs and add code to the CMS. Then you might want to have a look at the forms recipes in the documentation.