Got something cool to share with AppGini users? Feel free to post it here!
-
nycwebmaster
- Veteran Member
- Posts: 90
- Joined: 2015-11-23 01:02
Post
by nycwebmaster » 2019-02-18 17:09
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.

-
jsetzer
- AppGini Super Hero

- Posts: 1944
- Joined: 2018-07-06 06:03
- Location: Kiel, Germany
-
Contact:
Post
by jsetzer » 2019-02-18 17:34
Hi, you can try the following:
- 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()
});
You can use
.remove() instead of
.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()
});
Both should work (hopefully).
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
[code]...[/code]
blocks for better readability
AppGini 25.10 + all AppGini Helper tools
-
nycwebmaster
- Veteran Member
- Posts: 90
- Joined: 2015-11-23 01:02
Post
by nycwebmaster » 2019-02-18 18:07
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!