Author Topic: New Fesature: Local Templates  (Read 4978 times)

0 Members and 1 Guest are viewing this topic.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
New Fesature: Local Templates
« on: August 19, 2003, 16:28:55 »
Just added: local templates

What does this mean? Well, just like local configs, you ca now easily set each album to use it's own template, just by dropping the template files into that directory. I hope to have some examples of that soon.

A good example of this is http://army.ca/cgi-bin/album.pl, where I have dropped in a new album_object.tml template file to have thumbnails and descriptions across from each other.

Hopefully this will increase the power of templates, and we'll see some new examples out there.

Cheers

Offline Dino

  • album.pl Donor
  • I Spend Too Much Time Here
  • *****
  • Posts: 250
  • Karma: +5/-0
  • That's actually my childhood cookie jar!
    • Dino's Bulletin Board
Re:New Fesature: Local Templates
« Reply #1 on: August 22, 2003, 08:41:53 »
I'm really sad you didn't remember mine... :'(

And after all these years...

Here's my personal album:
http://dinofilias.com/cgi-bin/album/album.pl?album=11dino

Here's my work-related album:
http://dinofilias.com/cgi-bin/album/album.pl?album=11sve

I've been using different templates for over a year...

Only problem I see is that when you click on a picture in the SVE album, it uses the default template.

"He who seeks the truth must doubt everything."Aristotle
"Extraordinary claims require extraordinary proof."Sagan

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:New Fesature: Local Templates
« Reply #2 on: August 22, 2003, 10:31:59 »
Heheh, I remembered, but at the time, my album was the only one I *knew* was using local templates. (As opposed to a local config that points to new templates).

And thanks for catching the photo page problem. I've fixed that as well as a file include problem I found while I was looking.

Cheers

Offline Scouter

  • album.pl Contributor
  • ***
  • Posts: 51
  • Karma: +0/-0
    • BSACamps.org
Re:New Fesature: Local Templates
« Reply #3 on: September 10, 2003, 12:33:01 »
 :'( I'm missing something, can you tell me what the differences are in the templates?
Thanks,

Mike

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:New Fesature: Local Templates
« Reply #4 on: September 10, 2003, 15:40:42 »
The templates are the same, but now you can drop an edited template directly into an album, and it'll be used for that album.

So if you have a new template that has a banner ad at the top and photo descriptions above each thumbnail, that'll be used for an album you place the .tml files in.

Hope that makes sense... If I *ever* get the time, I want to work on an alternate template set...