PDA

View Full Version : Afghanistan!


aviceda
13th of September 2002 (Fri), 17:09
Hi Pekka,
Am having a great time with EE, I've set up a couple of exhibitions and I'm well pleased with the results! Thanks for pointing out the Path Editor, couldn't see it for looking! I would like to make make a donation or should I wait until ver 1.3 comes out (please reply privately)
My only concern is on the Public Viewing page, I get some text saying "Photos from Australia Afghanistan" I realise that Afghanistan is the first location in the drop-down list but I cannot seem to find a way to rectify it using the EE utilities....have you come across this before?
Look forward to your reply,
Tom

admin
14th of September 2002 (Sat), 05:53
You can set the default country for each exhibition in "Set default photodata" editor. Afghanistan is the first in alphabetical list (I hate that, too), so if you don't have defaults set you'll get that one.

aviceda
14th of September 2002 (Sat), 19:42
Hi Pekka,
Thanks for the reply, have checked the location in Default Photodata and that is still set on Australia, it must be set in a different utility...which I cannot find.
Do you have anyway of tracing problems like this?
Tom

jonkane
5th of January 2003 (Sun), 04:48
hi there, I am completely new to this, and have successfully set up my gallery, but also came across this problem. No matter how many times I tried to update and change the country info in 'exhibition photodata defaults' it would remain on the country which I had probably saved it as accidentally the first time i.e afghanistan. I have managed to however remove that line from appearing at all below the exhibition title by opening the file called building_blocks.php in the indexstyles directory, and commenting out lines 551, 552, 553, 554 using // at the beginning of each line. These lines are as follows just so you have the correct ones.....

if (count($zapata)!="0") {
print "Photos from ";
print $c;
}

making them become.....

// if (count($zapata)!="0") {
// print "Photos from ";
// print $c;
// }

This is probably a really bad way around the problem, but it has worked for me for now :)

hope this can help.
Jon.

jonkane
5th of January 2003 (Sun), 04:50
oops - should have left emoticons off above... I'm sure you can still see which lines I meant :)