Tuesday, October 20, 2009

Content Component

The main content creation needs enhancing.
What i need is for a user to create an article, entering all the usual fields (description, title etc) as well being able to select an image.

Upon submission, the JOS_CONTENT item is created and the image is uploaded and saved to the users directory.

Why a new component? At the moment when you add an image its put into a general pool; not segregated by user, which i want to be able to do.

Components like JoomGallery use new tables which i don't want also i need to post-process adding watermark and creating resized versions.

So, to do this i'll need to create component to add/update content entry and processing to do the above.

Update
What i've done first is to create a new plugin that, on the event onAfterStoreUser uses the user's username and creates a new folder under the Media Managers Image Path.

All images will then be held under this folder.

No comments: