How to add PHP code

EasyDoesIt has the capability to include custom PHP code in template files, pages and blocks, so you can use your own code or include other people's' PHP libraries and make use of them in your web sites.

For example, if you want to show the current date at the top of your right column, you can include the following PHP code at '~/templates/_post.inc':

<div id="right_column"> <?php echo date('d/m/Y H:i:s', time()); ?> <p>Right column content.</p> </div> </body> </html>

Easy Does It

Creating small web sites, in an organized and easy fashion.

How to...

Lazy Badger Team

Lazy Badger

This is our war name regarding open software developing. We have a thing for badgers. You can be up to date about what we are doing by following us on Twitter.