antonstepichev
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Library Assistant] Sorting items in Tag cloud by parent/child?David, I have an additional question:
I tried to make the page so that it loads a certain category by default. For example, I took the category “BW reference images” ID = 68. For this, I changed the parameter “option_all_ value” in several variants:option_all_ value=68 option_all_ value='68' option_all_ value="68"
Unfortunately I did not succeed, the page is loaded without “BW reference images” gallery
What have I done wrong?Forum: Plugins
In reply to: [Media Library Assistant] Sorting items in Tag cloud by parent/child?Hello Davd!
Let me ask you another question.Here is my current code:
<form id="mla-text-form" action="https://www.backtomusic.ru/uc/term_list-test-page" method="post" class="row"> <strong>Att. Categories</strong> [mla_term_list] taxonomy=attachment_category mla_item_parameter=current_attachment_category mla_output=dropdown mla_option_value="{+slug+}" option_all_text='Выбрать категорию для просмотра' option_all_value=all show_count=true pad_counts=false hierarchical=true [/mla_term_list] <input id="text-form-submit" name="text_form_submit" type="submit" value="Показать фотографии" /> </form> <h3>Gallery</h3> [mla_gallery] style="random" attachment_category="{+template:({+request:tax_input.attachment_category+}|no-term-selected)+}" posts_per_page=12 mla_caption="{+title+} : {+description+}" mla_nolink_text="<br> <br>" orderby="ID DESC" [/mla_gallery] [mla_gallery] attachment_category="{+template:({+request:tax_input.attachment_category+}|no-term-selected)+}" posts_per_page=12 mla_output="paginate_links,prev_next" mla_link_href='{+new_url+}?mla_paginate_current={+new_page+}&tax_input[attachment_category]="{+query:attachment_category,text+}"' [/mla_gallery]
Here is the test page: https://www.backtomusic.ru/uc/term_list-test-page
There is a permanent gallery header on the page: <h3>Gallery</h3>. Is it possible that instead of a permanent title, the name of the selected category would appear? Can MLA generate their headers?
Forum: Plugins
In reply to: [Media Library Assistant] Sorting items in Tag cloud by parent/child?The line
action="https://www.backtomusic.ru/term_list-test-page"
resolved the problem!
I will continue to study your wonderful plugin.
Thank You David!Forum: Plugins
In reply to: [Media Library Assistant] Sorting items in Tag cloud by parent/child?Hello David!
I copied the example from the manual to the page https://www.backtomusic.ru/term_list-test-page, the menu works fine, but when I click “search”, instead of the gallery the main page of the site is loaded. What have I done wrong?
The example code is:
<form id="mla-text-form" action="." method="post" class="row"> <strong>Att. Categories</strong> [mla_term_list taxonomy=attachment_category mla_output=dropdown mla_option_value="{+slug+}" show_count=true pad_counts=false ] <input id="text-form-submit" name="text_form_submit" type="submit" value="Search" /> </form> <h3>Gallery</h3> [mla_gallery] attachment_category="{+template:({+request:tax_input.attachment_category+}|no-term-selected)+}" posts_per_page=3 mla_output="paginate_links,prev_next" mla_link_href='{+new_url+}?mla_paginate_current={+new_page+}&tax_input[attachment_category]="{+query:attachment_category,text+}"' [/mla_gallery] [mla_gallery attachment_category="{+template:({+request:tax_input.attachment_category+}|no-term-selected)+}" posts_per_page=3 mla_caption="{+title+} : {+description+}" mla_nolink_text="<br>Select a term to display the gallery.<br>"]
Thank you in advance!
Forum: Plugins
In reply to: [Media Library Assistant] Sorting items in Tag cloud by parent/child?Got it.
Thank You, David!Forum: Plugins
In reply to: [Media Library Assistant] Sorting items in Tag cloud by parent/child?Hans, yes, I use MLA plugin together with Photonic because David wrote somewhere that these plugins are fully compatible. If you look at my code, then you can see the phrase
style='random'
, it launches the Photonics Lightbox plugin.
In Photonic I use the FancyBox JS Library. In my opinion, it makes the images softer and cleaner than others do. The only drawback of this library is that social links do not work for it. I compared FancyBox’ code with codes of other JS libraries where the social links work fine, but I could not find the cause of the error.The main drawback of Photonics is that it does not understand the line of MLA code
"mla_caption =" {+ term_links: attachment_category, cloud +} ""
and therefore the caption must be entered manually for each photo. I could not understand the reason, maybe David can find the answer.I did not try to use MLA+Photonic for PDFs, have no idea if it works fine.
Forum: Plugins
In reply to: [Media Library Assistant] Sorting items in Tag cloud by parent/child?Thank You, David!
I will study the MLA manual on the subject.Forum: Plugins
In reply to: [Media Library Assistant] Tag cloud – clickable tags in mla_caption area?David, you were right, as always. I fixed CSS and got desired inline formatting back.
You are not only a professional, but an excellent teacher also, thank you very much!With best regards!
Anton Stepichev.Forum: Plugins
In reply to: [Media Library Assistant] Tag cloud – clickable tags in mla_caption area?Yes, David, I made both mistakes that you mentioned, now everything works!
The only thing, mla_caption now displays each link and comma with a new line, can it be done so that they are displayed in one line, as before?
Thank you!
Anton StepichevForum: Plugins
In reply to: [Media Library Assistant] Tag cloud – clickable tags in mla_caption area?Hello David!
I followed all your instructions – downloaded and installed MLA Term Links Example and MLA 20170626, activated them and replaced the code
mla_caption = "{+ terms: attachment_category +}"
with codemla_caption = "{+ term_links: attachment_category, cloud +}"
on my Tag Cloud page.
I suspect that I did something wrong, because instead of links mla_caption shows the code[++ term_links: attachment_category, cloud ++]
.
See https://www.backtomusic.ru/photo/tag-cloud?current_id=84David, I did not think to take so much time from you, just waited for a ready answer. Hope this task is really interesting to you and worth time that you spent on it.
Thank you and best regards,
Anton Stepichev- This reply was modified 7 years, 5 months ago by antonstepichev.
- This reply was modified 7 years, 5 months ago by antonstepichev.
Forum: Plugins
In reply to: [Media Library Assistant] strange “404 not found” and tagcloud issueEverything works fine, THANK YOU!
Forum: Plugins
In reply to: [Media Library Assistant] strange “404 not found” and tagcloud issueHello David!
Yes, you were right. When I manually replaced all curly quotes with plain-text quotes, the “404 page not found problem” was solved. Thanks!Unfortunately, my Gallery still does not work with Tagcloud.
In first example the Gallery page is loading successfully now, but remains empty.First example tag page code:
[mla_tag_cloud taxonomy=attachment_tag number=0 limit=10 mla_link_href=”/gal/?current_id={+term_id+}”]
First example gallery page (/gal) code:
[mla_gallery]
post_mime_type=all
tax_query= “array ( 0 => array ( ‘taxonomy’ => ‘attachment_tag’, ‘field’ => ‘id’, ‘terms’ => array( {+request:current_id+} ), ‘include_children’ => false ) )”
mla_caption=”{+title+}”
columns=1 posts_per_page=5 size=large link=none
[/mla_gallery]Second example behaves the same way:
[mla_tag_cloud]
taxonomy=attachment_tag
mla_link_href=”{+page_url+}?current_id={+term_id+}&mla_cloud_current={+request:mla_cloud_current+}”
[/mla_tag_cloud]
[mla_gallery]
attachment_tag=”{+template:({+request:term_slug+}|a-bad-term)+}”
[/mla_gallery]
I see a list of tags on resulting page. On tag mouse over i see “20 tags”, Mozilla shows “www.domenname/?page_id=174?current_id=36&mla_cloud_current=” link at the left bottom. When i click any tag on the page, it reloads but instead of gallery i see the same list of tags.David, I apologize for I bothered you on your vocations. There is no need in answering before you come back. Have a good traveling!
Forum: Plugins
In reply to: [Media Library Assistant] Problem with permalinksHello, David!
Thank you for your powerful plug-in, but its power seems too much for such an unexperienced WP user like me) – I have strange “404 not found” tag cloud problem and can not resolve it – your kind suggestions and supportive links above does not help.When i use the code (mbruxelle’s working example: [mla_tag_cloud taxonomy=attachment_tag number=0 limit=10 mla_link_href=”/gal/?current_id={+term_id+}”]), i see a list of tags on resulting page. On tag mouse over i see “20 tags”, Mozilla shows “www.domenname/”gal/?current_id=36″” at the left bottom. When i click any tag i see “Not Found
The requested URL /a€?/gal/ was not found on this server.”
Note strange prefix “a€?” – it looks like a bug.When i use another code example from MLA support:
[mla_tag_cloud]
taxonomy=attachment_tag
mla_link_href=”{+page_url+}?current_id={+term_id+}&mla_cloud_current={+request:mla_cloud_current+}”
[/mla_tag_cloud]
[mla_gallery]
attachment_tag=”{+template:({+request:term_slug+}|a-bad-term)+}”
[/mla_gallery]
I also see a list of tags on resulting page. On tag mouse over i see “20 tags”, Mozilla shows “www.domenname/?page_id=174?current_id=36&mla_cloud_current=” link at the left bottom. When i click any tag on the page, it reloads but instead of gallery i see the same list of tags.I tried some other working examples from solved topics of MLA support – no success.
I changed themes several times, even use 2012 with your child theme and three custom PHPs you suggested – no result.
Dis-activating all plug-ins except MLA does not help too.I gave up at last and need your help.