Page 1 of 2
change font size
Posted: Tue Feb 11, 2014 3:04 pm
by Clairle
How can I change the heading "album"?
How can I change the links to the previous level?
How can I change the album title below the image?
Template classic with slimbox
The font is too small
see here
http://ancestry24.new.media-on-line.de/ ... en&AG_MK=0
Re: change font size
Posted: Tue Feb 11, 2014 4:16 pm
by Vasiljevski
How can I change the album title below the image?
Open
plugins/content/admirorgallery/admirorgallery/templates/classic/albums/albums.css and change:
Code: Select all
span.AG_album_thumb_label {
display: block;
font-size: 10px;
line-height: 16px;
text-align: center;
text-decoration: none;
}
and set the font size you need or you could just remove font-size, that way and the body font size (in your case 14px) will be applied.
How can I change the heading "album"?
One way is to open
plugins/content/admirorgallery/admirorgallery/templates/classic/index.php and locate:
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']);
}
Change :
Code: Select all
$html.= '<h1>' . JText::_('Albums') . '</h1>' . "\n";
to, for example
Code: Select all
$html.= '<h1>' . JText::_('My new albums') . '</h1>' . "\n";
Or you can add ALBUMS in language file, open
administrator\language\en-GB\en-GB.plg_content_admirorgallery.ini and add at the end of the file:
How can I change the links to the previous level?
What exactly do you mean by "change"?
Re: change font size
Posted: Wed Feb 12, 2014 1:20 pm
by Clairle
Thank you. I was not looking for the css under plugin. Now I have found everything.
Quote:
How can I change the links to the previous level?
What exactly do you mean by "change"?
I meant the font size, have now also been found.
Clair
Re: change font size
Posted: Wed Feb 12, 2014 1:41 pm
by Clairle
If the album is called for example "flowers", then should be in the open album under the link back to the higher level the name "Flower" of the album are available. How can I do that?
I can read the codes, but to put it to program itself fail me knowledge.
Thanks very much
Clair
Re: change font size
Posted: Thu Feb 13, 2014 4:20 pm
by Vasiljevski
Do you mean, you want to leave the link back (red circle) and just add under it the name of the current gallery?

- example.jpg (16.08 KiB) Viewed 20919 times
Re: change font size
Posted: Thu Feb 13, 2014 5:48 pm
by Clairle
I want under the link back (red circle) the name of the current gallery. The link back should stay.
Sorry, I'm from Germany and spaek only al little bit englisch
Thanks Clair
Re: change font size
Posted: Thu Feb 13, 2014 6:15 pm
by Vasiljevski
Hmm, you might try something like this, open classic template index.php file and locate this part of code:
Code: Select all
$html.=$AG->albumParentLink;
$html.='
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td>';
And replace it with this:
Code: Select all
$html.=$AG->albumParentLink;
$html.= '<h1>'.ucfirst(basename(dirname($AG->imagesFolderName))).'</h1>';
$html.='
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td>';
This line is the key: $html.= '<h1>'.ucfirst(basename(dirname($AG->imagesFolderName))).'</h1>';
I used H1 to add a title, but you can edit to suite your needs.
Hope this helps
Re: change font size
Posted: Fri Feb 14, 2014 9:34 am
by Clairle
Hi,
Thanks, that's good, but not quite what I want.
imagesFolderName - ist not right, is a folder level too high
Folder are this:
First - Lebensorte
Second - Lebensort der Familie Schweiker
Third - Gabrielahuetten
See here, so it should be. I Hope you unterstand me. I can not find the parameters for the Gallery name (Gabrielahuetten)
the new Link to my gallery
http://ancestry24.new.media-on-line.de/ ... er&AG_MK=0
many thanks
Clair
Re: change font size
Posted: Fri Feb 14, 2014 10:36 am
by Vasiljevski
In that case, you should just change:
Code: Select all
$html.= '<h1>'.ucfirst(basename(dirname($AG->imagesFolderName))).'</h1>';
to
Code: Select all
$html.= '<h1>'.ucfirst(basename($AG->imagesFolderName)).'</h1>';
Re: change font size
Posted: Fri Feb 14, 2014 12:20 pm
by Clairle
Thank you so much, its a great Gallery
Greetings Clair