It is currently Sat Dec 16, 2017 7:15 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: change font size
PostPosted: Tue Feb 11, 2014 3:04 pm 
Offline

Joined: Wed Jan 22, 2014 1:52 pm
Posts: 7
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/index.php/lebensorte-frueher-und-heute?AG_MK=0&AG_form_paginInitPages_0=1&AG_form_albumInitFolders_0=Lebensorte/Nordboehmen&AG_MK=0


Top
 Profile  
 
 Post subject: change font size
PostPosted: Tue Feb 11, 2014 3:04 pm 
Top  
 Post subject: Re: change font size
PostPosted: Tue Feb 11, 2014 4:16 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
Quote:
How can I change the album title below the image?

Open plugins/content/admirorgallery/admirorgallery/templates/classic/albums/albums.css and change:
Code:
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.

Quote:
How can I change the heading "album"?

One way is to open plugins/content/admirorgallery/admirorgallery/templates/classic/index.php and locate:
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']);
}

Change :
Code:
 $html.= '<h1>' . JText::_('Albums') . '</h1>' . "\n";

to, for example
Code:
 $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:
ALBUMS="[text you want]"


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


Top
 Profile  
 
 Post subject: Re: change font size
PostPosted: Wed Feb 12, 2014 1:20 pm 
Offline

Joined: Wed Jan 22, 2014 1:52 pm
Posts: 7
Thank you. I was not looking for the css under plugin. Now I have found everything.

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


Top
 Profile  
 
 Post subject: Re: change font size
PostPosted: Wed Feb 12, 2014 1:41 pm 
Offline

Joined: Wed Jan 22, 2014 1:52 pm
Posts: 7
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


Top
 Profile  
 
 Post subject: Re: change font size
PostPosted: Thu Feb 13, 2014 4:20 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
Do you mean, you want to leave the link back (red circle) and just add under it the name of the current gallery?
Attachment:
example.jpg
example.jpg [ 16.08 KiB | Viewed 7677 times ]

_________________
Help Admiror Gallery become even better,
give us a review on JED


Top
 Profile  
 
 Post subject: Re: change font size
PostPosted: Thu Feb 13, 2014 4:20 pm 
Top  
 Post subject: Re: change font size
PostPosted: Thu Feb 13, 2014 5:48 pm 
Offline

Joined: Wed Jan 22, 2014 1:52 pm
Posts: 7
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


Top
 Profile  
 
 Post subject: Re: change font size
PostPosted: Thu Feb 13, 2014 6:15 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
Hmm, you might try something like this, open classic template index.php file and locate this part of code:
Code:
$html.=$AG->albumParentLink;

$html.='
  <table cellspacing="0" cellpadding="0" border="0">
    <tbody>
      <tr>
   <td>';


And replace it with this:
Code:
$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


Top
 Profile  
 
 Post subject: Re: change font size
PostPosted: Fri Feb 14, 2014 9:34 am 
Offline

Joined: Wed Jan 22, 2014 1:52 pm
Posts: 7
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 7668 times ]
bild 2.gif
bild 2.gif [ 53.42 KiB | Viewed 7668 times ]
Top
 Profile  
 
 Post subject: Re: change font size
PostPosted: Fri Feb 14, 2014 10:36 am 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
In that case, you should just change:
Code:
$html.= '<h1>'.ucfirst(basename(dirname($AG->imagesFolderName))).'</h1>';

to
Code:
$html.= '<h1>'.ucfirst(basename($AG->imagesFolderName)).'</h1>';

_________________
Help Admiror Gallery become even better,
give us a review on JED


Top
 Profile  
 
 Post subject: Re: change font size
PostPosted: Fri Feb 14, 2014 10:36 am 
Top  
 Post subject: Re: change font size
PostPosted: Fri Feb 14, 2014 12:20 pm 
Offline

Joined: Wed Jan 22, 2014 1:52 pm
Posts: 7
Thank you so much, its a great Gallery

Greetings Clair


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next

 


All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

This is the official Admiror Joomla! Community Forum. You are welcome to join the Admiror Joomla! Community. All Admiror Joomla! Extensions Users, Joomla! Developers, PHP or mySQL Developers are welcome to support & contribute to Admiror Joomla! Projects.

Joomla! is a free and open source content management system (CMS) for publishing content on the World Wide Web and intranets. With a vibrant volunteer community, user-friendly features and plenty of power, Joomla is perfect for your website!

Joomla! is written in PHP, uses object-oriented programming (OOP) techniques and software patterns, stores data in a MySQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization.

Joomla! is the property of Open Source Matters, Inc. All rights reserved. Read more about Joomla! at http://www.joomla.org/.


Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group