PDA

View Full Version : Question about linking


kearnsy
03-05-2010, 03:08 AM
I'm not sure if this is possible or not, but I hope so :confused:

what I'm trying to do is think is it possible to add a link to multiple text phrases at the same time, like some sort of command.

for example, say i have about 100 different pages all with different text information on, but every time the word "Rolling Stone Magazine" appears on each page, is there a command that will let me link to www.rollingstonemag.com without me having to manually add the http address everytime in the link menu in the properties bar?

If you can, it'll be a massive time saver for me, if you can't, then i'm in for a long couple of days:roll:

cheers guys.

DWcourse
03-05-2010, 04:58 AM
You could do a find and replace across the entire site. Find "Rolling Stone Magazine" in the code and replace with <a href="http://www.rollingstonemag.com">Rolling Stone Magazine</a>.

I always back up a site before I do a site wide find and replace just in case.

Also, I'm sure you could do this dynamically with a php script in the pages but maybe someone else can point you to a resource for that.

kearnsy
03-05-2010, 05:47 AM
Thanks DW, i was thinking it might be possible to do, i just wasn't sure how it could be done

that looks like it'll work.