[Tutor] seaxtradusa site

Kirk Bailey deliberatus at verizon.net
Mon Jul 21 15:38:29 CEST 2008


ok, here is the link;
http://www.seaxtradusa.org/
In the footer of all webppages (not in the wiki or in the 
forum), is a link so i can edit pages on the site without 
bothering to use a shell account or upload pages or 
anything. I just wrote this, and it is password protected.
This is a handy little feature and it is kinda useful.

The link uses a server side include in a universal footer, 
and yes, this WILL point the script to the right page:

<a href="/cgi-bin/EditMyPage.py?
<!--#echo var="DOCUMENT_NAME" -->">Edit This Page</a>

NOTE the page name is inserted into the structure with a 
simple SSI echo command.

Place this link in the universal footer of your site, it 
will work. All pages so edit must be in the root directory 
for THIS edition, but who knows what the future holds.

-- 


Cheers!
           -Kirk D Bailey

               THINK
              +-----+
   .*.        | BOX |
   ..*        +-----+
   ***         THINK


More information about the Tutor mailing list