Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#433 2019-04-23 12:48:52

Gallex
Member
Registered: 2006-10-08
Posts: 1,223

Re: smd_tags: unlimited article, image, file and link taxonomy

is my url managment (take a look) is wrong or do i need to add some extra code into my default page?

why it doesn’t output any articles if i click on a tag link at the bottom of a page?

Stef?

Offline

#434 2019-04-23 13:07:56

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,516
Website GitHub

Re: smd_tags: unlimited article, image, file and link taxonomy

Gallex wrote #317736:

why it doesn’t output any articles if i click on a tag link

Sorry I didn’t reply sooner. <txp:smd_tag_list> only outputs the tag tree. You need to use <txp:smd_related_tags> to go and fetch articles that are ‘related’ to the clicked tag:

<txp:smd_tag_list ... >
   <txp:smd_tag_name link="1" title="1" />
   <txp:smd_related_tags section="articles" wraptag="ul" break="li">
      <txp:permlink><txp:title /></txp:permlink>
   </txp:smd_related_tags>
</txp:smd_tag_list>

You must specify the section in which your articles are located, otherwise it defaults to “this section” and you probably won’t have any articles assigned to the tags section.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#435 2020-01-27 20:54:02

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,371
Website GitHub Mastodon

Re: smd_tags: unlimited article, image, file and link taxonomy

I assume this is a PHP error but didn’t see where anyone else had brought it up.

Textpattern version: 4.8.0-dev (b7c0d0c8e0bbcbc29b0121e76a8d814f)
Last update: 2020-01-25 22:57:41/2020-01-25 22:41:48
Textpattern path: __TXP-ROOT/textpattern
Article URL pattern: year_month_day_title
Production status: debug
Temporary directory path: __TXP-ROOT/textpattern/tmp
PHP version: 7.3.12
Active plugins: 
	smd_tags-0.60

The code

<txp:smd_tag_list wraptag="div" class="post-tags" break=""
     shuffle="1" indent="">
  <txp:smd_tag_name link="1" />
</txp:smd_tag_list>

The error


Tag error: <txp:smd_tag_list wraptag="div" class="post-tags" break=""
     shuffle="1" indent="">
  <txp:smd_tag_name link="1" />
</txp:smd_tag_list> ->  8192: The each() function is deprecated. This message will be suppressed on further calls while parsing form single-content on page article

As of this writing, it can be seen live.

Oh, and when adding a new tag, the backend displays:

Deprecated
: Parser::textileThis() is deprecated. Use Parser::parse() instead. in
/home/.../vendors/Netcarver/Textile/Parser.php
on line
2048

Offline

#436 2020-01-27 23:00:36

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,516
Website GitHub

Re: smd_tags: unlimited article, image, file and link taxonomy

Both of those issues should be fixed in beta 3.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#437 2020-01-28 02:11:48

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,371
Website GitHub Mastodon

Re: smd_tags: unlimited article, image, file and link taxonomy

Bloke wrote #321376:

Both of those issues should be fixed in beta 3.

And so it has been. I saw there was a Beta of 0.60 but I thought I had it installed already. Apparently mine was an earlier incarnation.

Thanks, Stef

Offline

#438 2020-03-03 22:39:09

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,371
Website GitHub Mastodon

Re: smd_tags: unlimited article, image, file and link taxonomy

Okay. I am stuck again.

New Site running 4.8 and Beta 0.60

Example: http://presidents.cmsstyles.com/articles/1/just-a-standard-format-post

tag code

    <txp:smd_tag_list wraptag="span" break="" class="entry__tag-list" shuffle="1" indent="">
            <txp:smd_tag_name link="1" />
    </txp:smd_tag_list>

Click on any tag and I get a 404 every time.

Offline

#439 2020-03-04 00:32:17

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 1,868
Website

Re: smd_tags: unlimited article, image, file and link taxonomy

i’m nio help. but i sure dig your site. have you make the code publicly available?


…. texted postive

Offline

#440 2020-03-04 05:03:42

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,724
Website GitHub Twitter

Re: smd_tags: unlimited article, image, file and link taxonomy

Hi Michael
It’s definitely not the reason for the 404 but more of a heads up to say have a stray --> after the 3rd stylesheet.


Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#441 2020-03-04 10:01:32

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 517

Re: smd_tags: unlimited article, image, file and link taxonomy

Hi,
I also have 404 on each tag after upgrading to txp 4.8
smd_tags 0.60 installed

Offline

#442 2020-03-04 10:20:06

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 271
Website GitHub GitLab Twitter

Re: smd_tags: unlimited article, image, file and link taxonomy

Me too :-(

Tag cloud is still correct, just every keyword leads to 404 now, after upgrade to 4.8.0.

Edited: Not smd_tags, but tru_tags plugin v3.7 in my case.

Last edited by Vienuolis (2020-03-04 10:38:13)

Offline

#443 2020-03-04 11:11:31

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,516
Website GitHub

Re: smd_tags: unlimited article, image, file and link taxonomy

Drat. Bug in 4.8.0 I think. As it tries to be clever about interpreting our new URL schemes and guess articles, it’s treating any custom URL patterns as invalid.

I’ve tried hacking it by setting the destination URL section (as set in the smd_tags prefs ‘Trigger(s) for tag lists’) to ‘?messy’ in case that triggered a different behaviour, but it doesn’t.

It does exhibit different behaviour depending if you use a trailing slash or not, but that only doesn’t 404 if you use the section on its own: example.org/smd_tags/. Everything else issues a 404.

Ummmm. Oleg? Any clues?


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#444 2020-03-04 12:16:26

etc
Developer
Registered: 2010-11-11
Posts: 4,513
Website GitHub

Re: smd_tags: unlimited article, image, file and link taxonomy

Bloke wrote #322055:

Drat. Bug in 4.8.0 I think. As it tries to be clever about interpreting our new URL schemes and guess articles, it’s treating any custom URL patterns as invalid.

Ummmm. Oleg? Any clues?

It’s part of load-time optimizations (why have I ever touched it!) Try to call smd_tags_url_handler() function directly on plugin load (public-side) and set its load order to something lower than 5?

Offline

Board footer

Powered by FluxBB