Hello World

Joe edited this page Apr 17, 2017 · 3 revisions

Create New App

  • cd /home/user/public_html/littlefoot/lf/apps
  • Make a new folder, helloworld. Enter the folder.
  • Make a new file, index.php:
Hello World
  • Add the helloworld app to your navigation. (TODO: link to admin interface guide)
  • Visit the new navigation item on the front end.
  • It will display directly.

HTML

You can use HTML:

<h1>Hello World</h1>

PHP

And PHP:

<h1>Hello World</h1>
<p>Its <?=date('Y-M-d h:m:s');?></p>

Database Operations

print_r the row results of a SELECT * on the lf_actions table.

<?php
pre( (new \LfActions)->getAll() );
?>
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.