 |

apolgree
New User
Jun 2, 2008, 9:34 AM
Post #1 of 3
(435 views)
Shortcut
|
|
Automatically replacing text
|
Can't Post
|
|
I would like to set it up so that the Summary field in the Article Editor is scanned for certain words/phrases/code and then that text is replaced by other code. What I'm trying to accomplish is that everytime a reference to say "Book Club" appears it will be a link to the Book Club page. But I don't want users to have to type Book Club and then go through the process of linking it up. I'd like them to be able to type clublink or some other unique text and have that be replaced automatically with the code for the link. I accomplish this in other scripts with perl's substitution function such as: [code]$summary =~ s/clublink/<a href=bookclub/index.html>Book Club<\/a>/gi;[/code] I just don't know how to go about it in AM2 or where to put it. Thanks.
|
|
|  |
 | |  |
 |

Jake
Staff
/ Moderator

Jun 2, 2008, 10:09 PM
Post #3 of 3
(398 views)
Shortcut
|
|
Re: [apolgree] Automatically replacing text
[In reply to]
|
Can't Post
|
|
Hi apolgree, There isn't any way for Article Manager to do this itself. As Nigel mentioned, a plug-in used to be available for this which is no longer available. I'd suggest taking a look at http://hotscripts.com to see if there is some kind of third-party script that you could integrate with Article Manager to take care of this for you. Let us know if you have any other questions! ----------------------------------------------------------- Cheers, Jake Swanson - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
|