Hi,
I'm including a picture so you guys can understand what I need to do. Basically I want to add the text "Click To Modify" to the glyph-icon on the children table to say: "Click Here To Modify"
How can I add text to the Modify record icon
-
- Veteran Member
- Posts: 90
- Joined: 2015-11-23 01:02
Re: How can I add text to the Modify record icon
Hi,
how did you add this glyph-icon?
how did you add this glyph-icon?
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
Re: How can I add text to the Modify record icon
I don't know how to make the change by code but you can modify the 'children-TableName.php' file under templates directory relating to the children table tab.
Should be around line 137, here is image of change made to my file: Result is: Naturally this file gets overwritten by AppGini so either make read only or make copy and update when needed etc.
Cheers,
Ron
Should be around line 137, here is image of change made to my file: Result is: Naturally this file gets overwritten by AppGini so either make read only or make copy and update when needed etc.
Cheers,
Ron
Ron - Gloucestershire, UK: AppGini Pro V 23.15 Rev 1484 - LOVING IT!
Plugins: Mass Update + Search Page Maker + Summary Reports + Calendar + Messages
Bizzworxx: AppGiniHelper + Inline Detail View
Alejandro Landini: To-Do List + MPI + TV Field Editor
Other: Udemy Course
Plugins: Mass Update + Search Page Maker + Summary Reports + Calendar + Messages
Bizzworxx: AppGiniHelper + Inline Detail View
Alejandro Landini: To-Do List + MPI + TV Field Editor
Other: Udemy Course
-
- Veteran Member
- Posts: 90
- Joined: 2015-11-23 01:02
Re: How can I add text to the Modify record icon
Work perfect! Thanks!
- landinialejandro
- AppGini Super Hero
- Posts: 126
- Joined: 2016-03-06 00:59
- Location: Argentina
- Contact:
Re: How can I add text to the Modify record icon
hi! you can change dinamically whit the next code in dv.js
after loaded page.
Code: Select all
$j('.view-on-click i').append(' click me!');
Alejandro.
AppGini 5.98 - Linux OpenSuse Tumblewweed.
Some of my posts that may interest you:
Landini Admin Template: Template for Appgini like AdminLTE
Profile image plugin: add and changue image user profile
Field editor in table view: Configurable fast edit fields in TV
my personal page
AppGini 5.98 - Linux OpenSuse Tumblewweed.
Some of my posts that may interest you:
Landini Admin Template: Template for Appgini like AdminLTE
Profile image plugin: add and changue image user profile
Field editor in table view: Configurable fast edit fields in TV
my personal page
Re: How can I add text to the Modify record icon
Hi landinialejandro,
your solution does not seem to work. I believe the reason is, that the specific part of the page has not been created in the browser, when the JS command is executed.
Olaf
your solution does not seem to work. I believe the reason is, that the specific part of the page has not been created in the browser, when the JS command is executed.
Olaf
Some postings I was involved, you might find useful:
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
Re: How can I add text to the Modify record icon
Hi,
maybe something like this can be used to make use of a timer which checks continuously (but we need to make sure, the click me is added only once).
Olaf
maybe something like this can be used to make use of a timer which checks continuously (but we need to make sure, the click me is added only once).
Code: Select all
<script>
\$j(function() {
setInterval(function() {
var n = \$j(' search if click me was added already ').find(' something we need to search ').length;
if (n < 1 ) {
\$j('.view-on-click i').append(' click me!');
}
else {
}
}, 1000);
})
</script>
Some postings I was involved, you might find useful:
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
Re: How can I add text to the Modify record icon
Hey,
what about a PURE CSS ONE-LINER: Paste the following CSS-code into your CSS-file (or into your <style>-section for example in hooks/header-extras.php).
This is the result:
Wanna play around a bit more with pure (Vanilla) CSS?
Only little more in CSS:
Feel free to change the text, colors, borders etc.
Best,
Jan
what about a PURE CSS ONE-LINER: Paste the following CSS-code into your CSS-file (or into your <style>-section for example in hooks/header-extras.php).
Code: Select all
.children-tabs td.view-on-click a::after { content: "Click here"; }
Wanna play around a bit more with pure (Vanilla) CSS?
Only little more in CSS:
Code: Select all
.children-tabs td.view-on-click a::after { content: "Open"; }
.children-tabs td.view-on-click .glyphicon { display: none; }
.children-tabs td.view-on-click a {
background-color: #fafafa;
border: 1px solid silver;
padding: 4px;
color: black;
}
Best,
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
Re: How can I add text to the Modify record icon
That code above was css-only. There is so much more when using JQuery, for example:
Replacing icon and adding btn-primary style (Bootstrap):
Additional buttons per row with custom link:
Regards,
Jan
Replacing icon and adding btn-primary style (Bootstrap):
Additional buttons per row with custom link:
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
Re: How can I add text to the Modify record icon
Hi Jan,
thank you a lot for your solution and ideas. Really good.
Olaf
thank you a lot for your solution and ideas. Really good.
Olaf
Some postings I was involved, you might find useful:
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view