Allow adding new records from homepage.

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
User avatar
Jay Webb
Veteran Member
Posts: 80
Joined: 2017-08-26 15:27
Contact:

Allow adding new records from homepage.

Post by Jay Webb » 2018-02-22 01:14

Need a little help, just finished up loading customizing and now that that's done, they no longer want the "+" to "Allow adding new records from homepage" that's on the main button, how can I remove without re uploading all the files over again and re customizing. I can't seam to find where to turn i off in a php file.
Anyone know this little jem is?

Thank's
What we envision, we make happen.

udayvatturi
AppGini Super Hero
AppGini Super Hero
Posts: 85
Joined: 2014-06-14 03:08
Location: India
Contact:

Re: Allow adding new records from homepage.

Post by udayvatturi » 2018-02-22 12:41

Hi,
I also dont find it on tool.

But if you want to remove it programatically, do this in home.php

You should see something like this.

Code: Select all

			/* allow homepage 'add new' for current table? */
			$tChkAHAN = array_search($tn, array("test","test1"));
Just comment out the line like below or remove items in array

Code: Select all

			/* allow homepage 'add new' for current table? */
			//$tChkAHAN = array_search($tn, array("test","test1"));
			
			or 
			
			/* allow homepage 'add new' for current table? */
			$tChkAHAN = array_search($tn, array());
			

User avatar
Jay Webb
Veteran Member
Posts: 80
Joined: 2017-08-26 15:27
Contact:

Re: Allow adding new records from homepage.

Post by Jay Webb » 2018-02-22 17:22

Thank you udayvatturi, that work perfect. I just commented out and that did it.
/* allow homepage 'add new' for current table? */
/*$tChkAHAN = array_search($tn, array("filename"));*/
What we envision, we make happen.

Post Reply