Author Topic: [Template] atoll 4 4images  (Read 15193 times)

0 Members and 1 Guest are viewing this topic.

manurom

  • Guest
[Template] atoll 4 4images
« 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

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

--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.
« Last Edit: February 01, 2007, 06:02:16 PM by manurom »

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.420
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Template atoll 4 4images
« Reply #1 on: February 01, 2007, 01:52:38 PM »
Very nice, but where is the 4images Copyride Note???? )o:
 

manurom

  • Guest
Re: Template atoll 4 4images
« Reply #2 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.
« Last Edit: February 01, 2007, 02:15:19 PM by manurom »

Offline eddie1973

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [Template] atoll 4 4images
« Reply #3 on: April 02, 2007, 09:03:59 AM »
manurom,
Do you happen to have the PSD for the header images?

Eddie Baker

manurom

  • Guest
Re: [Template] atoll 4 4images
« Reply #4 on: April 02, 2007, 10:53:29 AM »
Hello, eddie1973;
I have just sent it to your mailbox.
Regards.

Offline eddie1973

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [Template] atoll 4 4images
« Reply #5 on: April 02, 2007, 06:18:41 PM »
manurom,
Thanks for the files.
Eddie Baker