TTG Auto Index 2.01 is now available. This release includes a bug fix for those using the engine in Shadowbox mode. Users not using Shadowbox can skip this update.
TTG Auto Index 2.01
Previous post: An Introduction to FTP: Putting your stuff online
Next post: Two years and a few days later
{ 23 comments… read them below or add one }
OK, I guess I’ll be the first to admit ignorance…I see the announcement–how do I get the update?
Updates are always available from the URL you received when you purchased the gallery. The URL is valid for five uses, then expires.
merci pour ces templates si pratiques et si bien faits!!!!
Hello,
I had a big problem with auto index 2.1 , when i call it, it write : Warning: Invalid argument supplied for foreach() in /mnt/104/sdb/7/1/photed/galerie/index.php on line 80
you can see it at http://photed.free.fr/galerie/
How can I do? (sorry for my bad english, I’m french lol)
Thank you!
Hi Teddy,
As you can see checking http://photed.free.fr/galerie/?php, your server’s version of PHP is out of date. Please update to the latest version of PHP, which I believe is 5.2.6.
Cheers,
Matt
Hi Matt,
Thank you for your quick answer.
I’ll call my provider to know how i can do this.
And thanks too for your work!!
Good continuance
Teddy
I am having trouble with this, got it installed and it sees the sub folders but all it shows is gibberish. to be exaxt the links say “” I tried all sorts of different autoindex options, updated PHP to the latest and still have the same problem, am i missing something?
See http://galbraithla.com/viewer/
Thanks,
Sean
opps filtered the gibberish, this is it: ?=$albums[$i]['title']?
Okay, it looks like you’re using the LR Flash Gallery with TTG XML Maker, am I right?
1) Make sure you’re using TTG XML Maker w/ Thumbnails.
2) Try leaving the Album URL blank in the XML file. The gallery should find the URL on its own.
Let me know if that works.
Thanks for the quick reply. No I was not using the XML maker, I just manually created some autoindex.xml files following the stated rules, and I also tried some blank autoindex.xml files.
After your reply I installed the TTG XML Maker and ran though it. the output of it is exactly the same as what I had created manually though, and my problem remains.
Here is my autoindex.xml:
test title
test Description
Thanks again,
Sean
opp forgot again that this comment system strips some of the code out, here it is with the brackets replaced:
{?xml version=”1.0″ encoding=”UTF-8″?}
{album}
{thumbnail}{/thumbnail}
{title}test title{/title}
{description}test Description{/description}
{url}{/url}
{/album}
Hi Sean,
As you can see here, http://galbraithla.com/viewer/?array, the information is being parsed correctly. For whatever reason, it seems the PHP just isn’t running on your server. I wonder whether it might be something to do with your server’s PHP configuration. Do you know whether the installation supports the Glob function?
I don’t know whether it would be a resource to you or not, but you can see my PHP configuration here.
Hello!
Is there a hidden setting I can use to order the appearance of the indexed galleries? It is clear that Auto Index alphabetizes them, but I would like to have the most recent ones appear at the top (without, preferably, having to make my titles go in reverse). Any ideas? Thanks, and thanks for some great work.
RD
Richard,
Galleries are ordered alphabetically by folder name; the order can be reversed by flipping a boolean toggle within the PHP, as documented above. The way to set them in chronological order is to name the folders with numbers, i.e. 01-Venezia, 02-Firenze, 03-Roma, etc., and then to set them in reverse order, so that as you continue to add galleries, newer galleries with higher numbers will float to the top of the page. Alternatively, name the folders by date, i.e. 20090430-Venezia, 20090501-Firenze, 20090505-Roma, and reverse order them.
Thanks! Looks great!
Hi Matthew,
I just installed AutoIndex 2.01, (LR 2.3), and can’t seem to get the shadowbox function to work. All the galleries display, but without the shadowbox. Followed the instructions on the TTG AutoIndex home page, but no dice. Any suggestions?
Thanks!
You’re visiting the shadowbox.php file (or whatever you might have renamed it) when you hit the page in your browser?
@theturninggate
Hi Sean and Matthew,
The problem is a setting in th ePHP.INI file. Search for short_open_tag. The default setting is “Off”, switch it to “On”.
This, however is not recommended, see also the comment on it inside PHP.INI.
A better solution would be changing <?= into <?php print
So, for instance:
<img src=”" class=”thumbImg” title=”" alt=”" />
should be changed into:
<img src=”" class=”thumbImg” title=”" alt=”" />
Enjoy!
@Harry
Bugger… the php-code in my reply to you is neatly translated by PHP
But I think you can undertsand it anyway, see the index.php file for the code which has to be changed.
Hi Harry,
The PHP showed up in my email, if not here on the site. Thanks for the assistance. I’ll crack things open for a look and try this out. Does this change go into my index.php file, or into one of the php INI files?
Cheers,
Matt
@theturninggate
Hi Matt,
The best solution is to change the index.php file.
Inside the For-loop block which outputs the HTML-code, you’ll have to change <?= into <?php print
So that’s in four lines of code.
I had the same problem as Sean, I’m using IIS5.1 with PHP 5.2.x (standard installation)
So I think that other users who use IIS in combination with PHP will have the same problem.
Harry
Hi Matt.
I’m having trouble getting the thumbnail size to appear LARGER in the index. I’ve re rendered the index a couple of times adjusting the size of the box and increasing the thumb size, but the thumbs always appear quite small. What am I missing? Is there something in the code I can adjust to make the thumb fill the box?
Thanks again!!
Clayton
You need to increase the size of the thumbnails used in your galleries. The index gets it’s thumbnail images from the /thumbnails/ folder in each gallery.