Structure links not parsing when using Transcribe

patrick's Avatar

patrick

25 Nov, 2016 09:08 AM

Hi

When adding Structure Links to a wygwam field on a Transcribe entry that's not the default language, they are being rendered like this: http://example.de/news/%7Bpage_17%7D

More info:

I have a Transcribe site with Structure and Wygwam. Each language has it's own domain (example.com, example.de etc) When I add a Structure Link into Wygwam for the default language (eg example.com) by clicking Link Icon > Link Style: Structure > then selecting a page, it puts the link in and works fine (eg http://example.com/news/the_story). However if I add an entry for the non-default language (eg example.de) and then add a Structure Link into Wygwam the URL appears fine in wygwam but when it appears on the site it shows an encoded version of {page_XX} eg http://example.de/news/%7Bpage_17%7D .

After investigation it looks like the page id is referencing the entry id for the default language and not the current language the entry is for. The list of pages that are shown in the Structure Link dropdown is only ever for the default language and not the current language.

I think what's happening is wygwam is looking for the URL based on the default language and then converting that the {page_XX} variable but it's getting it wrong because it's ignoring the domain name and choosing the page id that's on the default language. Is there any way to fix this?

EE v2.11.2, Transcribe v1.7.1, Structure v3.3.19, Wygwam v3.3.3

  1. Support Staff 1 Posted by Support on 17 May, 2017 12:21 PM

    Support's Avatar

    This issue has been fixed in a recent version of Structure. Please let us know if you're still experiencing this issue after updating.

  2. Support closed this discussion on 17 May, 2017 12:21 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac