Hello,
i hope somebody can help me please.
In Photos-Module i use HTML5 Uploader and i want to delete the first entry
"Create new album". For users its not allowed to create new albums
Has anybody an idea or a hint for me please.
Thank you
Thomas
Hello,
i hope somebody can help me please.
In Photos-Module i use HTML5 Uploader and i want to delete the first entry "Create new album". For users its not allowed to create new albums
Has anybody an idea or a hint for me please.
Thank you Thomas |
Do you also need this same functionality for Videos and Sounds? Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz |
Hello Modzzz,
thanks for your reply.
I do not need this for Videos, Sounds, etc. only for photos.
Thank you very much Thomas |
Hello Tomas!
The easiest way to do it - change the following line from the inc/classes/BxDolFilesModule.php file (backup it before changes):
$aAlbums[0] = $sCreateNewAlbumCaption ? $sCreateNewAlbumCaption : _t('_sys_album_create_new');
if ($this->_oConfig->getClassPrefix() != 'BxPhotos')
|
I think LeonidS meant :
if ($this->_oConfig->getClassPrefix() != 'BxPhotos') Since you do not want it for Photos but for Videos etc. Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz |
Thank you for your help, it works now.
Another idea i have is when a couple makes a registration, they have the option to use 2 Profileimages that will be shown in the profile view "as one".
Is it possible to change these function in the way, that instead of 2 pictures, only the upload of 1 picture is allowed?
This would be very helpful for me.
Kind regards Thomas |
Hello Thomas!
Better not to do it because it may corrupt the work of profile fields builder. Why just leave this field as empty for the second from the couple? |