1
timgno
xnews bugs
  • 2011/3/3 15:01

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Hello!

I have a problem with this form
the code:
if(nw_getmoduleoption('metadata'NW_MODULE_DIR_NAME)) {    
        if(
nw_getmoduleoption('extendmetadata'NW_MODULE_DIR_NAME) == 1) {    
            
$sform->addElement(new xoopsFormTextArea(_MA_NW_META_DESCRIPTION'description'$description460), false);
            
$sform->addElement(new xoopsFormTextArea(_MA_NW_META_KEYWORDS'keywords'$keywords460), false);
        } else {
            
$sform->addElement(new xoopsFormText(_MA_NW_META_DESCRIPTION'description'50255$description), false);
            
$sform->addElement(new xoopsFormText(_MA_NW_META_KEYWORDS'keywords'50255$keywords), false);
        }
    }


should work fine but when I go to create or edit a news, I return an alert that tells you to enter characters not exceeding 10.

timgno

Login

Who's Online

133 user(s) are online (84 user(s) are browsing Support Forums)


Members: 0


Guests: 133


more...

Donat-O-Meter

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

Latest GitHub Commits