Bludit v0.1 beta4

Locked
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

Bludit v0.1 beta4

Changelog:
- Full support for plugins
- Dashboard implementation, some ideas from "Con - Material Admin Dashboard Template" (http://goo.gl/XfapW6)
- Bug fixes

Site: http://www.bludit.com
Download: http://www.bludit.com/bludit_latest.zip

Twitter: https://twitter.com/bludit
Facebook: https://www.facebook.com/pages/Bludit/239255789455913
Google+: https://google.com/+Bluditcms
User avatar
Fred
Legend Bludit
Posts: 236
Joined: Wed Jun 24, 2015 2:14 pm
Location: France
Contact:

Thank you for your reactivity Diego.

Are only the support of languages and themes :mrgreen:

I have just modified a little visuel aspect on plugin page:
Image
I change blue class to red for uninstall plugin.
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

Done! thanks
User avatar
Fred
Legend Bludit
Posts: 236
Joined: Wed Jun 24, 2015 2:14 pm
Location: France
Contact:

I tried to test the author field is not empty in theme for don't display this with:

Code: Select all

            <?php if($Post->author() != ''): ?> 
	            <?php echo $Language->get('Posted By').' '.$Post->author() ?>
	    <?php endif; ?>
But don't work, what ?

Other question, do you have a date to support full lang pack and thème folder support ?
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

Try this code

Code: Select all

<?php if( !empty($Post->author()) ): ?> 
<?php echo $Language->get('Posted By').' '.$Post->author() ?>
<?php endif; ?>

or with the Text Helper

<?php if( !Text::isEmpty($Post->author()) ): ?> 
<?php echo $Language->get('Posted By').' '.$Post->author() ?>
<?php endif; ?>
In this week I hope I will finish with the language support..
User avatar
Fred
Legend Bludit
Posts: 236
Joined: Wed Jun 24, 2015 2:14 pm
Location: France
Contact:

I tried 2 code but don't work :(
Great idea to implement information language in json file.
I think to add local field directly in this file ;)

For plugins, have you any plans to have an administration page and a hook to display the menu and then a link to the plugin configuration on the plugins page ?
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

I think you are using php 5.3.x, in this version you can't pass function as a parameter to the empty function.

Code: Select all

<?php
$author = $Post->author();

if( !empty($author) )
{
echo $Language->get('Posted By').' '.$Post->author();
}
?>
User avatar
Fred
Legend Bludit
Posts: 236
Joined: Wed Jun 24, 2015 2:14 pm
Location: France
Contact:

No sorry Diego, I use PHP 5.6.7, i tried with PHP 5.5.x and i have the same reaction :(

Code: Select all

        "firstName": "",
        "lastName": "",
The user information are empty yet :oops:
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
Locked