Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#805 2018-12-02 14:44:16

BryanA.
Member
From: Maryland, USA
Registered: 2007-08-12
Posts: 96

Re: tru_tags: A tagging plugin for textpattern

Is it possible to create different clouds or sets of tags for different categories?


The WIPsnakebite.cafe
A place for conversations like #techxiety the podcast. Textpattern is my Valentine’s date.

Offline

#806 2020-03-04 10:44:49

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

Re: tru_tags: A tagging plugin for textpattern

Every tag leads to the 404 error page after upgrading to Textpattern v4.8.0 :-(

Tag links and the tag cloud remain correct. The latest tru_tags version 3.7.

Offline

#807 2020-03-04 11:10:05

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

Re: tru_tags: A tagging plugin for textpattern

Vienuolis wrote #322052:

Every tag leads to the 404 error page after upgrading to Textpattern v4.8.0 :-(

Tag links and the tag cloud remain correct. The latest tru_tags version 3.7.

I do not know a fix for it, but this might be because the plugin is not taking into account the new url schemas.


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

Offline

#808 2020-03-04 11:13:15

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

Re: tru_tags: A tagging plugin for textpattern

Nope, seems to be a bug in 4.8.0. I don’t think there’s anything that can be done in the plugin to fix this, because Txp is throwing out the URL before the plugin even has a chance to intervene. Same with smd_tags. We’ll have to figure this out in core. Sorry for the hassle.


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

#809 2020-03-04 12:02:37

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

Re: tru_tags: A tagging plugin for textpattern

Strange behavior: somewhat hidden messy tag URL in a clean URL scheme:

https://on.lt/dalykai/tiesa/

where: ‛tiesa’ is a tag (keyword), and ‛dalykai’ — Lithuanian substitution of the English word ‛tags’.

The bold URL here is obtained by PHP as an environment variable:

 	<txp:php> 
$urn = urldecode($_SERVER['REQUEST_URI']);
$urh = "{$_SERVER['HTTP_SCHEME']}://{$_SERVER['HTTP_HOST']}";
echo $urh . $urn;
	</txp:php>

Where the ?t= comes from?

Offline

#810 2020-03-11 18:56:34

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

Re: tru_tags: A tagging plugin for textpattern

<meta::description format="" /> output disappear on sections after Textpattern 4.7.3 → 4.8.0 upgrade. No warnings while in debugging mode. And no changes on Meta description docs since v4.6.0.

type="article" context attribute solved the problem. Could this be the cause for tru::tags error 404, too?

Offline

#811 2020-03-11 19:22:15

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

Re: tru_tags: A tagging plugin for textpattern

Vienuolis wrote #322167:

<meta::description format="" /> output disappear on sections after Textpattern 4.7.3 → 4.8.0 upgrade. No warnings while in debugging mode. And no changes on Meta description docs since v4.6.0.

Would the double colon be the reason? it should be: <meta:description format="" />


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

Offline

#812 2020-03-11 19:51:39

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

Re: tru_tags: A tagging plugin for textpattern

Sorry, I know txp:meta_description or meta::description types only.

Offline

#813 2020-04-17 04:25:54

peterj
Member
From: Melbourne, Australia
Registered: 2005-06-02
Posts: 79

Re: tru_tags: A tagging plugin for textpattern

Try htaccess workaround – see Jakob’s rewrite rule here

Adapted:

# Temporary: tru_tags url rewrite
RewriteRule ^tag/(article/)?(.+)$ ?s=tag&t=$1@

Last edited by peterj (2020-04-19 04:02:17)

Offline

#814 2020-04-17 13:19:40

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

Re: tru_tags: A tagging plugin for textpattern

I am using Hiawatha webserver instead of Apache, so I changed this .htaccess string to the regular expression

Match ^/tag/(.+)/ Rewrite /index.php?s=tag&t=$1

and tagged links work now again as should. Thank you for the help!

Offline

#815 2020-06-23 10:26:39

whocarez
Plugin Author
From: Germany/Ukraine
Registered: 2007-10-08
Posts: 296
Website GitHub Twitter

Re: tru_tags: A tagging plugin for textpattern

Bloke wrote #322056:

Nope, seems to be a bug in 4.8.0. I don’t think there’s anything that can be done in the plugin to fix this, because Txp is throwing out the URL before the plugin even has a chance to intervene. Same with smd_tags. We’ll have to figure this out in core. Sorry for the hassle.

Is this problem fixed in 4.8.1? Or do I still have to use a special rewrite rule?

Offline

#816 2020-06-23 10:28:07

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

Re: tru_tags: A tagging plugin for textpattern

whocarez wrote #323929:

Is this problem fixed in 4.8.1? Or do I still have to use a special rewrite rule?

Should be fixed in 4.8.1 but you may still have to alter the plugin to load order 4 or lower.

EDIT: and any custom URLs you generate that target landing pages MUST end in a trailing slash or Txp might consider them articles. This behaviour depends on your per-section permlink setup, but to be safe, just include the trailing slash on non-article pages.

Last edited by Bloke (2020-06-23 10:30:16)


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

Board footer

Powered by FluxBB