View Full Version : Front page request : latest updated exhibitions
Alexis427
7th of May 2004 (Fri), 15:36
Hello Pekka!
Would it be possible to have on the frontpage, in place of the "latest exhibitions" a link to the "latest updated exhibitions" ?
Or a choice for this would be great
Regards
Alexis
photocroatia
7th of May 2004 (Fri), 23:09
I actually like the "latest exhibitions"as I add a lot of exhibitions but "latest updated exhibitions" is also a good idea.
mvrekum
8th of May 2004 (Sat), 05:14
I like a "latest updated exhibitions" to, but with a date of the last update.
I mostly have general exhibitions to wich I add photo's, therefore "Latest exhibitions" can have exihibitions listed that are already several months old.
Alexis427
9th of May 2004 (Sun), 05:05
i have found a very nice workaround on craig ruaux website (http://www.ruaux.net/gallery/index.php )
just having this link on the frontpage does the job....
http://www.underwaterpics.org/list.php?exhibition=all&pass=public&select_output= 7_per_row&perpage=40&sort_row=ee_photo.ee_photo_id &order=DESC
Alex
mvrekum
19th of May 2004 (Wed), 08:20
Got the 10 latest added images on my frontpage now.
Open indexstyles>groupindex
find ee_orphan_exhibitions ("ver","");
After this add:
<!-- 10 latest images - added by PhotoFile -->
<?php
print "<br><br> <big style=\"font-weight: bold; font-size: 14px;\">" . ee_translate_A($translated["10_latest_images"]) . "</big><br><br>";
include("http://URL-TO/snippets.php?get=latest_photos&amount=10&exhibitio n=all&border=1&bordercolor=000000&viewas=image&thu mbsize=microthumb");
?>
<!-- end 10 latest images -->
Replace URL-TO with your URL
In each of your language files open global.php
After the last translation in the list add:
$translated["10_latest_images"] = "YOUR TRANSLATION";
Replace YOUR TRANSLATION with the apropriate translation for your language of "10 Latest images"
Have fun,
Martin
Added:
The hacked files are available for download on my site:
http://www.photofile.nl/cgi-bin/efileman/efileman.cgi
Always rename your original files before you replace them.
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.