1
deka87
Evennews module message archive problem
  • 2009/5/3 6:44

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


Hi, evennews newsletter module doesn't show messages in archive. for example : http://myrussian.org/modules/evennews/archives.php how do I fix it?
Mind anchors

2
deka87
Re: Evennews module message archive problem
  • 2009/5/4 18:00

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


bump
Mind anchors

3
Peekay
Re: Evennews module message archive problem
  • 2010/2/13 16:41

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


I am testing EvenNews 2.1 which I believe is the last version that was released. I found that sometimes the newsletter was added to the archive, sometimes not.

If you do get it to work, you will need the code-fix below to populate the message field when opening a news item from the archive in admin:

evennews/admin/index.php
around line 1007

Change:

$sform->addElement(new XoopsFormDhtmlTextArea(_ADM_EVENNEWS_MESSAGE'mail_mess'''1060), true);


to:
$sform->addElement(new XoopsFormDhtmlTextArea(_ADM_EVENNEWS_MESSAGE'mail_mess'$arr['message'], 1060), true);

4
Peekay
Re: Evennews module message archive problem
  • 2010/2/14 12:52

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


And a small addition to make the JavaScript form validation pop-up work properly:

index.php
around line 110

add:

$xoopsTpl->assign('lang_enter_fields'_EN_JS_ERROR4);

Login

Who's Online

351 user(s) are online (276 user(s) are browsing Support Forums)


Members: 0


Guests: 351


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits