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 06-05-2011 09:33:03

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

New Album module with Album Rename

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

#2 09-08-2011 15:54:23

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

Re: New Album module with Album Rename

Hi, you can see the code and contribute here:

https://github.com/serinformaticos/Pluck-Album-Module

Offline

Board footer

Powered by FluxBB