GetSimple Support Forum

Full Version: News Manager on a multi-language Website
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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...nguage.zip

Cheerz Daniz
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!
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
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?