Hi there,
Suppose that I have the followin':
- a directory called 'mango/html/guestbook'.
- a file called 'mango/html/header.cfm'.
- a file called 'mango/html/guestbook/default.cfm'.
- the file 'mango/html/header.cfm' gets some images from the directory 'mango/images' (Important).
So how can i include the 'mango/html/header.cfm' within 'mango/html/guestbook/default.cfm'.
I tried the followin' inside 'mango/html/guestbook/header.cfm' file:
<cfinclude template="../header.cfm">
and I tried the followin' also:
<cfinclude template="mango/html/header.cfm">
but all of that didn't work!
Please keep in mind that 'header.cfm' gets images from 'mango/html/images'.
When I tried <cfinclude template="../header.cfm"> I got an error sayin' that the template can't be found!
When I tried <cfinclude template="mango/html/header.cfm"> I got no error, but I couldn't see any of the images on the header!
Would you help <esfinkis> pls
<esfinkis></esfinkis>
Suppose that I have the followin':
- a directory called 'mango/html/guestbook'.
- a file called 'mango/html/header.cfm'.
- a file called 'mango/html/guestbook/default.cfm'.
- the file 'mango/html/header.cfm' gets some images from the directory 'mango/images' (Important).
So how can i include the 'mango/html/header.cfm' within 'mango/html/guestbook/default.cfm'.
I tried the followin' inside 'mango/html/guestbook/header.cfm' file:
<cfinclude template="../header.cfm">
and I tried the followin' also:
<cfinclude template="mango/html/header.cfm">
but all of that didn't work!
Please keep in mind that 'header.cfm' gets images from 'mango/html/images'.
When I tried <cfinclude template="../header.cfm"> I got an error sayin' that the template can't be found!
When I tried <cfinclude template="mango/html/header.cfm"> I got no error, but I couldn't see any of the images on the header!
Would you help <esfinkis> pls