This topic is locked

Remove back to List

3/9/2006 9:41:36 PM
PHPRunner General questions
R
renegadekn author

How would I go about removing the back to list link on the add page?

I also need to change the save button to submit.
Can you point me in the right direction?
Thanks.
-Rob

T
Tommy B 3/10/2006

How would I go about removing the back to list link on the add page?

I also need to change the save button to submit.
Can you point me in the right direction?
Thanks.
-Rob


I have not tested these changes, so you may want to create a test template before your modify your own. I'd think these simple changes would do the trick for you though. Good luck.
To remove the back to list line, open the template editor and edit page view.php
Fine and delete the following line

echo "&nbsp;&nbsp;&nbsp;<a href=\"##SHORTTABLENAME##_list.php\" onclick=\"javascript:frmAdmin.submit(); return false;\">".##SCRIPTMESSAGE(BACK_TO_LIST)##."</a><br><br>";


To change the save button to say submit, open the add.php and edit.php pages in template editor and change the following code from

<input class=button type=submit value="##PLAINMESSAGE(SAVE)##" id=submit1 name=submit1>


to

<input class=button type=submit value="##PLAINMESSAGE(SUBMIT)##" id=submit1 name=submit1>


All you're doing is changing the word Save to Submit.