I'm looking for a way to capture a link definition once, and then use it in multiple places on my site without having to type the full link text each time.
Is there a module that does this?
There are two modules that come close to providing what I need: Alinks and String Overrides.
Alinks is too simplistic, and String Overrides doesn't work on page content (at least, I cannot get it to work).
The basic need is to be able to type a definition string into a page or block, something like this "You can request a phone call by clicking $phone_call:, where "$phone_call is defined somewhere as: "<a class="xxx" title="some text" onClick.askghdkg href="link_to_page">here</a>.
This would allow me to change the definition in one place and have it appear correctly on every page (for example, if I change the "link_to_page"'s name, then updating the definition will ensure that the correct link is always on each page.
OP
Edited by: VM; Moved to appropriate forum
Comments
=-=
Pleae read Module development forum guidelines before placing another post there.
Thanks.