Navigation

    APPDRAG Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular

    REMINDER

    Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.

    Blog Search Box

    How-to, Tutorials
    4
    25
    2926
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Wassim
      Wassim last edited by

      Ok I digged into it and you are missing the last parameter (I didn't provide it to you)

      There is a last parameter to check if it's already on the page, try that :

      resourcesLoader.loadResources("select2", "//" + cdnPath + "/resources/assets/select2/select2.min.css?v=1","//" + cdnPath + "/resources/assets/select2/select2.min.js", setupBlogSearch, typeof($("body").select2) != "undefined")
      
      
      1 Reply Last reply Reply Quote 0
      • Daniel Mulroy
        Daniel Mulroy last edited by

        Perfect- works perfectly. Thank you @Wassim 🙂

        is there any documentation for these wonderful AppDrag features like translating, storing cookies/local storage, and resourcesLoader?

        Can I help create some?

        1 Reply Last reply Reply Quote 0
        • Olivier MAGNIN
          Olivier MAGNIN last edited by

          Hi @Daniel-Mulroy , I'v tried your code in my site. It works fine.
          I'm just facing an issue in preview mode, the input box is not taking all the line space available and as a result, it's display is very small.
          Capture d’écran 2021-05-02 à 14.22.33.png
          I see in your own website that it is sized correctly !
          Can you tell me how I shall solve this ?

          1 Reply Last reply Reply Quote 0
          • Daniel Mulroy
            Daniel Mulroy last edited by

            Hi Olivier,

            If you share the link to the page I'll be able to better investigate.

            My first instinct is to add padding/margin to the search box, or revisit its position in the page - something is forcing it to be that small.

            Thanks for trying it out!

            1 Reply Last reply Reply Quote 1
            • Olivier MAGNIN
              Olivier MAGNIN last edited by

              Hi Daniel,
              I've placed in a full line (one column) without any padding or margin... Just in a line on top of top of the blog Article list 4.
              I don't know.
              I'll investigate further later.
              Thanks for your help Daniel.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post