silverstripe-framework/templates/SilverStripe/Control/Controller.ss

47 lines
1.8 KiB
Scheme
Raw Permalink Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<% base_tag %>
$MetaTags
2017-03-14 23:58:01 +01:00
<% require themedCSS('client/styles/debug') %>
</head>
<body>
<div class="info">
<h1><% if $Title %>$Title<% else %>Welcome to SilverStripe<% end_if %></h1>
</div>
<div class="options">
2012-09-19 11:00:43 +02:00
<% if $Content || $Form %>
$Content
$Form
<% else %>
<h3>Getting Started</h3>
<p>To get started with the SilverStripe framework:</p>
<ol>
<li>Create a <code>Controller</code> subclass (<a href="https://docs.silverstripe.org/en/developer_guides/controllers">docs.silverstripe.org/en/developer_guides/controllers/</a>)</li>
<li>Setup the routes.yml to your <code>Controller</code> (<a href="https://docs.silverstripe.org/en/developer_guides/controllers/routing">docs.silverstripe.org/en/developer_guides/controllers/routing</a>).</li>
<li>Create a template for your <code>Controller</code> (<a href="https://docs.silverstripe.org/en/developer_guides/templates">docs.silverstripe.org/en/developer_guides/templates/</a>)</li>
2012-09-19 11:00:43 +02:00
</ol>
<h3>Community resources</h3>
<ul>
<li>
<p><a href="https://silverstripe.org/slack">silverstripe.org/slack</a> Join other SilverStripe developers in the community Slack channel.</p>
2012-09-19 11:00:43 +02:00
</li>
<li>
<p><a href="https://stackoverflow.com/questions/tagged/silverstripe">stackoverflow.com/questions/tagged/silverstripe</a> Ask SilverStripe questions on Stack Overflow.</p>
</li>
<li><p><a href="https://docs.silverstripe.org">docs.silverstripe.org</a> Searchable developer documentation, how-tos, tutorials, and reference.</p></li>
2012-09-19 11:00:43 +02:00
<li><p><a href="https://api.silverstripe.org">api.silverstripe.org</a> API documentation for PHP classes, methods and properties.</p></li>
2014-12-04 15:41:10 +01:00
</ul>
<% end_if %>
</div>
</body>
</html>