pluck
pluck 4.7 out now, download it today!

pluck support forums

for all your questions about the easiest CMS on the planet

You are not logged in.

Announcement

New registrations are disabled for some spam problems. New registrations will be avaliable soon. If you want to help to keep forum away from spam - contact us.
Please post your bug reports on Launchpad.

#1 15-01-2009 17:11:06

superdad
Member
Registered: 07-11-2007
Posts: 123

Would like to be able to change the name of an established Album.

Right now, I think, the only option is to remove and add images and content to and from an established Album. I would also like to be able to change the name of the Album itself from the admin page. Right now the only thing one can do in trash the existing album and make a new one with a corrected title. Is this easy to accomplish?

Offline

#2 17-01-2009 17:59:00

andyash
Member
Registered: 11-06-2008
Posts: 101

Re: Would like to be able to change the name of an established Album.

superdad wrote:

Right now, I think, the only option is to remove and add images and content to and from an established Album. I would also like to be able to change the name of the Album itself from the admin page. Right now the only thing one can do in trash the existing album and make a new one with a corrected title. Is this easy to accomplish?

Have you tried just changing the name of the album folder manually through ftp? I don't know how it works in 4.6.1, but previously I would just change the name of the album folder and in the Pluck admin reattach it to the page where I wanted it.

Offline

#3 18-01-2009 19:06:37

superdad
Member
Registered: 07-11-2007
Posts: 123

Re: Would like to be able to change the name of an established Album.

Well, yes it might be accomplished that way but if one is using this without the benefit of ftp or you have someone not experienced with ftp then they then have a real problem if their album is quite large and they need to change the name of the album for some reason.

Offline

#4 18-01-2009 21:20:45

Sander
project webmaster
From: The Netherlands
Registered: 14-06-2007
Posts: 942
Website

Re: Would like to be able to change the name of an established Album.

andyash wrote:
superdad wrote:

Right now, I think, the only option is to remove and add images and content to and from an established Album. I would also like to be able to change the name of the Album itself from the admin page. Right now the only thing one can do in trash the existing album and make a new one with a corrected title. Is this easy to accomplish?

Have you tried just changing the name of the album folder manually through ftp? I don't know how it works in 4.6.1, but previously I would just change the name of the album folder and in the Pluck admin reattach it to the page where I wanted it.

That should work in 4.6.x too. It doesn't matter how many pictures an album contains, you just need to rename one directory. In 4.6.x, you can find the albums in data/settings/modules/albums.

It is indeed a nice option to implement for 4.7. I will note it down and take a look at it when I have time.

Offline

#5 06-05-2011 09:34:00

ferarg
Member
From: Valencia, Spain
Registered: 21-08-2008
Posts: 21
Website

Re: Would like to be able to change the name of an established Album.

Hi, we have a customer that need to rename the Albums, and Pluck CMS don't have this opction.

Learning and reading the pluck code, we write some file and change others, and now the albums can be renamed

We add files to the "data/modules/albums/functions.php"

[== html ==]
<td>
<form action=\"data/modules/albums3/pages_admin/renamealbum.php\" method=\"post\"><span class=\"kop4\">New Album Name</span><br>
	<input name=\"album_rename2\" type=\"text\" value=\"\">
	<input type=\"hidden\" name=\"album_rename1\" value=$directorio[$i]/>
	<input type=\"submit\" name=\"Submit\">
</form>
</td>

We write a new file "data/modules/albums/pages_admin/renamealbum.php", that change the name of the album's directory


You can download this new re writed module from here:

http://www.box.net/shared/qdmikx2xhm

Offline

#6 07-08-2011 17:24:41

mikesutherland2
Member
Registered: 07-08-2011
Posts: 1

Re: Would like to be able to change the name of an established Album.

ferarg wrote:

Hi, we have a customer that need to rename the Albums, and Pluck CMS don't have this opction.

Learning and reading the pluck code, we write some file and change others, and now the albums can be renamed

We add files to the "data/modules/albums/functions.php"

[== html ==]
<td>
<form action=\"data/modules/albums3/pages_admin/renamealbum.php\" method=\"post\"><span class=\"kop4\">New Album Name</span><br>
	<input name=\"album_rename2\" type=\"text\" value=\"\">
	<input type=\"hidden\" name=\"album_rename1\" value=$directorio[$i]/>
	<input type=\"submit\" name=\"Submit\">
</form>
</td>

We write a new file "data/modules/albums/pages_admin/renamealbum.php", that change the name of the album's directory


You can download this new re writed module from here:

http://www.box.net/shared/qdmikx2xhm

Hello I tried this and am still having trouble. I'm gonna give it another shot from scratch to see if I just missed a step but i don't think I did. But thank you for the reply to this post. I've been looking for an answer for this besides changing the filename throught FTP. Thanks again!

Offline

#7 09-08-2011 15:49:41

ferarg
Member
From: Valencia, Spain
Registered: 21-08-2008
Posts: 21
Website

Re: Would like to be able to change the name of an established Album.

Hi mikesutherland2, you can download the code, in this address, we post the code in GitHUB to be public and easy to contribute

GitHUB Repository

Offline

Board footer

Powered by FluxBB