1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

No-HTML content managment (useful thing)

Discussion in 'Content Management' started by Rezo, Mar 22, 2006.

  1. #1
    Simple, straight forward PHP powered content management. Provides special tags which can be inserted into existing HTML files to delineate areas which can then be edited with the admin script. File contents are displayed in form textareas for easy editing. Line breaks are added automatically). Optionally will take plain URL's and turn them into HTML href links, also mailto links for email addresses. Similar to the perl script EditTag, but with better HTML parsing, and without the less useful features.

    REQUIREMENTS


    The server I developed this on had PHP 4.4.2 and MySQL 5.0.16 but I'm sure it will work with some earlier versions as well.

    INSTALLATION

    1. Edit config.php with the password you want to use for the admin

    2. Open index.php, near the end is an html form with radio buttons, change the values to reflect the relative paths to the html files you want to be able to edit

    3. Upload the VSCMS directory to your server. When I did it the permissions on all files were automatically set to 644 which seems to work just fine. config.php can be set to 400 for more security

    SETUP

    The html files you want to edit need to have special tags added to them, these tags are case sensitive and each one needs to be on it's own line in the code

    These tags are used to delineate areas that will not be visible while editing the page

    <vscmsquiet></vscmsquiet>

    These tags are used to delineate areas that are editable

    <vscmsedit?name=area1$rows=20&cols=80></vscmsedit>

    Each area needs to have a different value for name, rows and cols are used as parameters for the text area where the text can be edited. Remember each one needs to be by itself at the beginning of it's own line in the html file.

    OPERATION

    1. Go to yourdomain.com/VSCMS/login.html
    (or yourdomain.com/VSCMS/index.php?pw=yourpassword

    2. Choose which page you want to edit

    3. Choose whether or not you want VSCMS to process links. If checked then any url you enter that starts with either http:// or www. will be automatically converted to links. Uncheck it if you know how to write html href tags (not very hard!) You also choose whether you want each automatically generated link to open in a new window or the same window.

    4. Press "Go to edit page". Make Changes. Press "Submit Changes". Done!
     

    Attached Files:

    Rezo, Mar 22, 2006 IP