Writing /home/tachyon/public_html/scripts/data/cache/a/ab442fa1f4f92678c5a1080488546154.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/tachyon/public_html/scripts/data/cache/a/ab442fa1f4f92678c5a1080488546154.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/tachyon/public_html/scripts/data/cache/4/456b967a7aab0dac3ebabc5b2ef30e7c.code failed
Writing /home/tachyon/public_html/scripts/data/cache/d/d972de14ca21fe91273e4fc6015ea5bf.code failed
Writing /home/tachyon/public_html/scripts/data/cache/a/ab442fa1f4f92678c5a1080488546154.xhtml failed
Sometimes it is desirable to display your blog on another page outside the blog itself–for instance, you can display blog articles on your homepage. With VSNS Lemon this is easy to do and to customize.
Include settings.php in the page you wish to show the blog article(s).
Call
vsns::display_blog() with the parameters you desire. The parameters are explained in detail on that function's reference page.
Display important articles and the first few regular articles (emulate your blog front page):
<?php
require ('path/to/blog/settings.php');
echo vsns::display_blog ('important');
echo vsns::display_blog ('index');
?>
Display only article 45:
<?php
require ('path/to/blog/settings.php');
echo vsns::display_blog ('single', 'full', 45);
?>