# Huge improvements to JBlogs

As I have not worked on JBlogs for about 4 or 5 months (getting lazy or just working on other projects), I decided it was time to get back into the swing of it again.

Today I am happy to say that JBlogs requires much less to setup and is better designed. As a result, I have got rid of the custom footer and custom headers. What you do now instead is define a PHP file which contains your own header such as this one below:

PHP
<?php
$no_title = true;$expires = true;
$math = true;$title = $title;$desc = $description;$head = $stylesheets; include$_SERVER['DOCUMENT_ROOT'].'/assets/php/head.php';
?>


This example is using my DragonScript to power the blog: it points the JBlogs variables ($title,$description and $stylesheets) to my own DragonScript. For the sake of going in to too much detail here (more will be on DevNet), this is how it could be used in a standard HTML page: PHP <html> <head> <title> <?php echo$title;?>
</title>
<?php echo $stylesheets;?> <meta name="description" content="<?php echo$description;?>">
</html>


The foot can also be defined on it's own now as well. So the foot just points to the footer defined on the website. This allows JBlogs to integrate with your website from a very quick to create script.

I will put the latest version up as soon as I have tested it works absolutely as expected!

Posted by jamiebalfour04 in BalfBlog
jblogs
new
improvements
huge

New comment