ASP.NET School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a ASP.NET Expert!

Join 300,358 ASP.NET Programmers for FREE! Get instant access to thousands of ASP.NET experts, tutorials, code snippets, and more! There are 1,927 people online right now. Registration is fast and FREE... Join Now!




Website admin page

 

Website admin page, Edit website in admin page

Electricalz

15 Jun, 2009 - 10:52 PM
Post #1

New D.I.C Head
*

Joined: 8 Dec, 2008
Posts: 12



Thanked: 1 times
My Contributions
Am trying to learn ASP/VBS so I can make somewhat of an editor on my domain.
Like if I type http://ulr.net/admin it will bring up some kind of login form and from there I can edit the page content.
My father as a domain like that but he payed a company to make it.

So I wonder if anyone can give me a hint or a link for tutorial or something.
Hope you understand what I mean tongue.gif

Basiclly:
I wana be able to edit my site without going into the source code all the time but just
login to the page or an admin page and then edit the content from there.

Please Respond!

User is offlineProfile CardPM
+Quote Post


arthurakay

RE: Website Admin Page

16 Jun, 2009 - 11:55 AM
Post #2

D.I.C Head
**

Joined: 17 Feb, 2009
Posts: 184



Thanked: 16 times
My Contributions
Sounds like you're looking for a content management system (CMS), which is something very complicated to code. The learning curve you're going to face is really steep (regardless of the language you choose), plus you have to deal with databases - which is just one more complex concept for you to master.

If I were you, I'd scrap the idea of building this yourself... just install something like Joomla, which is an open-source CMS. You don't have to write any code, and you'll be able to change your page content via the internet.
User is offlineProfile CardPM
+Quote Post

CamoDeveloper

RE: Website Admin Page

17 Jun, 2009 - 02:11 PM
Post #3

D.I.C Head
Group Icon

Joined: 12 Jun, 2009
Posts: 204



Thanked: 12 times
Dream Kudos: 200
My Contributions
If you're just starting out I would agree with arthurakay and just use a free CMS. My company built our own that we use for our sites. As you progress in your developing skills you can start to make your own. So then you can make yours do exactly what you want.

You really don't need to have a database for a CMS, you can define users in the web.config file. But if you're a big business, then a database that allows user rights is needed.

Example of authorization through web.config :
CODE

<authentication mode="Forms">
    <forms name=".ASPXAUTHNAMEHERE" loginUrl="loginpagehere" protection="All" timeout="30">
        <credentials passwordFormat="Clear">
            <user name="admin@website.com" password="password" />
        </credentials>
    </forms>
</authentication>

' Use the following code if you're using VB or convert it to any other language if possible

If FormsAuthentication.Authenticate(Me.txtEmail.Text, Me.txtPassword.Text) Then
    ' FormsAuthentication calls the web.config <authentication>
    Me.SetUserSession(True, "1")
    FormsAuthentication.RedirectFromLoginPage(Me.txtEmail.Text, False)
Else
    ' For letting them know the login information was incorrect
    Me.lblLogin.Text = "Login unsuccessful.  Please try again."
End If


~Camo

This post has been edited by CamoDeveloper: 17 Jun, 2009 - 02:12 PM
User is offlineProfile CardPM
+Quote Post

Electricalz

RE: Website Admin Page

20 Jun, 2009 - 09:38 AM
Post #4

New D.I.C Head
*

Joined: 8 Dec, 2008
Posts: 12



Thanked: 1 times
My Contributions
My step dad can build an easy system that i want in VBS it looks like this forums reply interface where you type where you want the text and in a small list you can select the pages, i dont want anything "mega graphic awesome good looking stuff" just simple.

P.S My step dad thinks i should learn this in ASP so he wont help me building in VBS that little bast**d man

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 07:37PM

Live ASP.NET Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

ASP.NET Tutorials

Reference Sheets

ASP.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month