Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

Going back to list view from edit screen

agnar
Posts: 37
Joined: Sun Apr 21, 2013 10:58 pm

Going back to list view from edit screen

Unread post by agnar »

Wondering if it's a bug with the version of nuBuilder i just downloaded (v2.8.1-12.12.19-Build554)
I'm a newbe, and just learning the basics.

Manged to set up a browser form and display a list of records from a database.
Then also manged to set up objects to edit (or add) a record from the table.
But how is the user supposed to get back to the list view from the edit screen.
The [Save] button just stores the record. The [Close] button just leaves me with a blank page.
The only way I can get back to the list, is to start over again from project HOME.
Well, I guess it's possible to manually add a custom button to open the list view again.

Is nuBuilder supposed to work like that?
Or is it a bug somewhere?

Agnar
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: Going back to list view from edit screen

Unread post by massiws »

Agnar,
to go back from edit screen to browse screen you can click on form name in breadcrumbs in top left corner (leaving the current record unchanged) or use the Close button (to save the current record):
Breadcrumbs
Breadcrumbs
img.png (5.07 KiB) Viewed 11684 times
Can you see the breadcrumb links?

If you get a blank page on Close, maybe your installation require more resource. Have a look at this post:
- http://forums.nubuilder.cloud/viewtopic.p ... sing#p9701
- http://forums.nubuilder.cloud/viewtopic.p ... rce#p11428
- http://forums.nubuilder.cloud/viewtopic.p ... rce#p10617

Hope this helps,
Max
agnar
Posts: 37
Joined: Sun Apr 21, 2013 10:58 pm

Re: Going back to list view from edit screen

Unread post by agnar »

This field is empty in my version!

On my system, it displays:

HOME > > 1384
shane
Posts: 100
Joined: Mon Jun 15, 2009 10:04 am

Re: Going back to list view from edit screen

Unread post by shane »

there is either a bug in your version or in the installation, because the bread crumb should be displaying
shane
Posts: 100
Joined: Mon Jun 15, 2009 10:04 am

Re: Going back to list view from edit screen

Unread post by shane »

agnar
Posts: 37
Joined: Sun Apr 21, 2013 10:58 pm

Re: Going back to list view from edit screen

Unread post by agnar »

Hmm...

php.ini file din't make any difference.

Tried .htaccess file instead, didn't work either

Also tried change settings in the global php.ini file

Restarted Apache for ini files to reload.

To no avail...
(Running on a Debian server)

Agnar
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: Going back to list view from edit screen

Unread post by massiws »

Agnar,
create a file phpinfo.php:

Code: Select all

<?php echo phpinfo(); ?>
and upload in the same directory where nuBuilder is.
Point browser in http://<your_domain>/phpinfo.php: can you read the changes you made in php.ini (memory_limit, max_input_vars, post_max_size etc.)?
agnar
Posts: 37
Joined: Sun Apr 21, 2013 10:58 pm

Re: Going back to list view from edit screen

Unread post by agnar »

massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: Going back to list view from edit screen

Unread post by massiws »

Agnar,
- php_limit is too low: try to set at least 256M/512M
- post_max-size is too high: you may reduce to 16M
- restart Apache

Max
agnar
Posts: 37
Joined: Sun Apr 21, 2013 10:58 pm

Re: Going back to list view from edit screen

Unread post by agnar »

You mean the memory_limit

Set it 512M

Still the same...

(Need the post_max_size to be that high for other apps, could set that locally for that app though...)
Locked