Page 1 of 1
Bludit v0.1 beta4
Posted: Sun Jun 28, 2015 2:28 am
by diego
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
Re: Bludit v0.1 beta4
Posted: Sun Jun 28, 2015 3:22 pm
by Fred
Thank you for your reactivity Diego.
Are only the support of languages and themes
I have just modified a little visuel aspect on plugin page:
I change blue class to red for uninstall plugin.
Re: Bludit v0.1 beta4
Posted: Sun Jun 28, 2015 5:46 pm
by diego
Done! thanks
Re: Bludit v0.1 beta4
Posted: Sun Jun 28, 2015 11:21 pm
by Fred
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 ?
Re: Bludit v0.1 beta4
Posted: Mon Jun 29, 2015 12:11 am
by diego
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..
Re: Bludit v0.1 beta4
Posted: Mon Jun 29, 2015 6:02 pm
by Fred
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 ?
Re: Bludit v0.1 beta4
Posted: Tue Jun 30, 2015 5:29 am
by diego
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();
}
?>
Re: Bludit v0.1 beta4
Posted: Tue Jun 30, 2015 9:55 am
by Fred
No sorry Diego, I use PHP 5.6.7, i tried with PHP 5.5.x and i have the same reaction
The user information are empty yet