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: the path variable doesn’t parse properly

Status Resolved
Add-on / Version Publisher 2.7.0
Severity
EE Version 3.5.11

pixiwooh

Nov 15, 2017

The https://boldminded.com/‘template_group/template’ tag isn’t parsed properly on the translated version of the entry.

The language segment is missing in it (only when you’re viewing the other language version of entry).

I put a link (named “lien”) in the template to let you see by yourself.
As you can see, on FR version, the path=‘template_group/template’ is parsed as ....../fr/template_group/template and when I switch on the NL version, the path=‘template_group/template’ is parsed as ....../template_group/template.

#1

BoldMinded (Brian)

Would you be able to create a new template with only the {path=”“} variable in it where the error is happening so there is no other code around it, then give me the url to that template so I can see it happening? You said “As you can see, on FR version,” - but I don’t know what I’m supposed to be looking at.

#2

pixi

Sure! Sorry.

I edited the URL in the ticket infos. I let some additional code ({exp:publisher:languages} tag) so you can switch language to see the issue. Look at the link called “lien css” : in FR version the path has the language code segment in it but if you switch in NL version, the langauge code is missing in the URL so it leads to nothing.

#3

BoldMinded (Brian)

Comment has been marked private.

#4

pixi

It works like a charm now! Thank you Brian.

Login to reply