Author Topic: Different header/footer templates ....  (Read 11742 times)

0 Members and 1 Guest are viewing this topic.

Jacob

  • Guest
Different header/footer templates ....
« on: August 01, 2007, 04:34:22 PM »
Hello friends,

Is it possible to assign different .html template file for categories, details and main page resp.

I want different header and footer .html template file for gallery's categories page

and a different header/footer.html files for main home page of gallery..


and the same for details page of gallery

Any idea how to do this  :D

manurom

  • Guest
Re: Different header/footer templates ....
« Reply #1 on: August 01, 2007, 04:37:17 PM »

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: Different header/footer templates ....
« Reply #2 on: August 01, 2007, 04:41:26 PM »
Hi,

Or: different codes for maintemplates ( home, categories, lightbox, search, ...:

- copy code from : footer.html /header.html
- replace {header} / {footer} in  the main templates with the codes from footer.html /header.html
- now you can change the code for every main template


cu
Kurt

Jacob

  • Guest
Re: Different header/footer templates ....
« Reply #3 on: August 01, 2007, 05:07:41 PM »
Hi,

Or: different codes for maintemplates ( home, categories, lightbox, search, ...:

- copy code from : footer.html /header.html
- replace {header} / {footer} in  the main templates with the codes from footer.html /header.html
- now you can change the code for every main template


cu
Kurt

Job done. :D thanks for the suggestion :D

Offline freegames

  • Pre-Newbie
  • Posts: 1
    • View Profile
    • swish
Re: Different header/footer templates ....
« Reply #4 on: August 03, 2007, 04:46:52 AM »
Hi,

Or: different codes for maintemplates ( home, categories, lightbox, search, ...:

- copy code from : footer.html /header.html
- replace {header} / {footer} in  the main templates with the codes from footer.html /header.html
- now you can change the code for every main template


cu
Kurt


Thanks for help :)

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Different header/footer templates ....
« Reply #5 on: August 03, 2007, 11:55:03 AM »
I use genric header, footer for top, left, content, rigt and down template. 4 tag need and layout load. :)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Jacob

  • Guest
Re: Different header/footer templates ....
« Reply #6 on: August 03, 2007, 12:04:10 PM »
I use genric header, footer for top, left, content, rigt and down template. 4 tag need and layout load. :)
Can you please tell us how to do that... sounds like easy to manage  :wink:

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Different header/footer templates ....
« Reply #7 on: August 03, 2007, 12:13:53 PM »
First need seperate all part at 4 template file and call the tag from PHP. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?