Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link content type serializer for external url #1843

Closed
yurj opened this issue Nov 15, 2024 · 1 comment
Closed

Link content type serializer for external url #1843

yurj opened this issue Nov 15, 2024 · 1 comment

Comments

@yurj
Copy link

yurj commented Nov 15, 2024

Hi!

after merging plone/plone.app.contenttypes#711 the link serializer will return the correct path for Link using ${navigation_root_url} or ${portal_url} in external url.

Code:

path = replace_link_variables_by_paths(context=self.context, url=value)

@yurj
Copy link
Author

yurj commented Nov 18, 2024

plone/plone.app.contenttypes#711 (Plone 6.1) has been merged, plone/plone.app.contenttypes#713 is for Plone 6.0

@yurj yurj closed this as completed Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant