Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
News Manager on a multi-language Website
#1
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
Reply
#2
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!
Reply
#3
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
Addons: blue business theme, Online Visitors, Notepad
Reply
#4
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?
Reply




Users browsing this thread: 1 Guest(s)