• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: FormBrowser User Record View is Empty
PostPosted: Thu Apr 18, 2019 10:54 pm 
Offline
Power Poster
Power Poster

Joined: Sat Nov 25, 2006 3:39 pm
Posts: 342
Location: Copenhagen, Denmark
I'm trying to display FormBrowser records in frontend and list view works just fine and i'm getting all records. But Record View is empty!

I'm using default User List Template and User Record View Template.

I've tried to see info on the template vars with <pre>{$resp|print_r}</pre> but output is empty
Code:
stdClass Object
(
    [values] => Array
        (
        )

    [names] => Array
        (
        )

    [fieldsbyalias] => Array
        (
        )

)
1

Are i'm forgetting activating something or is this a bug in the FormBrowser User Record View Template?

And i should mention i've tried to use both Simple Browser Type and Advanced Browser Type and display is set for fields in both list view and user record view.

And i've also tried to call the fields directly like {$resp->names[1]} and {$resp->values[1]} to no avail.
----------------------------------------------
Cms Version: 2.2.10
FormBrowser: 0.5
FormBuilder: 0.8.1.6


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: FormBrowser User Record View is Empty
PostPosted: Sat Apr 20, 2019 10:55 am 
Offline
Power Poster
Power Poster

Joined: Sat Nov 25, 2006 3:39 pm
Posts: 342
Location: Copenhagen, Denmark
OK! After a lot of testing, i've found out its the selected Form in the Form Browser is the problem. Any other form works just fine in displaying the User Record Detail.

Now i just have to find out why this particularly Form is causing problems in displaying User Record Detail but have no problem listing all posts in the User Record List (and with all fields in the Form visible). ???


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: FormBrowser User Record View is Empty
PostPosted: Sun Apr 21, 2019 10:55 am 
Offline
Power Poster
Power Poster

Joined: Sat Nov 25, 2006 3:39 pm
Posts: 342
Location: Copenhagen, Denmark
I've found the problem (but not the solution);

If the Form Builder form uses "Store result in FormBrowser with Frontend User Binding", FormBrowser won't show any User Record Detail.

If i disable Frontend User Binding for the form, the User Record Detail is showing.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting