2pagesCSM
In abour 30Kb a complete working CMS for setting up your site.
File of 2pagesCSM
basic.css
Default.aspx
Default.aspx.vb
hFooter.ascx
hFooter.ascx.vb
sitepageEdit.aspx
sitepageEdit.aspx.vb
plus the /image folder
Configuration
This project is setup with VWD2008 and Access97.
Follow the steps:
- 1
Download 2pagesCMS.zip and put content in one folder
- 2
Move the sitepage.mdb file to its location folder and write the folder name in the asp:AccessDataSource declarations in pages.
Default location is DataFile="~\mdb-database\sitepage.mdb"
- 3
You have to customize a few things in code of Default.aspx.
a) Default page is configured with three menu tabs, two active and one hidden.
b) The SelectCommand property of the corresponding asp:AccessDataSource object can be manipulated to show a different list of your pages.
c) The Title label should reflect the name of your site. Defaults to "lr00.net". Please change.
d) a second line of text defaults to empty.
e) edit the footer file hFooter.ascx and put your data in it
These are the minimal configuration to have it work. Once you have it worked locally, transfer on your web server.
As you have the full code of 2pagesCMS, you may modify at your wish and clone to other languages and/or other db. I know that Access is slow. I see. But, you know, ...
- 4
Now let's see sitepageEdit.aspx. This page let you configure the menu of the cms.
An evident security problem is involved. I simply move to another "hidden" location. Not so much security anyway.
Other solutions may be set a cookie and recognize it. Or integrate the page in an existing security access check.
Choose and apply your security method.
At www.lr00.net you may find 2pagesCMS in action as main site menu.
Please, let your site have a link "powered by 2pagesCMS" for credit.
Post feedback at http://paginablu.wordpress.com/2pages-cms/
Enjoy.