Question about including a template file more than once

All style (template, theme and imageset) related questions for the new release; advice, feedback here please.
Post Reply
User avatar
kuato
Registered User
Posts: 41
Joined: Fri Feb 13, 2004 11:00 pm
Contact:

Question about including a template file more than once

Post by kuato »

If I try to include a template file within a template in more than once place it only processes it in the first instance. Is this intentional, a bug or something overlooked?

Example: template1.html wants to include template2.html at the beginning and the end since it's the same code used in both places(i,e, a pagination display)

template1.html

Code: Select all

<!-- INCLUDE template2.html -->

bla bla bla

<!-- INCLUDE template2.html -->
The output from template2 is printed only once where I really want it done twice. As of now I have to cut and paste the code from template2 and put it in template1 in both places.

My eyes are a bit glazed over from being so tired so maybe I am missing something here? :)

Thanks,
Paul Schmidt - aka kuato
My home | My portal for phpbb2.2

Post Reply