forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: hdavid on February 15, 2006, 05:34:32 pm

Title: XP Publish uploading into the wrong folder !!
Post by: hdavid on February 15, 2006, 05:34:32 pm
Hi,

I'm having some trouble with uploading file with the WIzard XP Publisher.
I'm able to create a new album,resize file and upload the files. But all file are then uploaded in a folder called "wpw-'today date'" instead of the folder name album created with the xp wizard.

Is that normal and how can I change that to upload file the the folder album name ?

Thank you in advance for any reply.
David
Title: Re: XP Publish uploading into the wrong folder !!
Post by: Nibbler on February 15, 2006, 05:57:12 pm
That's normal. You are welcome to change the code to name the folder whatever you wish.
Title: Re: XP Publish uploading into the wrong folder !!
Post by: hdavid on February 15, 2006, 10:28:39 pm
thanks for the info.
unfortunately i'm not the coding guy.
Can anyone the change I should made in the xppublish.php to have the album freshly created instead of the wpw'date" ?

thank you in avdvance.
Title: Re: XP Publish uploading into the wrong folder !!
Post by: Joachim Müller on February 16, 2006, 09:34:30 am
The coppermine database keeps track of folder names, the human doesn't have to. If you like a neat folder structure that matches the album names, use FTP-upload plus batch-add. One reason why the folder names aren't made to match the album name is that an album might contain names that mustn't be used as folder names.
If you can't code it yourself and you must have it changed, then you'll have to hire someone to code it for you. Folder names don't matter at all imo.