• Resolved nico39

    (@nico39)


    One of the peculiarities that pluggin PICU lacks is a customer gallery search system.
    So I developed a piece of code to include on a wordpress page.

    Then when the customer goes to your site, in the customer area or on a dedicated page, he finds a form where he must insert the identifier of his gallery.

    For example, you send the identifier “testclient-1” to your client and he must enter it on the following page, in the form below and click on “ACCESS PHOTOS”:

    [ redundant link removed ]

    The additional password is: password

    Here is the code in question to insert in the article to display the client gallery search form:

    
    <script type="text/javascript">
    function newWin(val)
    {
        window.open("https://client.nicolaslogerot.fr/collections/" + val);
    }
    </script>
    
    ?
    
    <form><label for="folder"></label><input class="" name="folder" type="text" placeholder="Entrez l'identifiant" />
    
    <input class="buttonclass" type="submit" value="ACCèS PHOTOS" />
    
    </form>?
    

    here I hope it can help someone and if someone can propose a different or simpler system I am a taker
    not
    Nico

    • This topic was modified 6 years, 7 months ago by nico39.
    • This topic was modified 6 years, 7 months ago by nico39.
    • This topic was modified 6 years, 7 months ago by nico39.
    • This topic was modified 6 years, 7 months ago by nico39.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Claudio Rimann

    (@pandulu)

    Hi Nico

    Sorry for not getting back to you sooner.
    Right now, we don’t provide this functionality. Right now, we provide a shortcode to display a list of collections or links to single collections: https://picu.io/2017/07/whats-new-picu-1-2/

    But the functionality you outlined could make a nice improvement in the future, thanks for your feedback!

Viewing 1 replies (of 1 total)
  • The topic ‘here is my code to search a customer collection’ is closed to new replies.