Hi,
I want to eliminate this title and the link from the detail view of a record. I tried looking on the table_name_view.php and also on the templates file and could not figure out how to delete it.
Need to get rid of the link on the detail view
-
- Veteran Member
- Posts: 90
- Joined: 2015-11-23 01:02
Re: Need to get rid of the link on the detail view
Hi, you can try the following:
You can use .remove() instead of .hide().
If you want to keep the [Add new]-button, try the following code:
Both should work (hopefully).
Best regards,
Jan
- in hooks-directory, create a file named YOURTABLENAME-dv.js
- put the following code there and save
Code: Select all
$j(function() {
$j("form > .page-header").hide()
});
If you want to keep the [Add new]-button, try the following code:
Code: Select all
$j(function() {
$j("form > .page-header > h1 > .row > div > a").remove()
});
Best regards,
Jan
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
-
- Veteran Member
- Posts: 90
- Joined: 2015-11-23 01:02
Re: Need to get rid of the link on the detail view
Hi,
Thanks for the quick reply, the first code works! the second don't but is ok I wanted the first solution anyways. Thanks a lot!
Thanks for the quick reply, the first code works! the second don't but is ok I wanted the first solution anyways. Thanks a lot!