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

String interpolators for volto-absolute-url and volto-portal-url #44

Open
erral opened this issue Jan 24, 2022 · 1 comment
Open

String interpolators for volto-absolute-url and volto-portal-url #44

erral opened this issue Jan 24, 2022 · 1 comment

Comments

@erral
Copy link
Member

erral commented Jan 24, 2022

In a Volto project we are working on, we will be using content-rules to trigger some notification messages to end-users. Although the content-rule itself will be configured using the classic front-end, it will be sending and email to some users, and needs to create the proper Volto url in the message, and thus the ${absolute_url} and ${portal_url} string interpolators available in the content-rules can't be used.

We have prepared a ${volto_absolute_url} and ${volto_portal_url} interpolators that use the already existing Volto url coming from volto settings control panel to build the final url.

I think that plone.volto could be the proper place to integrate that code, we can contribute that without much effort. What do you think?

@erral
Copy link
Member Author

erral commented Apr 2, 2022

With seamless mode these interpolators are not needed, they are only needed when Plone is deployed in a /api like path

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