Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: comment_url_title_auto_path links are missing language URL segment

Status Resolved
Add-on / Version Publisher 3.10
Severity
EE Version 7.2.17

Hop Studios

May 15, 2023

I see that this was a problem back in 2012, but was resolved back then. May be re-introduced?
https://boldminded.com/support/ticket/274

I have a simple exp:channel:entries loop with the title and comment_url_title_auto_path; all links generated are missing the /fr language segment.
Links generated with url_title_path=‘blog/entry’ work correctly.
The comment path in Channel settings is set to https://mysite.ca/blog/entry

#1

BoldMinded (Brian)

Is French your default or non-default language?

#2

BoldMinded (Brian)

Also, can you share a screenshot of your URL Translation settings?

#3

BoldMinded (Brian)

I think this still works fine, but I can’t seem to find the Comment Page URL setting mentioned in the docs https://docs.expressionengine.com/latest/channels/calendar.html#comment_url_title_auto_path

So I set the Channel URL setting to a valid value and it translated it fine. If the Comment Page URL value isn’t found, then Publisher uses the Channel URL value instead. Given this, and the fact that it ended up translating fine, I don’t see anything Publisher is doing incorrectly. This more seems to be an issue of the Comment Page URL variable apparently not existing anymore??

#4

Hop Studios

French is a second language, English is set as the default. As a note, all other pages and URLs using path= are translating properly, I only noticed that it wasn’t working with this one specific tag. I can’t say with certainty if it was working properly before we updated to EE7, so you may be on the right track with the Comment Page URL not existing.

URL Translation settings: https://i.gyazo.com/f778990ebbd0fc29af20e6f72a125d7d.png

Interestingly, I discovered today that this does not work: https://i.gyazo.com/a212c3891a25a0e2be1710428827a531.png

But this DOES work: https://i.gyazo.com/89c48965d54f6431787cc6b709d4e56e.png

Site URL is set to the same value as in the screenshot.

#5

BoldMinded (Brian)

Any reason you can’t change that variable to use a normal {path} tag?

#6

Hop Studios

No reason not to use it, that’s what I’m doing now to fix the problem. Reported what I thought was a bug, but if Comment Page URL has been deprecated then it looks like there’s no problem with Publisher. 😊

Login to reply