Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter ghislainsc

    (@ghislainsc)

    Hi David,

    Thank you very much. I followed your instructions and…

    It works fantastically well. It looks great, it’s very quick and the page loads instantly.

    I didn’t even need to include [gallery ids=0]

    I will keep the demo demo account for few more weeks, so you can check. I’ll have to disable it after launch, but if you want I can make you a more secure account after that.

    Thank you very much once again.
    Ghislain.

    Thread Starter ghislainsc

    (@ghislainsc)

    Hi David,

    Thank you very much. I amazed at how well you support this plugin.

    Thanks a lot.
    Ghislain

    Thread Starter ghislainsc

    (@ghislainsc)

    Hello David, and thank you very much for finding the time to answer.

    I added the [gallery ids=0] to the page but it did not change anything. However if I have [gallery ids=1,2,3] and [mla_gallery ids=1,2,3,4,5] on the same page, then pictures 1,2,3 will lazy load with on both the standard gallery AND the MLA gallery, while picture 4 and 5 won’t lazy load. So it seems that individual pictures need to be hooked. I also asked a question to the developer of DCLL and I will see if he has some advice on this.

    I also wanted to share that I have successfully made MLA and WPDM (Download Manager) work together. Since WPDM creates a page like “www.domain.com/download/’filename'” to manage the download, I used the templates to make a custom field within MLA. I named it wpdm_link and it generated the download link for all the items. Then I replaced the gallery href tag with mla_link_href to redirect users to the download page.

    The added benefit is that WPDM allows me to have stats about the downloads, including stats for each user, and also to limit the number of downloads per user per week (even though more advanced user could still get around the download page and directly access all the media files). I think this could be very useful for many users, especially as WPDM has a “sell” feature.

    Thank you very much again.
    Ghislain.

    Thread Starter ghislainsc

    (@ghislainsc)

    Hi David,

    Thank you very much for your reply.
    Yes, this is the right plugin and I haven’t made any progress so far.

    Thank you.

    Thread Starter ghislainsc

    (@ghislainsc)

    Hi David,

    Thank you very much for your help.

    1. As to the separator between keywords I am not sure how to use hooks, I actually don’t even understand the concept of hooks. I read the documentation over and over but it seems that I am missing some knowledge. Everything I do is only based on years of experience reading forums an googling solutions. So if you have a link of another support thread where you explain what is the principle of hooks and how it works I’d be interested. Thank you.

    2. As to the dynamic search, I tried working with the link you shared but I didn’t succeed after 2 hours. Then I found another code (I will paste it at the end) that submit the form as soon as the dropdown is selected. The thing is that it isn’t really dynamic, the page still reloads, and all the previous filters are gone.

    The idea is that for example some selects “Vector” then types in the search box “silhouette”, the search processes. Then the results display, but there might be too many so the gallery offers several tags that would narrow down the results even more “landscape, people, object, typo”. So with the code I found, after the page loads (displaying the result) the previous filters (Vector and silhouette) are gone, so if I then check the tage “people” and hit “Filter” it won’t show the images matching the 3 terms “vector, silhouette and people” it will show all the images matching only the term “people”.

    To give an example of something similar I would refer to google image. If I type “apple” then it will offer me tags to click “logo, tree, pink, gala, chocolate…”. I kind of assume it must be possible to pass the “previous filters” to the new page. And display an in-line tag cloud sorted by count number.

    3. Here’s the only part I really made progress. I can finally combine search and category. 5i will post the code at the end). I still have to use my old dropdown list, I cannot get it to work with the mla_term_list. I don’t know how to tell the gallery which value is selected in the dropdown from the mla_term_list.

    4. As to the pagination I totally agree. I actually have already experimented with it and it worked like a charm. There are actually a lot of other functionality that I tried and plan to use in the final version. But now to “play” with it and find solutions for my questions I kind of removed everything that wasn’t necessary to make sure it isn’t interfering. I’ll focus on that and on style once I get past the technical things.

    Thanks a lot, I’ll be happy to share my project once it is completed. I am confident that this plugin is capable of doing exactly what we need and I eager to learn more about how to use it.

    Here’s the code I am using for the “dynamic” form,

    <form>
    <select name='form_categories[]" class="postform"' onchange='this.form.submit()'>
    		<option selected="selected" value="">All</option>
    		<option value="images">Images</option>
    		<option value="video">Video</option>
    		<option value="audio">Audio</option>
    </select>
    <noscript><input type="submit" value="Submit"></noscript>
    </form>

    I didn’t include it in my next code, since I want people to be able to select a category and type a search. And it doesn’t seem to work after typing a search entry.

    Here is the shortcode

    <h3>Form</h3>
    <form id="attachment-category-form" method="post" action=".">
    
    <select name="form_categories[]" class="postform">
    		<option selected="selected" value="">All</option>
    		<option value="images">Images</option>
    		<option value="video">Video</option>
    		<option value="audio">Audio</option>
    </select>
    
    <input id="mla-search-box" name="search-string" type="text" value="" />
    
    [mla_term_list taxonomy=attachment_tag mla_output=checklist]
    
    <input id="submit" name="submit" type="submit" value="Search" />
    </form>
    
    <h3>Gallery</h3>
    [mla_gallery mla_terms_phrases="{+request:search-string+} , {+request:form_categories+}"]

    Thank you.
    Ghislain.

Viewing 5 replies - 1 through 5 (of 5 total)