albums

Admiror Gallery is free extension for Joomla! based websites. Admiror Gallery is all in one, a simple and instant solution for rendering image gallery from folder with images, but very flexible and adaptable.
Post Reply
Message
Author
giocartstore
Posts: 3
Joined: Tue Nov 12, 2013 3:33 pm

albums

#1 Post 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!

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: albums

#2 Post by Vasiljevski »

Just add ALBUMS=[translate]. We forgot to add it in English translation files :)
Help Admiror Gallery become even better,
give us a review on JED

giocartstore
Posts: 3
Joined: Tue Nov 12, 2013 3:33 pm

Re: albums

#3 Post by giocartstore »

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

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: albums

#4 Post 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']);
}
Help Admiror Gallery become even better,
give us a review on JED

giocartstore
Posts: 3
Joined: Tue Nov 12, 2013 3:33 pm

Re: albums

#5 Post by giocartstore »

look at the attached file
Attachments
I have to edit or delete the word &quot;albums&quot; how do I?
I have to edit or delete the word "albums" how do I?
foto sito.jpg (411.96 KiB) Viewed 35228 times

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: albums

#6 Post 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
Help Admiror Gallery become even better,
give us a review on JED

Post Reply