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.

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.

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   2138 Views

Avatar
dogfuel

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?

Thanks!

Avatar
Hamish

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.