Edit buttons - nuuserhome

Questions related to using nuBuilder Forte.

Edit buttons - nuuserhome

Postby toms » Fri Jan 12, 2018 1:19 pm

Hi,

Where can I edit these buttons? (e.g. to change their caption)
The Form Object List is empty and they are not listed in the "Objects"-Form either.
Attachments
edit_buttons.PNG
edit_buttons.PNG (4.03 KiB) Viewed 153 times
Form_Object_List.PNG
Form_Object_List.PNG (14.42 KiB) Viewed 153 times
toms
toms
 
Posts: 405
Joined: Wed Nov 08, 2017 8:57 pm

Re: Edit buttons - nuuserhome

Postby admin » Sat Jan 13, 2018 5:00 am

toms,

I've fixed that now.

You'll need to do another pull and Update.

Steven
admin
Site Admin
 
Posts: 2469
Joined: Mon Jun 15, 2009 9:53 am

Re: Edit buttons - nuuserhome

Postby toms » Sat Jan 13, 2018 5:42 am

I pulled the latest update and run the update. But I still can't see the them.

Update: I can see them after I run
Code: Select all
UPDATE `zzzzsys_setup` SET `set_denied` = '0';


But normally this shouldn't be necessary, should it?
toms
toms
 
Posts: 405
Joined: Wed Nov 08, 2017 8:57 pm

Re: Edit buttons - nuuserhome

Postby admin » Sat Jan 13, 2018 5:44 am

toms,

Did you run the Update Button?

Steven
admin
Site Admin
 
Posts: 2469
Joined: Mon Jun 15, 2009 9:53 am

Re: Edit buttons - nuuserhome

Postby toms » Sat Jan 13, 2018 5:49 am

Yes I did!
toms
toms
 
Posts: 405
Joined: Wed Nov 08, 2017 8:57 pm

Re: Edit buttons - nuuserhome

Postby admin » Sat Jan 13, 2018 6:17 am

Well, I tested it a few times and its working for me.

You should have the following code in the Before Browse of the Object Form.

Code: Select all

$s  = "CREATE TABLE #TABLE_ID# SELECT zzzzsys_object_id AS theid FROM zzzzsys_object WHERE ";
$w  = "1";

if($GLOBALS['nuSetup']->set_denied == 1){
    $w  = "sob_all_zzzzsys_form_id NOT LIKE 'nu%' OR sob_all_zzzzsys_form_id = 'nuuserhome'";
}

nuRunQuery("$s$w");




Steven
admin
Site Admin
 
Posts: 2469
Joined: Mon Jun 15, 2009 9:53 am


Return to General