Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Article Manager 2:
Automatically replacing text

 

 


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.


nigelparry.net
User

Jun 2, 2008, 3:39 PM

Post #2 of 3 (416 views)
Shortcut
Re: [apolgree] Automatically replacing text [In reply to] Can't Post

There used to be a plugin called Text2Link from amscripts.net but they're not there any more it seems.

http://interactivetools.com/iforum/Older_Forums_&_Discontinued_Products_C5/Article_Manager_1_Add-ons_F15/AMSCRIPTS.com_MIA_P44328/
_____________________

For more information about Nigel Parry and nigelparry.net
websites please see http://nigelparry.net

nigelparry.net: award-winning communications
solutions for clients with something to say


  • Website & print design

  • Internet, public relations & media consulting


  • 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.


     
     
     


    Search for (options)
    Products
    CMS Builder
    Article Manager
    Realty Manager
    Listings Manager
    Order Now
    Services
    Priority Consulting
    Support
    Online Documentation
    Support Forums
    Support Homepage
    Company Info
    12 reasons to choose us!
    Meet the team
    Monthly newsletter
    Contact Us
    Toll Free: 1-800-752-0455
    Phone: (604) 689-3347
    Sales | Support
    Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
    #201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4