PHP Content Managment

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
fangonk
Forum Newbie
Posts: 21
Joined: Thu May 14, 2009 6:43 am

PHP Content Managment

Post by fangonk »

I have a Flash site that has a series of dynamic image galleries and now I would like to create a very simple php cms. Each gallery has an XML file that lists all of the images. In addition, I have created a master XML file that lists all of the galleries. This master file controls what is displayed in a gallery drop down menu. So in order to create a new gallery two things need to happen - a new xml file containing all of the filenames of the photos in the gallery and a new entry needs to be added to the master xml file that links to the new gallery.

I have figured out how to create an upload system that records all uploaded filenames to an external xml file. Now I am trying to design a system that separates uploaded images by galleries and allows users to create new galleries.

This seems like such a complicated system, Im not really sure how to get started. Does anyone have any ideas how this could be best organized?
User avatar
it2051229
Forum Contributor
Posts: 312
Joined: Tue Dec 25, 2007 8:34 pm

Re: PHP Content Managment

Post by it2051229 »

Am not sure if am making sense or not because the word "image" and "gallery" to me is the same but the way you said it is like a "gallery" is like a category of images.

About your uploading system, I think you have to add an additional option. Like on the interface, provide the user a way that the user browses first the image to be uploaded PLUS a combo box. What's with the combo box?, try placing there the possible "gallery" option of the image where the user can select. After that the user clicks on the UPLOAD then on the other end you first identify the "GALLERY" attribute which was chosen by the user and place the "IMAGE" file on a separate directory or the appropriate directory depending on the "GALLERY".
Post Reply