Message Text |
I sent out dozens of e-mails recently letting people know their reciprocal links were missing. Later I found out there were two problems with these e-mails:
1) The link that is included in the e-mail to let a person edit their site information, looked like this in the e-mail:
{DIRURL}/admin/edit.php?action=link&field=id&condition=equals&fieldvalue=1387
My "Directory URL" under "System Configuration" is correctly set to:
http://www.link-exchange.ws/link-exchange
So I would expect the {DIRURL} to be replaced with that directory?
2) Once an edit link like that has been put together correctly, it goes to an edit page. However when the edit page is submitted, the changes are ignored and this error message appears:
"You did not complete all of the required fields."
The same error message appears when I try to edit a site in the admin page, even though all of the fields are filled. I tried altering each field a bit and then resubmitting, to no avail.
One possible cause for this. As described in the forum, I removed the Link Type menu from my suggestlink.tpl template, and replaced it with a hidden field rith the value "recip". Site submuission works fine. I notice that the edit site page has no Link Type menu... but the source for the page also has no hidden field for the link type. Why isn't the link type menu showing up on edit page? Should it be? If it's not there do I need to add it to a template for the edit page? What template is the edit page based on? |