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:
le="color: #000000"><?php 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', $description, 4, 60), false); $sform->addElement(new xoopsFormTextArea(_MA_NW_META_KEYWORDS, 'keywords', $keywords, 4, 60), false); } else { $sform->addElement(new xoopsFormText(_MA_NW_META_DESCRIPTION, 'description', 50, 255, $description), false); $sform->addElement(new xoopsFormText(_MA_NW_META_KEYWORDS, 'keywords', 50, 255, $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