Latest Topics

1 Mar 27, 2008 22:49    

First, I *LOVE* the platform. It is AMAZING.

Now for the background to the question... I am setting a network of city specific blogs for example:

Albany.REDealsHQ.com
Denver.REDealsHQ.com
Chicago.REDealsHQ.com

I am going to modify something to be able to replace the word CityName in the Post Title and Post Body with the "Short Name" of the blog itself because I will be naming the blogs by city.

My goal is to be able to write a single post like:

****

Welcome to CityName

If you are from CityName and want info on CityName deals, then let me know.

****

And have it change CityName to "Albany", "Denver" or "Chicago" depending on which blog it is showing.

I know how to do the search and replace using eregi_replace, but I have two questions:

1. Is there ONE good spot to do the search and replace in PHP for this change, or will it require changes in a couple of files?
2. Is the "Short Name" variable accessible on that page and what is the exact variable name?

Thanks in advance.

James

Comments are closed on this archived website.