4images Forum & Community

4images Modifications / Modifikationen => Templates & Styles (Releases & Support) => Topic started by: manurom on February 01, 2007, 01:49:17 PM

Title: [Template] atoll 4 4images
Post by: manurom on February 01, 2007, 01:49:17 PM
Hello;
my staff has made a template for a diving customer, and he permitted us to share our work.
We are in a beta release.
Results can be viewed here (http://amissc.free.fr/4_2006/index.php?t=atoll)

As we did this template for multilingual purpose (our customer owns a multilingual website), we added  a thew lines to some files ; please follow the next explanations, as we created some new images called "media_info.gif" and "collapse_info.gif":

--first download the template here (http://amissc.free.fr/4_2006/download.php?image_id=29)

--Second: edit includes/functions.php and find:
Code: [Select]
if (!check_permission("auth_viewimage", $image_row['cat_id']) || !check_permission("auth_viewcat", $image_row['cat_id'])) {
    $show_link = 0;
  }
And add after the closing bracket:
Code: [Select]
else {
    $media_info_button = "<img src=\"".get_gallery_image("media_info.gif")."\" border=\"0\" alt=\"\" />";
    $collapse_info_button = "<img src=\"".get_gallery_image("collapse_info.gif")."\" border=\"0\" alt=\"\" />";
  }

The template includes the images "media_info.gif" and "collapse_info.gif" for english and french languages. Make your own language version of these pictures and save them in templates/your_template/images_your_language/.

So, for those who use multilingual sites, in details.html, these pictures will be called by the tags {media_info_button} and {collapse_info_button}, corresponding to the choosed language.

Please feel free to post your opinion, whatever it is, to help us getting this template better and share with this community.
Many thanks in advance.
Title: Re: Template atoll 4 4images
Post by: Acidgod on February 01, 2007, 01:52:38 PM
Very nice, but where is the 4images Copyride Note???? )o:
 
Title: Re: Template atoll 4 4images
Post by: manurom on February 01, 2007, 01:58:45 PM
OOOOPS!
my template is v1.7.4 and my old site is v1.7.1, and so it doesn't understand the {copyright} tag.
I manage to get it conform as soon as I can.
Many thanks, Acidgod!


EDITED: it is done. Many thanks again.
Title: Re: [Template] atoll 4 4images
Post by: eddie1973 on April 02, 2007, 09:03:59 AM
manurom,
Do you happen to have the PSD for the header images?

Title: Re: [Template] atoll 4 4images
Post by: manurom on April 02, 2007, 10:53:29 AM
Hello, eddie1973;
I have just sent it to your mailbox.
Regards.
Title: Re: [Template] atoll 4 4images
Post by: eddie1973 on April 02, 2007, 06:18:41 PM
manurom,
Thanks for the files.