Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter abronk

    (@abronk)

    Hello,
    Here is my code, I do not understand how to add your suggestion for #2. How would I change gallery shortcode?

    Also, if I change the “default” style markup, how does this affect other gallery shortcodes that are not setup like this page?

    `<h2 style=”text-align: center; margin-top:0px; margin-bottom:4px;”>Search by Tag</h2><div style=”height:200px; border:1px solid #ccc; overflow:auto;”><span id=mla-tag-cloud>[mla_tag_cloud mla_output=grid smallest=11 largest=11 columns=4 number=0 taxonomy=attachment_tag mla_link_href=”{+page_url+}?term_slug={+slug+}” use_filters=true]</span></div>

    <h3>[+request:current_name+]</h3>
    [mla_gallery attachment_tag=”{+template:({+request:term_slug+}|muie-no-terms)+}” add_filters_to=attachment_tag columns=3 mla_link_href=”{+template:{+custom:TrueWebsite+}|{+link_url+}+}” mla_target=”_blank” mla_viewer=true orderby=”title” mla_caption=”{+title+}” add_filters_to=any]

    Thread Starter abronk

    (@abronk)

    Hi,
    When I activate my custom style template, the links do not work anymore.

    Hi,
    Great news, I found out what went wrong and I think I fixe dit. Though, I am not sure why this code had “deactivated the links.” Would you be able to share some light on that? If not, no worries. I am just glad it works again.

    I had declared a width of 100% for .gallery-captuion::before. When I changed it to 0%, the links worked.

    .gallery-caption::before {
    width:100%;
    }

    changed to …
    .gallery-caption::before {
    width:0%;
    }

    Thread Starter abronk

    (@abronk)

    Hi, I can’t get your contact form to work. The submit button keeps disappearing on me.

    You can view this page instead. https://www.healthcarefornewengland.org/initiatives/cardiac-health/cardiac-health-resources/

    I sort of found a way to change the look but it deactivates the link. In the Media Library Assistant Settings > Shortcodes Tab > Select my new template for Style. I just don’t know what I did to get the link to no longer work. Since the site is live and used often, I am afraid to change it since the link doesn’t work.

    Thread Starter abronk

    (@abronk)

    Hi,
    Quick update, I found out how to make that look the default style. Only problem is the links do not work. How did I manage that? Any help is appreciated.

    Thank you,
    Alex

    Thread Starter abronk

    (@abronk)

    Hi, Sorry for the radio silence. I had to step back from this to work on other projects.

    Here are some thoughts to your questions:

    1. Which field(s) and/or taxonomies do you want to match against the keywords?
    2. I don’t know if I understand this question. I want att. categories as a checkbox list. I would like to also have an option to search with a keyword (typed in by user) that searches att. categories and att. tags. Let me know if this answers your questions or if you need more info.

    3. The example I am working on uses a checklist for attachment_category terms and a search box for attachment_tag terms. You can enter one or the other. If you use both the checklist and the search box you will get items that are assigned to the attachment_category terms AND the attachment_tag terms, i.e. both filters must succeed. Is that what you want?
    4. Yes, that will work for me.

    I’ve added the MLA Development Version , the MLA Gallery Filters and Actions (Hooks) and the included code you sent along previously. I am getting the new code spit back at me in the page, not actually run. I don’t know if I may have missed something or messed it up.

    Thanks for your continued help.

    Thread Starter abronk

    (@abronk)

    Hi – thank you for the continued support. This is incredibly helpful for me.

    1. I was able to add the necessary software to the server to get the thumbnails to appear. That is a success. Thank you.
    2. I have JetPack (https://www.ads-software.com/plugins/jetpack/) and Shortcodes Ultimate (https://www.ads-software.com/plugins/shortcodes-ultimate/). Would these help? I’m open to adding additional plugins, if need be.
    3. I would like to offer two options of search: search form and the term list. Here is my code again:
    [su_row][su_column size="1/3"]
    <h2 style="margin-top:0px;">Search by Keyword</h2>
    <form id="mla-search-form" action="." method="post">
    <input id="mla-search-box" name="search-string" type="text" value="" />
    <input id="submit" name="submit" type="submit" value="Search" /></form>
    <h2 style="margin-top:30px;">Search by Category</h2>[mla_term_list taxonomy=attachment_category number=0 mla_output=ulist mla_link_href="{+page_url+}?term_slug={+slug+}"][/su_column]
    
    [su_column size="2/3"]
    [mla_gallery attachment_category="{+template:({+request:term_slug+}|a-bad-term)+}" post_mime_type=all columns=2 link=file mla_caption="{+title+} : {+description+}"  mla_nolink_text="<br />Click a term to display resources.<br />" mla_viewer=true orderby="title"]
    [/su_column][/su_row]

    Your help is always appreciated. ?? Thank you in advance.

    Thread Starter abronk

    (@abronk)

    Hi,

    Thank you for this help. I was able to add your edited code. It works BUT it’s not quite what I was hoping for.

    I want to see a thumbnail of the file. (Icon was the wrong term to use, my apologies.) Next to the thumbnail (either to the side or below thumbnail), I would like to see the file name (and possibly the description of the file) automatically, not on rollover or mouse hover. Is this possible?

    Questions

    1. How do I get the document thumbnails to appear with file name and description to appear next to or below?
    2. I would like to offer the option to search key words in the search form or select the category. But this isn’t working for me currently.

    Here is my code:
    (I am using Shortcodes Ultimate plugin to add columns. The term list is in the left column and the gallery/results will be in the right column.)

    [su_row][su_column size="1/3"]
    <h2 style="margin-top:0px;">Search by Category</h2>
    <form id="mla-search-form" action="." method="post">
    <input id="mla-search-box" name="search-string" type="text" value="" />
    <input id="submit" name="submit" type="submit" value="Search" /></form> 
    
    [mla_term_list taxonomy=attachment_category number=0 mla_output=ulist mla_link_href="{+page_url+}?term_slug={+slug+}"][/su_column]
    
    [su_column size="2/3"]
    [mla_gallery attachment_category="{+template:({+request:term_slug+}|a-bad-term)+}" post_mime_type=all columns=1 mla_caption="{+title+} : {+description+}"  mla_nolink_text="<br />Click a term to display resources.<br />"]
    [/su_column]
    [/su_row]

    Thank you in advance for your continued support. This plugin is great, I only wish I had more advanced knowledge to better understand the Documentation tab.

    Thread Starter abronk

    (@abronk)

    Thank you for all of your help. I will try this and let you know how it turns out. ??

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