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: Structure not translating page urls

Status Resolved
Add-on / Version Publisher 1.2.3
Severity Critical
EE Version 2.8

Geoff Lewin

Mar 13, 2014

Structure isn’t using the translated URL I’ve specified.

In my Spanish entry I’ve changed the URL_title to - spanish-url
I’ve also changed the Spanish Structure Page URL to - spanish-url

This is my structure nav tag to output the menu.

{exp:structure:nav start_from="/" show_depth="3" css_class="nav-bar" current_class="active" has_children_class="yes" add_level_classes="yes" channel:title="publisher"}

When I hover the link in the nav it’s using the English translation.

http://www.mysite.com/es/our-software

Any ideas what I’m doing wrong?

Thanks
Geoff

 

#1

BoldMinded (Brian)

This is a structure “bug” that I just found yesterday. Will post more info on how to fix it later.

#2

BoldMinded (Brian)

This is the change you need to make to Structure:

https://www.evernote.com/shard/s9/sh/cbd97bd7-00e0-487b-b2da-6bcdd9874977/c4254171110bf44988641d4248f6267d

So you can copy/paste the line of code.

$all_pages = $this->EE->config->item('site_pages');
#3

BoldMinded (Brian)

And the Structure bug report you can follow: http://structure.tenderapp.com/discussions/problems/6677-recent-changes-have-broken-publisher-compatibility

#4

Geoff Lewin

Thanks for the fix.

Login to reply