Admiror Joomla! Community
http://www.vasiljevski.com/forum/

albums
http://www.vasiljevski.com/forum/viewtopic.php?f=30&t=1091
Page 1 of 1

Author:  giocartstore [ Tue Nov 12, 2013 3:49 pm ]
Post subject:  albums

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!

Author:  Vasiljevski [ Tue Nov 12, 2013 10:33 pm ]
Post subject:  Re: albums

Just add ALBUMS=[translate]. We forgot to add it in English translation files :)

Author:  giocartstore [ Tue Nov 12, 2013 10:44 pm ]
Post subject:  Re: albums

ma si può eliminare o modificare la parola albums???

Author:  Vasiljevski [ Tue Nov 12, 2013 11:41 pm ]
Post subject:  Re: albums

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']);
}

Author:  giocartstore [ Wed Nov 13, 2013 12:44 am ]
Post subject:  Re: albums

look at the attached file

Attachments:
File comment: I have to edit or delete the word "albums" how do I?
foto sito.jpg
foto sito.jpg [ 411.96 KiB | Viewed 10894 times ]

Author:  Vasiljevski [ Thu Nov 14, 2013 11:09 am ]
Post subject:  Re: albums

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:
// 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

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/