Solved

Dynamically editing a website via a secure login page.

Posted on 2009-04-14
8
186 Views
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
ED
0
Comment
Question by:EDynamics
  • 4
  • 4
8 Comments
 
LVL 16

Expert Comment

by:glenn_1984
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
0
 

Author Comment

by:EDynamics
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
ED
0
 
LVL 16

Expert Comment

by:glenn_1984
ID: 24141069
Only with a a web page inside a database.
Go to http:www.thebicyclesite.com

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.
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:EDynamics
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?

ED

0
 
LVL 16

Expert Comment

by:glenn_1984
ID: 24148362
Ed,

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.
http://www.hkvstore.com/phpmaker/default.asp


0
 

Author Comment

by:EDynamics
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.

ED
0
 
LVL 16

Accepted Solution

by:
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)
http://easywebcontent.com/editwebsite/?gclid=CPGw45y085kCFQKJxgodDh12TA
https://secure.moreedits.com
http://www.ephox.com/

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

Good Luck
Glenn
0
 

Author Closing Comment

by:EDynamics
ID: 31569899
Thanks.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Read about why website design really matters in today's demanding market.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

821 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