View Full Version : Web Content Management System

07-27-2006, 09:33 PM

I have developed a site for a client and with the use of a mySQL db, they can upload certain data for display to users in tabular format. this is fine and works well. Next I want to be able to write an admin. screen which will allow the admin to upload an image to a certain space on a page. Is this possible to do in DW8 or do I need to handcode the php myself?


Creative Insanity
07-28-2006, 10:20 AM
Nup that can be done with DW no worries at all.

Just make a recordset and in the admin panel create a form with an action to an upload file. There is info on how to do that in the docs. Echo the image field onto the page the image is going to be displayed in the location you want it to display and add a condition if empty show a blank table or layer, whatever you use, (me I like tables) and once the image is uploaded the blank table will be replaced with the image cause the field will no longer be empty.