MarkE Posted May 2, 2019 Posted May 2, 2019 The link insertion provided by CKEditor in ProcessWire gives an option to link to a page as well as an external url. This works fine when used in a field that will appear in the website, but, as it is a relative url, it does not work if clicked from outside the site. I am creating email texts in a Processwire page and then sending them. If I link using the "select page" option then the link does not work for the recipient. Is there a simple way of fixing this or do I just have to remember to put in the full link manually (or write some code to parse and enhance the email text)? The same problem occurs if linking to a file.
Zeka Posted May 2, 2019 Posted May 2, 2019 You can choose between absolute and relative link types in ProcessPageEditLink module settings.
Zeka Posted May 2, 2019 Posted May 2, 2019 Are you familiar with Textformatter modules? https://processwire.com/talk/topic/10906-ckeditor-absolute-image-path-possible/ 2
Zeka Posted May 2, 2019 Posted May 2, 2019 Or you can make such replace only for your email body text. 1
MarkE Posted May 2, 2019 Author Posted May 2, 2019 Thanks for the linked discussions - I hadn't seen those. I do agree that "absolute" in the options needs clarification. Looks like I'll need to do a bit more php...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now