Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Renaming Org Names

Status
Not open for further replies.

climbingvine

Technical User
Jan 30, 2007
1
US
If an organization's name appears several times throughout many webpages, is there a code or something that can be entered each time the name would appear that will show the organization's name? That way, if the organization's name changes, the change can be made in one location with the changes appearing but changed throughout the site? Something similar to the includes concept.
 
You could use some type of server-side language and insert a variable wherever the name of the organization is going to be displayed. Then all you'd have to do is change the value of the variable in your config script and it would change the variable every where.

Example in pseudocode:

Code:
configscript

*variable* ="This organization's name"

include configscript

This organization is: *variable*  In the organization *variable* things get done by substituting  stuff. *variable* is a worthy organization.




----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
DW has a search and replace function. Ctrl-f
:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top