Beaver Builder and custom fields

This topic contains 9 replies, has 3 voices, and was last updated by  Alex Rollin 5 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #450540

    Anonymous

    Sorry it’s me harping on about Beaver Builder again. So, I’m managing to do a workaround for most of what I want to do, but there’s a couple of things that I can’t do as the GD custom field keys just aren’t recognised by BB in the same way that BB recognises Pods, ACF, Metabox etc custom fields.

    I’m posting a very short video below of what I mean as it’s easier than describing it.

    I know other GD users are using BB and some kind of integration would be amazing and judging by the posts about building directories on the BB FB page I think it would open a market to you. I hope I’m selling the idea!

    #450541

    Anonymous
    This reply has been marked as private.
    #450567

    Paolo
    Site Admin
    Post count: 31206

    Are you using GeoDirectory V2? If yes there is a shortcode for each field. Beaver Builder doesn’t recognize our custom fields because we use custom db tables for them. The directory would be unscalable if we used regular post_meta like ACF or pods do.

    #450568

    Alex Rollin
    Moderator
    Post count: 27815

    You made a post about similar field issues before here, and solution for setting up individual fields: https://wpgeodirectory.com/support/topic/field-names/#post-439195

    What we have now is made all of the GD design elements available as Gutenberg blocks, shortcodes, and widgets. The developers will follow up to let us know if they have plans to build further integrations, but it seems that Gutenberg will have a pretty big effect on the ‘builders’ once it is installed on everyone’s site.

    #450605

    Anonymous

    Thanks yes, the solution works great for most fields, but not for example one’s including urls where I want to link the url to an icon or image. I’ve had an idea though.

    I agree about Gutenberg. It’s still a long long way from being able to do what something like Themer and Oxygen can do though which is to create a template for every single part of the theme (or replace it completely in the case of Oxygen), different headers on different CPTs or categories, conditional logic etc

    I’ll let you know if I manage what I’m trying to achieve in the video. Thanks

    Metabox has the option to save data to a custom table. I know this sounds like madness but would it be possible somehow to use MB to create custom fields that are saved in the GD database? It’s then possible to pull in the fields via Themer. I’m sure this sounds stupidly convaluted to you but I know I’m not alone in wanting to be able to do use the Themer field connectors.
    This is the MB info https://metabox.io/plugins/mb-custom-table/

    #450613

    Paolo
    Site Admin
    Post count: 31206

    Unfortunately we don’t know how that plugin works, so you should ask to their support if their plugin will be able to save custom fields within a custom table of another plugin, respecting its data structure. That’s a question only they can answer.

    Let us know, it could be an interesting solution…

    #450864

    Anonymous

    Thanks. This is their reply. Does GD use the same data structure as described? If so then I’ll figure out how to do this. Thanks

    “If GD uses the same data structure as MB Custom Table, then it’s possible. MB Custom Table’s data structure is very simple:

    Column ID: store the object ID (post ID or term ID).
    Other columns: store the custom field values.
    It’s fine if some columns are different, but the ID column must be used for object ID. In that case, you can use MB Custom Table to handle the job for you.”

    #450866

    Anonymous

    In fact thinking about it could something similar to this connector plugin be developed to connect GD and BB instead and then there’d be no need for Metabox https://metabox.io/plugins/meta-box-beaver-themer-integrator/
    Pods has a similar plugin to integrate it with BB.
    If you think this is feasible let me know please and I’ll check the cost and feasibility of getting one developed.
    Thanks again. It probably sounds bonkers and I’m sure that MB thought it would be better to build a directory using MB (which it might come to if I can’t get this to work) – but a combination of GD AND Themer would be so incredibly powerful and infinitely flexible.

    #451243

    Anonymous

    Hi, I’m sorry to bug you about this but please can you tell me if GD uses the below data structure so that I can try MB for custom fields – it’ll be a bit of learning curve for me saving to a custom table so I don’t want to try if it’s definitely not going to work. Thanks

    “If GD uses the same data structure as MB Custom Table, then it’s possible. MB Custom Table’s data structure is very simple:

    Column ID: store the object ID (post ID or term ID).
    Other columns: store the custom field values.
    It’s fine if some columns are different, but the ID column must be used for object ID. In that case, you can use MB Custom Table to handle the job for you.”

    #451248

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    I just took a look at this page: https://metabox.io/plugins/mb-custom-table/

    The GD Custom tables are not stored in that format.

    An individual field is called on a detail page like:

    
    
    
    geodir_get_post_meta($postid,'geodir_instagram',true);
    

    Where instragram is the name of the field, geodir_instagram is the technical field name used for retrieval of the value.

Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket