How do I rename a CPG folder? How do I rename a CPG folder?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

How do I rename a CPG folder?

Started by skuba, December 02, 2004, 06:27:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

skuba

After I have installed CPG and have albums in it, how hard is it if I want to change the name of that CPG folder?
Let's say all files were under /gallery/ , but now I want it all under /photos/ . All I need to do is change the config?
But if I rename the folder, then config won't work, because it won't find files. Know what I mean?

Thanks a lot for helping.

Tranz

You would need to FTP into your web account and rename the folder. And update the config field that points to your gallery URL. So it's not that hard.

Tod

Quote from: TranzNDance on December 02, 2004, 06:49:39 PM
You would need to FTP into your web account and rename the folder. And update the config field that points to your gallery URL. So it's not that hard.

I'm stuck.  I know how to FTP to my remote host and change the name there but it's the second part that I'm stuck with.  If I go into Admin and select the Config tab, the only field with a URL is "Target address for the 'See more pictures' link in e-cards"  Is this where you mean?  I hope so as I've tried the config.php file on my host (no permission error) and the install.php file on my host (locked).  Any further detail would be gretly appreciated.

Thanks in advance,

-Tod

kegobeer

Rename gallery to photos, then change the Target address.... to reflect the change.  If your previous target was yourhost.com/gallery/ you would change it to yourhost.com/photos/
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Tod

Thank you sir for clarifying for me.  All is well now and I'm on my way.  BTW how do I make a public "thank you" note for all the moderators/wizards to see?  I've gotten a tremendous amount of assistance here and I want everyone to hear about it!

-Tod

Joachim Müller

if you want to help the project, rate for it on the various sites that discuss it (see the links at the bottom left of the coppermine home page). If you're ready to spend some extra time (only a few minutes), we'd appreciate if you even registered with hotscripts.com and wrote a member review on coppermine - especially since the first review there was written by a troll (aaron737) who just didn't understand the software and therefor posted incorrect/irrelevant things there.

Joachim

P.S. I don't think you need to "Sir" anyone here ;)

Casper

Side note,

we realise that the name 'target address for see more pictures....' has cuased confusion, and for it to seem less important than it actually is, so it is changed in the next version, to simply 'URL of your coppermine gallery folder'
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here