Page 1 of 1

Creating Links in Detail View

Posted: 2022-05-27 18:01
by rpierce
Does anyone have a solution for adding external links to the Detail View?? I would like to add links to web pages to help my users. See the image below.
Capture.JPG
Capture.JPG (71.36 KiB) Viewed 1995 times
Thanks for any help.
Ray

Re: Creating Links in Detail View

Posted: 2022-05-28 22:30
by rpierce
It seems that I can do it by modifying the template file for the table. But, it will get replaced when I regenerate. I have saved a copy of the template file in the server folder. I don't think it will be replaced when I FTP files to the server?

Re: Creating Links in Detail View

Posted: 2022-05-29 20:53
by pbottcher
You can try to add to the TABLENAME-dv.js

Code: Select all

$j(function() {
$j('label[for="FIELDNAME"]').next().after('<a href="YOURLINK"> YOURTEXT</a>')
})