I am just wondering if there is a way to extend «replace="https://|"» with «replace="https://|"». Here is my code:
<perch:content id="link_url" type="text" replace="https://|" label="Link URL" />
Thanks for helping!
Try this:
<perch:content id="link_url" type="text" replace="https://|,https://|" label="Link URL" />
Unfortunately it does not work. I am using perch:content inside an a-tag. Here is my code:
href="https://<perch:content id="link_url" type="text" replace="https://|,https://|" label="Link URL" />"
And that's the output I get, when I enter e.g. «https://www.domain.com»: href="https://https://www.domain.com">
Hello Martin,
Ryan's solution should work. You need to save the region again after editing the template.
Oh, sorry! You're right. I had a little error in my code...grrr. Thanks a lot, guys!
Try this:
<perch:content id="link_url" type="text" replace="https://|,https://|" label="Link URL" />
Unfortunately it does not work. I am using perch:content inside an a-tag. Here is my code:
And that's the output I get, when I enter e.g. «https://www.domain.com»: href="https://https://www.domain.com">
Hello Martin,
Ryan's solution should work. You need to save the region again after editing the template.
Oh, sorry! You're right. I had a little error in my code...grrr. Thanks a lot, guys!