Page 1 of 1
albums
Posted: Tue Nov 12, 2013 3:49 pm
by giocartstore
Salve, ma quando si sceglie di pubblicare un album foto con admiror è possibile eliminare la scritta "Albums"??? perchè non mi piace!
Hi, but when you choose to publish a photo album with admiror you can delete the word "Albums"?? because I do not like!
Re: albums
Posted: Tue Nov 12, 2013 10:33 pm
by Vasiljevski
Just add ALBUMS=[translate]. We forgot to add it in English translation files

Re: albums
Posted: Tue Nov 12, 2013 10:44 pm
by giocartstore
ma si può eliminare o modificare la parola albums???
Re: albums
Posted: Tue Nov 12, 2013 11:41 pm
by Vasiljevski
In English, please.
Yes you can change Albums by adding a different translation to language file.
To remove it, if you use classic template, just delete the red part from index.php
// Support for Albums
if (!empty($AG->folders) && $AG->params['albumUse']) {
$html.= '<h1>' . JText::_('Albums') . '</h1>' . "\n";
$html.= $AG->writeFolderThumb("albums/album.png", $AG->params['thumbHeight']);
}
Re: albums
Posted: Wed Nov 13, 2013 12:44 am
by giocartstore
look at the attached file
Re: albums
Posted: Thu Nov 14, 2013 11:09 am
by Vasiljevski
Yes, I understand what you want to do.
To do you have two options:
1:
Modify the template file - go to /plugins/content/admirorgallery/admirorgallery/templates, there you will find a folder for every template. Depending on which you use (from image you posted, I see that you use classic) there will be index.php file, open it and scroll down to find :
Code: Select all
// Support for Albums
if (!empty($AG->folders) && $AG->params['albumUse']) {
$html.= '<h1>' . JText::_('Albums') . '</h1>' . "\n";
$html.= $AG->writeFolderThumb("albums/album.png", $AG->params['thumbHeight']);
}
Just remove "$html.= '<h1>' . JText::_('Albums') . '</h1>' . "\n";" and save. The "Albums" will be gone.
2:
Add label translation to the language file (better way) - Add "ALBUMS=[what you want, or leave blank]" at the end of this file:
\administrator\language\en-GB\en-GB.plg_content_admirorgallery.ini