Inline Scripts is a method of adding script programs in languages like php to add-ons. Inline scripts can be placed anywhere on the page, but are executed after the page is rendered by Contensive and returned to the webserver's scriting environment.
- Create a new addon
- Give it a name
- In the placement tab, check In Content
- In the Inline Script tab, add this: return $cp->user->name
- edit a page and place the addon on the page
- View the page and the add-on shows thier name