Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Edit buttons - nuuserhome Topic is solved

Questions related to using nuBuilder Forte.
Post Reply
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Edit buttons - nuuserhome

Unread post by toms »

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.
You do not have the required permissions to view the files attached to this post.
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Edit buttons - nuuserhome

Unread post by admin »

toms,

I've fixed that now.

You'll need to do another pull and Update.

Steven
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Edit buttons - nuuserhome

Unread post by toms »

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?
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Edit buttons - nuuserhome

Unread post by admin »

toms,

Did you run the Update Button?

Steven
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Edit buttons - nuuserhome

Unread post by toms »

Yes I did!
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Edit buttons - nuuserhome

Unread post by admin »

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
Post Reply