Dynamically editing a website via a secure login page.

Posted on 2009-04-14
Last Modified: 2013-11-19
Currently the websites I develop, I update myself, and once updated I upload the changes via an FTP program (Pretty much how the majority of people do it).  However, I'd like to integrate into some of the sites I design, the ability for my customers to update/edit the pages themself by having a login username and password. Thus allowing them to dynamically update the content without requesting the update to myself.  I believe this will in the long run save myself and them much time.
I understand a database will be needed to achieve this.  

I host all my websites on a reseller account using the LINUX platform and NOT Windows so any scripting should be PHP I assume.

My websites are built to strict W3C standards and are wrapped in DIV tags and NOT tables.  The Banner and menu options do not need editing, only the content of the actual <BODY> - </BODY>

If anyone can help me with this, I'd really appreciate it.

Many thanks
Question by:EDynamics
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
LVL 16

Expert Comment

ID: 24138748
There are several ways to do this.
For HTML pages you can do this through MS Word or a basic wysiwyg editor like PageBreeze

If you want to get to a different level of control, put content into a database like MySQL and have access control through php

Author Comment

ID: 24139701
Thanks for your reply.

I would like, and do not have the knowledge to know how, to have a page, which has a link at the bottom called 'EDIT'.  This then provides them to login using a username and password and giving them complete control in editing any pages within the website dynamically.  

Is it possible you could give examples or help me with this?

Many thanks
LVL 16

Expert Comment

ID: 24141069
Only with a a web page inside a database.
Go to

Look at any of the databases (i.e. help and tips).

I can log in and edit any of the records.  

With a database with ONE record and ONE field...with or without borders, you could have log in and option to edit.

In terms of writing something like this (mine is a MY SQL database and php),  it is not just some quick notes.  By all means, you can view the code under the page, but there are many ways to write this.
I still maintain the easier way is with software like Page Breeze.
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now


Author Comment

ID: 24145572
Hi Glen,

Have you heard of TinyMCE or FreeTextBox?  I'm looking to have something like these within my pages which link to a database.  FreeTextBox is not going to work for me because it's built on ASP, but, TinyMCE is built using PHP.  

Can you talk me through the steps in attaching something like the above (TinyMCE) and a database to a normal html page using PHP??  I'd also need a link that takes the user to a login screen, where they can type in a username and password which would give them full access to the editor where they can change the content and layout, which gets saved to the database.

Can you help with this?


LVL 16

Expert Comment

ID: 24148362

I am familiar with TinyMCE.  It is fine.

You might want to use PHPMaker trial (30 days), as it will do it all for you.
That is what I used for the bicyclesite link above.


Author Comment

ID: 24149465
I don't think this is what I'm looking for, as I don't need to scroll through records within a database.  But, thanks for your recomendation.  

Lets say I have 10 web pages.  Currently, I update them using dreamweaver upon request from a customer.  What I would like is for the actual content of each page, which includes it formatting, bullet points, tables etc, all to be editable via a login page on the website.  The information which regularly gets updated is things like, news, services, events, change of times etc all which currently reside in the main BODY div wrapper.  I'm assuming this content will need to be somehow linked into a database in order to update it dynamically.

This will then empower the customer to update their own website and take the burden away from me.

LVL 16

Accepted Solution

glenn_1984 earned 500 total points
ID: 24150461
With above...create ONE Database, with ONE Table with ONE Record.
Kill the table border on the export and you have an editable web page.
Like I said earlier, the only way I know how to do this is via an html (wysiwyg or not) editor.
You can certainly have logins to html pages, but that is not the same as editing.
You could also look at other software (not free)

If none of my help is of value, just kill the question and get your points back.

Good Luck

Author Closing Comment

ID: 31569899

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question