GetSimple Support Forum
News Manager on a multi-language Website - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: News Manager on a multi-language Website (/showthread.php?tid=2398)



News Manager on a multi-language Website - daniz - 2011-11-16

After a quick research for a solution to make the Plugin news-manager work on a website with more than one language my only result was: http://get-simple.info/forum/topic/1135/news-manager/

Reading 16 pages of comments is really no fun and the developers website seems to be offline.
So I decided to write the additonal code on my own.

A screenshot of the additional select-box on the create/edit page is attached.

The updated extension can be downloaded here: http://www.daniz.de/getsimple/extensions/news-manager_multilanguage/news-manager_multilanguage.zip

Cheerz Daniz


News Manager on a multi-language Website - daniz - 2011-11-16

A working example can be found here: http://www.berlincommunications.de/index.php?id=news

Display of date/time is still in german language...hints are welcome!


News Manager on a multi-language Website - yojoe - 2011-11-21

1. add date format to language files
I use: "DATE_FORMAT" => "%d %b %Y"
2. I use below code in a function showing news excerpts on index page:
$date = nm_get_date(i18n_r('news_manager/DATE_FORMAT'), strtotime($post->date));

good luck


RE: News Manager on a multi-language Website - lakaroth - 2014-09-04

Hi guys, i have a problem with this plugin.
On the control admin panel under "News Manager"
theres this error:
Undefined variable: _SESSION in news_manager/inc/functions.php on line 20

How can i fix it?