change font size

Admiror Gallery 5.x.x for Joomla 3.x. support forum.
Message
Author
Clairle
Posts: 7
Joined: Wed Jan 22, 2014 1:52 pm

change font size

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

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: change font size

#2 Post 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:

Code: Select all

ALBUMS="[text you want]"
How can I change the links to the previous level?
What exactly do you mean by "change"?
Help Admiror Gallery become even better,
give us a review on JED

Clairle
Posts: 7
Joined: Wed Jan 22, 2014 1:52 pm

Re: change font size

#3 Post 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

Clairle
Posts: 7
Joined: Wed Jan 22, 2014 1:52 pm

Re: change font size

#4 Post 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

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

Re: change font size

#5 Post 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
example.jpg (16.08 KiB) Viewed 20885 times
Help Admiror Gallery become even better,
give us a review on JED

Admiror Gallery 5 - Fundraising Campaign

Clairle
Posts: 7
Joined: Wed Jan 22, 2014 1:52 pm

Re: change font size

#6 Post 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

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

Re: change font size

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

Clairle
Posts: 7
Joined: Wed Jan 22, 2014 1:52 pm

Re: change font size

#8 Post 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
Attachments
bild 1.gif
bild 1.gif (69.06 KiB) Viewed 20876 times
bild 2.gif
bild 2.gif (53.42 KiB) Viewed 20876 times

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

Re: change font size

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

Admiror Gallery 5 - Fundraising Campaign

Clairle
Posts: 7
Joined: Wed Jan 22, 2014 1:52 pm

Re: change font size

#10 Post by Clairle »

Thank you so much, its a great Gallery

Greetings Clair

Post Reply