Evil_Blog - small blog at your main page.
At last I finished the first working version of the plugin.
You can create or delete posts with html-tags. You can't edit posts yet :( . Working with all standart templates.
Latest version: 0.3.1 beta
Released: 2012.05.19
Tested on piwigo 2.3.4
download:
Just need unpack and "activate" in admin panel. Plugin create new table in DB and work with it.
plugin's page: http://piwigo.org/ext/extension_view.php?eid=611
Problems that I do not know how to solve:
1. How include new words for translate. Not for all piwigo, only for plugin.
2. How include "FCK Editor" plugin with form in admin panel.
Last edited by EvilKant (2012-06-24 19:45:57)
Offline
Small mistake with directories in archiv was fixed.
Offline
EvilKant wrote:
1. How include new words for translate. Not for all piwigo, only for plugin.
create folder
language
en_UK
file -> description.txt ((with EN decription plugin)
file -> plugin.lang.php ((with news keys)
ru_RU
file -> description.txt ((with RU decription plugin)
file -> plugin.lang.php ((with RU keys)
---------------
in your file admin.php add
load_language('plugin.lang', Evil_Blog_PATH);
Offline
Was fixed bug when you see error if you have no posts in blog. Thx, ddtddt :)
Offline
EvilKant wrote:
2. How include "FCK Editor" plugin with form in admin panel.
for exemple
in your file admin.php before
$template->set_filenames( array('plugin_admin_content' => dirname(__FILE__).'/admin.tpl') );
add
$FCKEA = pwg_db_fetch_assoc(pwg_query("SELECT state FROM " . PLUGINS_TABLE . " WHERE id = 'FCKEditor';"));
if($FCKEA['state'] == 'active') set_fckeditor_instance($areas='post_text', $toolbar='Basic', $width='900px', $height='200px');
$areas='post_text'
post_text - > is name your textarea
$toolbar='Basic',
you can remplase by 'Full'
Offline
Thx, ddtddt! I will try it all in the next few days.
Offline
Released!
http://piwigo.org/ext/extension_view.php?eid=611
1. You can create, delete or edit posts with html-tags.
2. You can change name of blog.
3. You can change number of posts per page.
Offline
And it works with 2.4 :)
Offline
EdwinKort wrote:
And it works with 2.4 :)
thx for testing :)
I didn't install the latest version yet.
Offline
Hi EvilKant,
Thanks for your plugin. Looks nice.
I've have juste one question now, is there a way to display the Wysiwig editor on the "edit" page of an article?
Thanks
Sorry for the double post, I've only have on account on the french version oh Piwigo.org...
Is there a way to use "additionnal descriptions" with your plugin? Without putting raw html code?
Thanks
notPH wrote:
I've have juste one question now, is there a way to display the Wysiwig editor on the "edit" page of an article?
Yes, install "FCK Editor" plugin.
Offline
notPH wrote:
Is there a way to use "additionnal descriptions" with your plugin? Without putting raw html code?
I don't understand what you mean, but I think the answer is "no". Evil_blog just record html-code in database, interaction is provided only with "FCK Editor".
Offline
Added new version. Plz, test it.
You can post a blog on a separate page.
You can change the appearance. You can choose date format, show or hide number and date of post.
Template has been improved.
Last edited by EvilKant (2012-09-02 21:49:58)
Offline
You can post a blog on a separate page.
How??
If I untick the show on main page it disappears completely.
There is no option to put on different page!
Offline