Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2024-01-30 09:27:00

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Article URL patterns

On Textpattern version: 4.9.0-dev (a9f45023283154c455d8bf3a8a9cd0a7) the /section/category/ appears that it no longer works.

Example urls www.neme.org/projects/emap/ which returns nothing, whilst www.neme.org/projects/state-machines/ & www.neme.org/projects/respublika/seminars/ return a 404. Interestingly /section/category/title works just fine ie www.neme.org/projects/emap/media-art-politics

Has something changed?

> Edited to add that the tags I’m using on the particular section can be found on github

Last edited by colak (2024-01-30 09:40:41)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#2 2024-01-30 10:28:49

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,595
Website

Re: Article URL patterns

Do you have better success if you set your project section to use either the /section/category/title or /breadcrumb/title url scheme?


TXP Builders – finely-crafted code, design and txp

Offline

#3 2024-01-30 10:39:55

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Article URL patterns

It does not look like projects section uses the template you evoke above. At least, there is no trace of this image in source code.

Category links work fine in breadcrumb/title mode on my localhost, fwiw.

Offline

#4 2024-01-30 10:56:16

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: Article URL patterns

jakob wrote #336513:

Do you have better success if you set your project section to use either the /section/category/title or /breadcrumb/title url scheme?

etc wrote #336514:

It does not look like projects section uses the template you evoke above. At least, there is no trace of this image in source code.

Category links work fine in breadcrumb/title mode on my localhost, fwiw.

The section uses a /section/category/title pattern. Here’s a screenshot which, if your eyes are anything like mine, you’ll need to zoom in to view it.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2024-01-30 11:09:29

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Article URL patterns

Your projects.tpl includes neme_white.svg image. The source code of projects page outputs neme_peace.svg instead. Why?

Offline

#6 2024-01-30 15:53:12

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: Article URL patterns

etc wrote #336516:

Your projects.tpl includes neme_white.svg image. The source code of projects page outputs neme_peace.svg instead. Why?

Oh, that one:) That’s a temporary replacement of our logo that includes Roerich’s peace symbol https://en.wikipedia.org/wiki/Peace_symbols#Roerich's_peace_banner.1 It’s part of our reaction to the current wars. You can actually see the svg on the top left of all our pages.

1 Interestingly, some Wikipedia urls can not be parsed by textile.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#7 2024-01-30 16:03:40

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Article URL patterns

That’s fine, but where does is come from? There is no mention of neme_peace.svg in your projects.tpl. Have you duplicated the page template?

Offline

#8 2024-01-30 16:07:27

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: Article URL patterns

etc wrote #336520:

That’s fine, but where does is come from? There is no mention of neme_peace.svg in your projects.tpl. Have you duplicated the page template?

No’ I did not, I just did not update the github page.

Oleg, I you still have a login for a login for our admin side. Do feel free to login if that will help with your debugging.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#9 2024-01-30 16:21:44

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Article URL patterns

Thanks Yiannis. I used to have an account on dev.colakides.com, but it looks offline.

Offline

#10 2024-01-31 08:50:13

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Article URL patterns

Bug hopefully squashed, sorry for the hassle. It was already there in 4.8.8, but hidden behind another bug.

Meanwhile, I have set all sections URL schemes explicitly. You can switch them back to the default value once txp updated.

Many thanks for testing!

Offline

#11 2024-01-31 09:26:15

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: Article URL patterns

jakob wrote #336513:

Do you have better success if you set your project section to use either the /section/category/title or /breadcrumb/title url scheme?

Thanks so much Julian,

I was working on a deadline and could not even think properly to do this test.

It appears that /breadcrumb/title works as intended/needed, but why is /section/category/title misbehaving?

> Edit

etc wrote #336524:

Bug hopefully squashed, sorry for the hassle. It was already there in 4.8.8, but hidden behind another bug.

Meanwhile, I have set all sections URL schemes explicitly. You can switch them back to the default value once txp updated.

Many thanks for testing!

Great!

Last edited by colak (2024-01-31 09:40:11)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#12 2024-01-31 09:47:16

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Article URL patterns

colak wrote #336525:

It appears that /breadcrumb/title works as intended/needed, but why is /section/category/title misbehaving?

They all worked, but had to be set explicitly, and not inherited from default section. Now it should be fine either way.

Offline

Board footer

Powered by FluxBB