Site logo

[Support request] Sections and GravityView Search Box

Home Forums Support [Support request] Sections and GravityView Search Box

Home Forums Support Sections and GravityView Search Box

  • This topic has 7 replies, 2 voices, and was last updated 9 years ago by Tom.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #221866
    Suryo

    Hi Tom,
    I tried to use Sections for Gravity View Search box.
    but when I use Sections, it duplicate the search box. The lower the sections, the more the search box gets duplicated (duplicated more than once). I couldn’t understand how this happen.
    please find the example the page with Search box – without Sections here:
    http://cook-in2.com/gv-search-box-without-gp-sections/

    and below is how the page looks like when I use sections:
    http://cook-in2.com/gv-search-box-gp-sections/

    Also the CSS setting on the page with Sections does not get processed correctly. Would you be able to help to check this, please?
    thanks,

    #221874
    Tom
    Lead Developer
    Lead Developer

    I’m being told I have to login to see the pages.

    Can you link me to the plugin you’re using?

    #221972
    Suryo

    My bad!, I have remove the login requirement for both of the pages above. can you help to check again, please?
    the plugin website is : https://gravityview.co and I use shortcode to link the view similar to here http://docs.gravityview.co/article/73-using-the-shortcode

    Please let me know if you need further information.
    thanks,

    #222041
    Tom
    Lead Developer
    Lead Developer

    It looks pretty normal to me? I’m seeing the same elements on the pages, but they’re inside sections instead of on a regular white page?

    #222045
    Suryo

    Hi Tom,

    the issue is with the number of the search boxes. on the page without section, there are two search boxes, while on the page with Sections there are duplicates.

    So with the same shortcode to generate search box, I have duplicate search boxes on the page with Sections.

    With Sections, the first time I implement the search box, I have two Search Boxes instead of one (1 duplicate). the Second time I implement search box on the same page, I have three search boxes instead of one (2 duplicates).

    This is not happened on the page without Section. Is it possible there are variables with same names between GravityView Search box generator and Sections generator?

    #222225
    Tom
    Lead Developer
    Lead Developer

    Ah I see, that’s very odd.

    What version of GP Premium are you using?

    #222299
    Suryo

    Hi Tom, the GP Premium version is 1.2.89

    #222351
    Tom
    Lead Developer
    Lead Developer

    Hmm, I’m not sure what’s happening here then.

    The sections are wrapped in the_content filter, just like the regular editor.

    It may be the fact that there’s multiple sections which aren’t playing nice with the way the shortcode is built. I would have to see the code to know.

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