You are here: Re: newbie: include navigation file without ssi? « HTML « IT news, forums, messages
Re: newbie: include navigation file without ssi?

Posted by Harlan Messinger on 08/08/06 14:57

junkyard@jaggerdog.com wrote:
> Hello,
>
> I am new to html programming and have a question I hope someone can
> help me with. I am working on a project to organize a lot of technical
> information as a series of webpages. This information will ultimately
> be distributed to users on a cd, and we don't want the users to have to
> install anything, just bring up a browser and go to town.
>
> My problem is that I have read about (and created) a navigation/menu
> system using html and css. I would like the nav menu to appear at the
> top of each page, yet have the source code appear in only one file, for
> ease of maintenece. I read about using server side includes to
> accomplish this, but will that work given that I need to ultimately
> distribute this package on a cd without knowing what the user will have
> installed on their machine (besides a browser)? if it is possible, how
> would I go about setting it up?
>
> If it's not possible, is there some other way to accomplish this?
>
> thanks for your help!
> mn
>

One approach is global search and replace. For example, put the
following lines in each file:

---Begin Template 1 Here---
---End Template 1 Here---

and then use a tool like ReplacEm from http://www.orbit.org/replace/
that will let you insert code of your choice between two predefined
lines like the ones above, and later will let you replace whatever code
might have been between those lines previously with a new version. You
can run ReplacEm over a whole hierarchy of nested directories. It
provides several ways to save the previous versions in case you need to
revert.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация