Adding a link to a named anchor
Permalink
Normally a simple process in html, named anchors seem to be pretty troublesome in C5.
While a html coded anchor link like this:
<a href="
http://domain.comindex.phpwebpage#anchorName...
">Link</a>
will function correctly, editors who don't know html won't have the option of adding anchors, and they might accidentally delete an anchor coded into the content by the developer.
As a developer, this is a problem I've been trying to solve; has anyone found a good way to deal with adding named anchors to their content?
(oh yeah, and since the linked domain is absolute, and not relative, the dev site links must be recoded when the sites goes live)
While a html coded anchor link like this:
<a href="
http://domain.comindex.phpwebpage#anchorName...
">Link</a>
will function correctly, editors who don't know html won't have the option of adding anchors, and they might accidentally delete an anchor coded into the content by the developer.
As a developer, this is a problem I've been trying to solve; has anyone found a good way to deal with adding named anchors to their content?
(oh yeah, and since the linked domain is absolute, and not relative, the dev site links must be recoded when the sites goes live)
use the cid instead of the page's name
Thanks, but I'm looking for a way for non-coders to add links to a named anchor, not ways for me to code links to a page.
I've changed the title of this post to clarify.
I've changed the title of this post to clarify.
I'm not sure if this is what you are looking for but check out this other post.
http://www.concrete5.org/community/forums/usage/add-link-to-another...
http://www.concrete5.org/community/forums/usage/add-link-to-another...