Forum Replies Created

Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter cristiano771

    (@cristiano771)

    Thank you, I tried. The issue is still present, but I noticed that it happens only on two phones android, and not on iOS. I tried to delete also the cache of the browser, and I tried using different browsers. I have seen that the “error” is not random, the link move the page on the precedent click. In fact if I click two times on the same link, the second time all works fine and the problem disappears.

    Thank you again

    • This reply was modified 2 months, 2 weeks ago by cristiano771.
    • This reply was modified 2 months, 2 weeks ago by cristiano771.
    Thread Starter cristiano771

    (@cristiano771)

    Hi David,
    thank you so much for the answer. I solved the issue with this code that now works fine (using the slug of the category and not the name):

    [numero-specie-pag categoria="Airone guardabuoi"]
    [mla_gallery columns=0 mla_style="responsive" size="medium" my_custom_sql="attachment_category='airone-guardabuoi' orderby=date order=DESC"  posts_per_page=30 mla_link_href='/visualizza-specie/?current_id={+attachment_ID+}&specie={+parent+}&title={+parent_title+}&attachment_category=airone-guardabuoi']
    
    <div style="clear: both; text-align: center; color: #333;">[mla_gallery attachment_category="airone-guardabuoi" posts_per_page=30 mla_output="paginate_links,prev_next"]</div>

    But just two things:
    1) The attachment-category ‘Airone guardabuoi’ has 39 images (the snippet counts in the same taxonomy – if you see now the page you will find two pages, one with 30 images and one with 9 images); I am using this code (my_custum_sql in the gallery and attachment category for pagination in all pages and it works fine!!)

    2) The category ‘Airone guardabuoi’ has this slug: airone-guardabuoi… could be this the problem? Many categories have a name made of two words and a slug with “-” character between the two words… for example this is the code of one other page:

    [numero-specie-pag categoria="passero solitario"]
    [mla_gallery columns=0 mla_style="responsive" size="medium" my_custom_sql="attachment_category='passero solitario' orderby=date order=DESC"  posts_per_page=30 mla_link_href='/visualizza-specie/?current_id={+attachment_ID+}&specie={+parent+}&title={+parent_title+}&attachment_category=passero solitario']
    
    <div style="clear: both; text-align: center; color: #333;">[mla_gallery my_custom_sql="attachment_category='passero solitario'" posts_per_page=30 mla_output="paginate_links,prev_next"]
    </div>

    and this is the url: LINK
    The attachment_category is named “passero solitario” and its slug is “passero-solitario”

    Your plugin is really essential for my site, so I am writing to you even though I have solved the problem – maybe there is something that eludes me anyway!
    Thank you again,
    Cristiano

    How coould I make a downgrade to 3.01?
    Thanks a lot!
    Cristiano

    Thread Starter cristiano771

    (@cristiano771)

    This is the page: URL

    Thank you so much

    Thread Starter cristiano771

    (@cristiano771)

    Thank you for the support… I have installed the 2022015 Dev. Version and now I see all pages working… Fine work, as ever!

    Thank you again.
    Cristiano

    Thread Starter cristiano771

    (@cristiano771)

    Hi David!
    a quick update: I have solved so:

    #[+selector+] .gallery-item {
        display: flex;
        margin: auto;
        padding: 5px;
        height: 150px;
        text-align: center;
    }
    #[+selector+] .gallery-item .gallery-icon img {
        display: inherit;
      margin: auto;
        border: 0px solid #ffffff;
        height: 140px;
    width: auto;
       
    
    }

    I will do a check to see if the solution is cross-browser.

    Have a nice day

    • This reply was modified 2 years, 10 months ago by cristiano771.
    Thread Starter cristiano771

    (@cristiano771)

    Thank you David!
    I’d like to keep light my web site without any other plugins that could impact on page speed… With actual code I am using a single view-page for all images at full resolution so I don’t need any Lightboxes (that is necessary with masonry of Photonic).
    So my question now is: can I modify the style:

    <style type="text/css">
    #[+selector+] {
        text-align: center;
        margin: auto;
    }
    #[+selector+] .gallery-item {
        display: inline-block;
        margin: auto;
        padding: 5px;
        height: auto;
        text-align: center;
    }
    #[+selector+] .gallery-item .gallery-icon img {
        display: inline;
        margin: auto;
        border: 0px solid #ffffff;
        max-width: 150px;
    }
    #[+selector+] .gallery-caption {
        visibility:none;
    }

    to have rows with small-images (not thumbs) with the same height?
    I tried any modifies with max-width and height but without good results… perhaps I miss something in the way that style works…
    Hope you can help me…
    the URL of the page is the same…
    Thank you again,
    Cristiano

    Thread Starter cristiano771

    (@cristiano771)

    Thank you so much, David!
    Have a nice day
    Cristiano

    Thread Starter cristiano771

    (@cristiano771)

    Thanks David, God forbid you have to apologize … I overwhelmed you with requests! Now it works perfectly … I’ll just have to delve into how to change the look of the pagination, but I shouldn’t have any problems.
    Thanks again!

    Thread Starter cristiano771

    (@cristiano771)

    Thank you, David! I have update the paginate control:

    <form id="mla-text-form" action="/richiesta-foto/" method="post" class="row">
    <table>
    <tbody>
    <tr>
    <td width="25%" valign="top">Categoria / Specie: </td>
    <td width="50%">
    [mla_term_list taxonomy=attachment_category mla_output=dropdown child_of="400" mla_control_name=main_category  depth=1 mla_item_parameter=current_main_category show_count=false use_filters=true]
    [mla_term_list taxonomy=attachment_category mla_output=dropdown include_tree=127 child_of="{+template:({+request:main_category+}|1)+}" mla_control_name=include_category mla_item_parameter=current_include_category show_count=false pad_counts=false hierarchical=true depth=1 use_filters=true]
    [mla_term_list taxonomy=attachment_category mla_output=dropdown mla_option_value="{+slug+}" exclude_tree=127 child_of="{+template:({+request:main_category+}|1)+}" mla_control_name=sub_category mla_item_parameter=current_sub_category show_count=false pad_counts=false hierarchical=true depth=0 use_filters=true][mla_term_list taxonomy=attachment_category mla_output=dropdown mla_option_value="{+slug+}" include_tree=127 child_of="{+template:({+request:include_category+}|1)+}" mla_control_name=third_category mla_item_parameter=current_third_category show_count=false pad_counts=false hierarchical=true depth=0 use_filters=true]</td>
    <td width="25%" valign="top">
    <input id="text-form-submit" name="text_form_submit" type="submit" value="SELEZIONA">
    </td>
    </tr>
    </tbody></table>
    </form>
     <br>
    [mla_gallery]
    attachment_category="{+template:({+request:sub_category+}|{+request:third_category+}|no-term-selected)+}" tax_include_children=false
    posts_per_page=25 mla_output="paginate_links,prev_next" orderby=date order=DESC
    mla_link_href="{+new_url+}?mla_paginate_current={+new_page+}&main_category={+request:main_category+}&{+template:(sub_category={+request:sub_category,url+}|third_category={+request:third_category,url+})+}"
    [/mla_gallery]
     
    [mla_gallery columns=0 mla_style="responsive" size="thumbnail" attachment_category="{+template:({+request:sub_category+}|{+request:third_category+}|no-term-selected)+}" tax_include_children=false posts_per_page=25 orderby=date order=DESC mla_caption="{+title+} : {+description+}" mla_link_href="/modulo-richiesta-foto/?current_id={+attachment_ID+}" mla_nolink_text=" "]

    But it does not work… I see the third_category passed in the URL of the page, but no thumbs…

    Thread Starter cristiano771

    (@cristiano771)

    Dear David, just a little update to the discussion. I have seen that we have a problem with pagination when the user select “UCCELLI” (You can verify by yourself here). The links of pagination do not work properly… Which could be the solution?

    Thank you again,
    Cristiano.

    Thread Starter cristiano771

    (@cristiano771)

    Thank you, David! I just replaced the the parameter you have indicated and now all works fine!
    The working page (for every language!) is at this link.

    Have a nice weekend!
    Cristiano.

    Thread Starter cristiano771

    (@cristiano771)

    Thank you so much, David!
    I have removed any <br> tag and I have put the last two dropdown menu on the same line in the shortcode. Now it is just as I was looking for! Thank you again!!

    I am going to open a new post for the issue with TranslatePress… I hope all these requests are not too many :)))

    Cristiano

    Thread Starter cristiano771

    (@cristiano771)

    Thank you so much, David. I apologize for the delay in my reply, I had a difficult week … I just tried your update and your new code. I just made a few small changes (so I have eliminated the ALL category, that I use just for a total count of my images).
    This is my final code:

    <form id="mla-text-form" action="." method="post" class="row">
    <table>
    <tbody>
    <tr>
    <td width="25%" valign="top">Categoria / Specie: </td>
    <td width="50%">
    [mla_term_list taxonomy=attachment_category mla_output=dropdown child_of="400" mla_control_name=main_category  depth=1 mla_item_parameter=current_main_category show_count=false use_filters=true]
    <br>
    [mla_term_list taxonomy=attachment_category mla_output=dropdown include_tree=127 child_of="{+template:({+request:main_category+}|1)+}" mla_control_name=include_category mla_item_parameter=current_include_category show_count=true pad_counts=false hierarchical=true depth=1 use_filters=true]
    <br>
    [mla_term_list taxonomy=attachment_category mla_output=dropdown mla_option_value="{+slug+}" exclude_tree=127 child_of="{+template:({+request:main_category+}|1)+}" mla_control_name=sub_category mla_item_parameter=current_sub_category show_count=true pad_counts=false hierarchical=true depth=0 use_filters=true]
    <br>
    [mla_term_list taxonomy=attachment_category mla_output=dropdown mla_option_value="{+slug+}" include_tree=127 child_of="{+template:({+request:include_category+}|1)+}" mla_control_name=third_category mla_item_parameter=current_third_category show_count=true pad_counts=false hierarchical=true depth=0 use_filters=true]</td>
    <td width="25%" valign="top">
    <input id="text-form-submit" name="text_form_submit" type="submit" value="SELECT">
    </td>
    </tr>
    </tbody></table>
    </form>
     <br>
    [mla_gallery]
    attachment_category="{+template:({+request:sub_category+}|{+request:third_category+}|no-term-selected)+}" tax_include_children=false
    posts_per_page=25 mla_output="paginate_links,prev_next" orderby=date order=DESC
    mla_link_href="{+new_url+}?mla_paginate_current={+new_page+}&main_category={+request:main_category+}&sub_category={+request:sub_category,url+}"
    [/mla_gallery]
     
    [mla_gallery attachment_category="{+template:({+request:sub_category+}|{+request:third_category+}|no-term-selected)+}" tax_include_children=false posts_per_page=25 orderby=date order=DESC mla_caption="{+title+} : {+description+}" mla_link_href="/modulo-richiesta-foto/?current_id={+attachment_ID+}" mla_nolink_text=" "]

    It works fine for me. I have just a little problem with a blank row that appears in the table before the third control – perhaps you know why ??
    I have, however, a bigger problem with this page I made to request my photos… it does not work with my plug-in TranslatePress (I pay for a pro-version!)… Now I hav disabled it for this page and I added an English translation in the html ??
    If I enable the plugin of translation for the page, everything works fine until showing thumbnails (in fact with this plugin, when you change language, the URL of the page changes in /lang/translated-url/ )
    If you can help me (again!!) I can open a new post with a duplicated page in which the plugin of translation is enabled, so you can see the problem…
    Tell me if it is possible…
    Have a nice weekend and thank you so much!!

    • This reply was modified 2 years, 12 months ago by cristiano771.
    • This reply was modified 2 years, 12 months ago by cristiano771.
    Thread Starter cristiano771

    (@cristiano771)

    Thank you for the answer. I understand the problems that the user could have if I add a third control. My problem is just that the main category “UCCELLI” (birds) has many sub-categories (families) that have many sub-sub-categories (species). This produce a very long dropdown menu… I was thinking to separate the selection of “birds” in a new page so I could use just only two controls. But… how can I automatically navigate to a new dedicate page when the user select the main category “UCCELLI”? Is there a solution for this?

    I am really happy to have your support! I’m managing to customize the interaction with my galleries exactly as I wanted … Thank you so much!

Viewing 15 replies - 1 through 15 (of 19 total)