Jump to content
Sign in to follow this  
Adam Harden

Trying to get started with formbuilder

Recommended Posts

Hi Jreviews team,

I am really trying to get the Formbuilder field into my directory, however the documentation is hard to follow, especially with the output section. Here is what I am looking for: A simple field that outputs a name and a URL. I actually used the inventory builder as an example, modified it and got it working in the editor. I can add the data as needed, and that's a great start.

However, getting the information to display on the page has been frustrating, to say the least. First off, I don't use theme overrides, as I find the stock look of jreviews is sufficient to the site. Perhaps this is where I am getting hung up, because I don't even understand what files need to go in what folders throughout the site (some in the theme file, some in the com_jreviews, etc.). 

In the end, all I want to do is output the data in a simple row. I tried to use $text = json_decode($text, true); in the PHP based formatting, but nothing shows. Is there an easier way to do this vs. creating some custom theme file, trying to associate it with that field (I still can't grasp how I would tell jreviews to look for this one theme for one field)? I just something simple, and can't seem to figure out how to output it. There isn't an output area in the playground, so that doesn't really help me at all.


Share this post

Link to post

Did you find the existing theme files for the pre-defined formbuilder custom fields? They are located here:


So if you are are using the inventory builder as a starting point, you can copy the inventory.thtml file, rename it websites.html or something like that and then use the  "websites" filename in the formbuilder custom field PHP Based Formatting "PHP Based Formatting / Theme filename" setting.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Please refer to our Privacy Policy.