Need some work done? Post a Project Today
Ok, here is a crude example of the concept that I am wanting. This is not what I am looking for, but gives a proof of concept as far as draggable HTML objects go. I want a simple user content management interface that
users can edit templates I design that are saved and accesable via subdomain.domain.com
::Description of above project here
::Some example functions that I would like to be able to access can be found here
::Commands and examples of above library:
http://script.aculo.us/ (based on prototype below)
http://tinymce.moxiecode.com/ (HTML text editor)
This User Interface/Content Management System will be integrated into an existing application (User authentication, existing MySQL table structure etc.
Once interface is finished, I will need to know what tables need to be created as to modify existing database.) Code will need to be documented well.
Interface will need to be portable between servers (config file to change global variables).
Admin management functions such as delete/add/modiy user, template upload (stored in MySQL database), HTML object creation, subdomain add/delete/modify will need to be supported.
There needs to be an archive kept of changes made to the user webpages (5 versions) so that a user can revert to previous version or their webpage.
Multiple pages within a users site need to be supported.
A function that detects broken links or orphaned pages needs to be available to the user.
User modified templates will need to adhere to a bad word list upon save of webpage editable in admin interface to control objectionable content.
I basically want users of a webpage to be able to request a website at a subdomain (check availability first) under my domain. They will then be able to log in and edit predefined HTML templates that I design with
predefined html objects of code that I design (would be in the MySQL database). Some will be as simple as a empty div that they can input formated text such as using a limited version of TinyMCE. The user interface will support dragging these html objects, user uploaded images,
contact forms etc around the HTML template and snap into place at predefined locations variable per template, or in the absence of a snappable location, the image, form etc would reside wherever HTML/CSS rules dictated per the attached stylesheet. The user might choose to edit
a template already containing example text or images, or may choose to start with a blank page and drag/drop HTML objects and create their own page from predefined HTML objects such as a left aligned div, or image that they then center within a div. The user can then save this page and the updated webpage will be then accessible at subdomain.domain.com
I am open to suggestions on the best way to go about all this. The subdomains could either be handled by a page that reads/writes to a file or MySQL table. A file would probably be more scalable as site traffic increases, but the file may get quite large, so a database might be less
prone to corruption, suggestions?
As far as snappable locations for HTML objects such as a contact form or div containing text, If these could be controlled by the CSS that would be great. The user could drop an uploaded image into a text div and the css
would place the image. Or the user could drag a left aligned div with CSS controlled height and width onto their page and the CSS would place the div on the left side of the page.