Skip to content
Joe edited this page Oct 27, 2018 · 5 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() );
?>

Clone this wiki locally