[Support request] GB effects not appearing

Home Forums Support [Support request] GB effects not appearing

Home Forums Support GB effects not appearing

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #2242073
    Juned

    Hello,

    This is my trial and testing site which I am making with GPP, GB PRo and Crocoblock JetEngine (for listings).

    The (car listing) container effects are not visible at front end. Am I missing here something? Or do I need to use customized css on this? If Yes, please provide then:

    I want to show container Border, container Box Shadow on hover and Background Color of container.

    Thanks in advance.

    #2242106
    Fernando
    Customer Support

    Hi Juned,

    To clarify, have you added a Box Shadow to the Container Block?: https://share.getcloudapp.com/GGuKLyj7

    I can’t see the CSS added to add the box-shadow on hover on your Container Blocks.

    Can you try clearing all caching mechanisms set in your website?

    Kindly let us know how it goes.

    #2242339
    Juned

    Hi Fernando,

    I have added the effects to the container at listing (JetEngine). The above URL I shared is showing Dynamic Content (Listings Grid) putted under a GB Container.

    I cleared caching but it’s not showing.

    #2242724
    Ying
    Staff
    Customer Support

    Hi Juned,

    Can you take a screenshot to show the editor where we can see the effect being added?

    #2242737
    Juned

    Hi Ying!

    Please have a look.

    Dashboard >> JetEngine >> Listings >> Car Listings (effects set at GB container – Dynamic Content)

    Then I used this listing at Page >> Listing Grid (Dynamic Content) [effects was set at the container at Listings not at the Page where final dynamic content is reflecting.

    #2242783
    Ying
    Staff
    Customer Support

    Can you provide username and password so I can see the backend?

    Thanks!

    #2242789
    Juned

    Pls check. Thanks for your support.

    #2242799
    Ying
    Staff
    Customer Support

    GenerateBlocks checks the content area for our blocks in order to generate the required CSS.

    If the plugin is adding these blocks elsewhere, you’ll need to use the generateblocks_do_content filter to add the new content area to the content that GenerateBlocks scans.

    You may need to ask the plugin if this is possible.

    This is similar to the Toolset case: https://toolset.com/errata/generateblocks-styles-lost-on-front-end-when-using-content-templates/

    But in your case, I think you can use GB’s query loop block instead of this plugin:
    https://generateblocks.com/generateblocks-1-5-dynamic-data-query-loops-image-blocks/

    #2242814
    Juned

    Thanks Ying for your time.

    -“But in your case, I think you can use GB’s query loop block instead of this plugin”-

    Should I create listings and meta fields via that plugin and then display it via Query Loop?

    I guess,I had read in your one of the reply that query loop won’t work for Custom Post Types. That’s the reason I spent my time to use Dynamic Fields and other Dynamic Content of this plugin.

    But rest of the listing works and Search Filters and Front End Submissions, I have to use this particular plugin? Because GB doesn’t have these functionality??

    Pls guide me in detail on this issue.

    #2243548
    Ying
    Staff
    Customer Support

    Should I create listings and meta fields via that plugin and then display it via Query Loop?

    That might work, but I don’t know much about that plugin, not sure how it works.

    I guess,I had read in your one of the reply that query loop won’t work for Custom Post Types.

    I don’t think I’ve said that, GB’s query loop block does work for custom post type. Can you find that post and send it to me? Thanks!

    But rest of the listing works and Search Filters and Front End Submissions, I have to use this particular plugin? Because GB doesn’t have these functionality??

    Are you asking if GB has search filter and front end submission? No, it doesn’t.

    #2244036
    Juned

    Hi Fernando/Ying!

    Thankfully I achieved what I was looking out of my GP+GB because of this support topic:
    https://generatepress.com/forums/topic/jetengine-functionality-in-generatepress/

    I have attached my results in URL 1 (Single Listing) and in URL 2 (Archive Page).

    I created Element-Hook-Block: Archive Navigation with Location >> Block – Ad Archive, but it didn’t worked. Anyways, but I achieved it (URL-2).

    Following are my queries now, and please guide me how to achieve these:

    1. I am not able to display (Dynamic Field) Gallery (at below featured image) (refer to URL-1). And,
    2. I want to display 03 coloumns (at URL-2 page). I tried this php but it is not working:

    add_filter( ‘generate_blog_columns’, function( $columns ) {
    if ( ‘CPT_SLUG’ === get_post_type() && ! is_singular() ) {
    return 33;
    }

    return $columns;
    } );

    Thanks a lot for your great support.

    #2244327
    Ying
    Staff
    Customer Support

    Not sure I understand question 1, what is the Gallery? Pictures? How do you add the data to the post?

    For question 2, URL2 is a static page using query loop block, the PHP snippet is for archive page, so it won’t work.
    As you are using query loop block, it’s actually a Grid block, if you select the container below Grid, set its width to 33% , it will become 3 columns.

    #2244671
    Juned

    Hi,

    1. Gallery is a custom meta field created with jetengine plugin for uploading of additional vehicle images (both from backend or frontend). With the help of GB, I am able to display all the dynamic field, except this gallery meta field.

    New query:

    a> I am also not able to fetch: Advance Option (meta field) which is a ‘Checkbox’ field type. The display result is showing as ‘Array’. Any suggestions?

    #2244688
    Fernando
    Customer Support

    GenerateBlocks Image Blocks can retrieve post meta images but not Galleries.

    You would need custom code to retrieve that, or if Jetengine has a way, perhaps you can reach out to them.

    ACF for instance has a document on how to get Gallery post meta fields: https://www.advancedcustomfields.com/resources/gallery/

    The same would go for post meta checkboxes: https://www.advancedcustomfields.com/resources/checkbox/

    For instance, I can build from the code provided, and retrieve the checkbox values through a Hook Element with this code:

    <?php
    
    global $post;
    $colors = get_post_meta($post->ID, 'checktest');
    
    if( $colors ): ?>
    <ul>
        <?php foreach( $colors as $color ): 
    	        foreach( $color as $col ): 
    	?>
    	
            <li><?php echo $col; ?></li>
        <?php endforeach;
    	endforeach;?>
    </ul>
    <?php endif; ?>

    The meta field name I used is checktest.

    Hook Element: https://share.getcloudapp.com/E0uyPjPX

    Result: https://share.getcloudapp.com/7Ku6xExl

    Hope this clarifies.

    #2244793
    Juned

    Thanks I will try and revert to you on above php (seems too tough for me to understand and implement it).

    Pls also reply to this one:

    a> I am also not able to fetch: Advance Option (meta field) which is a ‘Checkbox’ field type. The display result is showing as ‘Array’. Any suggestions?

    b> I have created one button (Load More…) on the url page. I want to use it as: it should display more (remaining) listings when clicking on it. How is it possible?

Viewing 15 posts - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.