• Resolved mmya

    (@mmya)


    Hello,

    I am having problems to get what I want. I need to show a tag_cloud and when you click on a term get all the images with that category term. This is the code I am using:

    [mla_tag_cloud taxonomy=category number=0 mla_link_href="{+page_url+}?term_id={+slug+}"]
    
    [mla_gallery category_name="{+request:term_id+}" posts_per_page=21 ]
    
    <div style="clear: both; float: left">
    [mla_gallery category_name="{+request:term_id+}" posts_per_page=21 mla_output="previous_page,first" mla_link_text='&larr;' mla_rollover_text="Anteriores"]
    </div>
    <div style="float: right">
     [mla_gallery category_name="{+request:term_id+}" posts_per_page=21 mla_output="next_page,last" mla_link_text='&rarr;' mla_rollover_text="Siguientes"]
    </div>

    But when I click on a term I get:
    <[+termtag+] class='tag-cloud-term'> [+thelink+]
    instead of the images.

    I don’t know what is the problem. I suppose there is a problem with the shortcode, that is not looking for the images.

    I would be really gratefull if you could help me with this.

    Thanks you in advance.
    Ana

    https://www.ads-software.com/plugins/media-library-assistant/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author David Lingren

    (@dglingren)

    Ana,

    Thanks for taking the time to paste your source code into your post. I copied your code into my test system and it is working perfectly. You have done everything right.

    When I click on a term I get an image gallery, and all the pagination controls are working as well. I don’t know why your site is not working the same way.

    1. Can you look at the HTML code for your cloud and see if the URLs for each term look correct?
    2. If you manually enter a URL with one of your terms filled in does the gallery appear?
    3. When you say “I get … instead of the images“, does the cloud still appear?

    It would be very helpful to see the HTML “source view” of the page on which your problem occurs, or at least the portion of the page containing the cloud and gallery. Is it possible to get to your site remotely, or is the site on an internal network?

    If you would like to send more information privately rather than posting it here, give me your e-mail address and I will give you an address you can use to reach me. You can use the Contact Us page at our web site:

    Fair Trade Judaica/Contact Us

    Thanks for your help, your patience and your interest in the plugin.

    Thread Starter mmya

    (@mmya)

    Hello David,

    Thanks you for your quick, helpful and kind reply.

    This is the html address of the page where I’m trying to use the plugin:

    https://www.mm-atriana.com/es/buscador/

    I need to get a tag cloud in order to be able to show our work for categories, like logos… and the idea is to click on the category and get a gallery with all the images of logos linked to the page where they appear.

    The theme we use is created for us (but we are designers, not developers) and I think it is probably there is a template we don’t have and is needed fot the plugin.

    I would be really gratefull to you if you could help me, cause I think your plugin is a perfect option to get what we need.

    Thanks

    Plugin Author David Lingren

    (@dglingren)

    Thanks for the update and for posting a link to the example page on your site. I have accessed the page and examined its HTML source.

    It looks like this page was generated by the [mla_gallery] shortcode, but using the “tag-cloud” style and markup templates, something like:

    [mla_gallery mla_style=tag-cloud mla_markup=tag-cloud]

    There are two ways for this to happen. First, you could code the style and markup parameters in the shortcode itself. Second, you could have set the “Default [mla_gallery] Templates and Settings” in the Settings/Media Library Assistant MLA Gallery tab to use these templates by default.

    The second alternative seems more likely.

    The end result is the display you see because the “termtag” and “thelink” substitution parameters are unique to the [mla_tag_cloud] shortcode; they are not used in [mla_gallery].

    Check your MLA Gallery tab settings and let me know if I am on the right track.

    Thread Starter mmya

    (@mmya)

    Hello David,

    thanks you for your help. You were right. I have solved the problem and I marked this topic as resolved.

    But I have another issue. I don’t know if you prefer for me to open a new topic. It is about qtranslate. I have this plugin instaled and I need that when you clic on English you get English category terms, but I still get Spanish ones. It is possible the tag cloud show the English terms, that are set when I create the categories.

    Thanks a lot for your help again. Your support is really great.

    Plugin Author David Lingren

    (@dglingren)

    Thank you for the update and the good news about the resolution of your issue.

    I will look into the qTranslate issue. It would be great if you could open a new topic for that issue so other users can find it and follow any progress I am able to make in resolving it.

    Thanks for your interest and your consideration.

    Thread Starter mmya

    (@mmya)

    I have open a new topic with that issue.

    Thanks for your quick responses and for your interest in helping.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Tag Cloud Gallery: don't get images’ is closed to new replies.