|
Posted by thomas_okken on 12/08/05 01:54
I was recently approached by a friend who maintains a small web site --
about 30 pages, static content only. He was bothered by the fact that
he had to spend a lot of time making comparatively simple changes; the
problem was that every single page contains a header, footer, and menu,
and whenever changes to any of those elements had to be made, they had
to be applied to every single page.
I investigated and I discovered that the ISP that hosts this web site
runs Apache with PHP. So, I separated all the common elements into
separate files, and put PHP 'include' tags wherever needed to include
them.
So far, so good, but unfortunately my friend is not an HTML expert and
manipulating all the nested <table> tags that are needed to accomplish
the pages' layout is a bit beyond him; so far, he has done most of his
HTML editing using FrontPage -- and with my new version of those pages,
he can't use FrontPage any more, since all the missing <table> and <tr>
elements are causing the table layout to come out wrong in the editor.
So now I'm wondering, are there any PHP-aware WYSIWYG HTML editors out
there?
I realize that it is impossible to do this in general, since the
content of an active page is by definition not something you can edit
interactively, but even something as basic as recognizing PHP 'include'
tags and substituting them in place would be a lifesaver for us.
Any insights would be greatly appreciated!
Thanks,
- Thomas
Navigation:
[Reply to this message]
|