Author Topic: One complete templates instead, please!  (Read 1901 times)

0 Members and 1 Guest are viewing this topic.

Offline A.B.

  • album.pl User
  • *
  • Posts: 5
  • Karma: +0/-0
One complete templates instead, please!
« on: April 10, 2002, 11:40:31 »
Although the template system used in Album makes it possible to customize the page layout to my heart's desire, it's cumbersome to use. Every time I make a change to the site's layout, Dream weaver automatically
updates all the pages. But then I have to manually dissect the Album template page that dreamweaver updated into two parts, copy them into the Album templates directory and manually fix all the URLs and paths.

It would be great if you use one complete HTML.htm page as a template. We would just insert the ####whatever#### tags where we would like and Dreamweaver can automatically update it when necessary.

Just a though. Otherwise, it's a great peace of code.

Thanks
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »
A.B.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: One complete templates instead, please!
« Reply #1 on: April 10, 2002, 17:49:54 »
So you mean instead of album_rating.tml and all the other templates, just have one that has something like ####BODY#### that inserts the "stuff" in it?

Not a bad idea. I tried to get there a little bit with my last template updates. (I merged album.tml and photo.tml). I'll see if I can do some more merges...

Thanks!
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline A.B.

  • album.pl User
  • *
  • Posts: 5
  • Karma: +0/-0
Re: One complete templates instead, please!
« Reply #2 on: April 10, 2002, 19:29:29 »
Yes, but I think you should keep the other templates as is. I'm very confusing, aren't I :).

Here's a break down of what I think would be cool:

Merge the footer and header templates into 1 .htm file and keep all those cool ####xyz#### tags. Add a ####body#### tag as you suggested to be replaced with the different Album pages.

Keep the other templates, and their tags, as is for us to customize individually. And have them replace the ####body#### tag in the .htm file when needed.

This way when we want to change the whole page layout, we only change the .htm file. And to change the different Album pages, we change the other templates.

I hope I'm making sense here  :).

Thanks.
A.B.