Hi, I need to quit the + (add new) from home page. How can do that? (check the picture)
I inspected with firebug but i don't find the file to edit that.
Thank you
quit the + in home page
quit the + in home page
- Attachments
-
- home.png (75.56 KiB) Viewed 4417 times
Re: quit the + in home page
Somewhere around line 62 of file home.php you can change the glyphicon. I hope that helps.
Code: Select all
<i style="vertical-align: bottom;" class="glyphicon glyphicon-plus">
Appgini 5.50, Revision 835. Mac OSX 10.11 running Windows 10 on VMWare.
Re: quit the + in home page
Hi, I see that file, but that quit of all items. And I need just to quit for some items. Thanks
-
- AppGini Super Hero
- Posts: 85
- Joined: 2014-06-14 03:08
- Location: India
- Contact:
Re: quit the + in home page
//Existing code home.php line 59
Change the condition in "if" to something like below , it goes to else condition where + wont be displayed.
Code: Select all
<?php if($can_insert){ ?>
// some code
<?php }else{ ?>
// some code
<?php } ?>
Code: Select all
<?php if($can_insert && ( $tc[0] != "<Table Lable>" ) ){ ?>
// some code
<?php }else{ ?>
// some code
<?php } ?>