NMS Template Select Wont Switch

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
warren1709
New Member
New Member
Posts: 5
Joined: Mon Oct 29, 2007 6:33 pm

NMS Template Select Wont Switch

Post by warren1709 »

Hi Guys,

Ive got the latest versions of NMS version 1.0.1 and CMSMS 1.2.2 installed however when I go to create a message and select a newsletter template I get a error and the template just wont switch:
Line 68
Char 1
Error 'document.m1_moduleform_a' is null or not an object
Code: 0
URL: mydomain.com/admin/moduleinterface.php?mact=NMS,m1_compose_message,0
looks like onchange calls for submitting of form:m1_moduleform_a
but the form is called m1_moduleform-a

Any ideas what file I need to edit to change this?

Kind Regards,
Warren
Last edited by warren1709 on Wed Dec 05, 2007 11:46 pm, edited 1 time in total.
warren1709
New Member
New Member
Posts: 5
Joined: Mon Oct 29, 2007 6:33 pm

Re: NMS Template Select Wont Switch

Post by warren1709 »

Heres an update

tried modifying the NMS.module file and changing this but still displays the same error.

Here is the original code extract for the template drop down selection menu:
$this->smarty->assign('templatelist',
  $this->CreateInputDropDown($id,'templateid',
     $mytemplates,
     -1,
     $templateid,
     'onchange="document.'.$id.'moduleform_a.submit()"'));
If anyone has any idea whats causing the prob feedback would be great.

Thanks in advance,
Warren
Post Reply

Return to “CMSMS Core”