Sage MAS 90 and 200 Sage MAS 500 blogs Product Feedback Support Training
Reply
Regular Contributor
jatses
Posts: 52
Registered: 12-13-2010
0

Hard-coded Web Template References

[ Edited ]

I've been customizing the EBM templates and changing their names to something that is more meaning to me. Well, I've made the necessary changes in "Template Maintenance" to the corresponding "Template Name" field.

 

Everything has been going great until I started customizing the "Request Password" section. Everytime I submitted to have my password emailed to me the server would error out in the SY_MESSAGE module. After futher investigation, I found that the form submitted to the url  "IW_Login.m4p.pvx?;PASSWORD_SUBMIT" and that it was trying to pull the "message.htm" template to display a message. However, in MAS "Template Maintenance" I have it set to use the "_Message.html" template. No where does it have message.htm listed to be used.

 

Can anyone confirm that the IW_Login.m4p.pvx file and the PASSWORD_SUBMIT routine are hard-coded to use the message.htm document or am I missing something else?

 

Thanks in advance,

 

James
MAS 200 [4.40.0.5]
Moderator
SRYork
Posts: 125
Registered: 11-06-2009
0

Re: Hard-coded Web Template References

Your are correct the request password template is not included in template maintenance as one that can be modified.  There are actually 2 if I remember correctly.  Password.htm is used for .order / .inquiry (B2B) requests made from the login page and Uid_request.htm is used for .store (B2C) requests made from the shopping cart step 1 page (if I remember correctly).

 

You can edit these templates without changing the names if you wish.  Just be careful not to change the names of the variables or form action on the forms. I would advise renaming them to have a backup, just in case, before you make your change.

GatorGal