|
|
Joined: Oct 2001
Posts: 213
Member
|
Member
Joined: Oct 2001
Posts: 213 |
I have been reading archives on this and all of the help Russel and Matt have offered, however I cannot find an answer to my question.
Can i use SSI code in the footer field of the Style Template?
I have the code in there now and the path is correct. Yet I do not have the footer showing, everything else on the page is there
My SSI is:
I added this to Footer field and nada.
Thanks for any help.
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
you must call it directly from the template file (public_common) here is an exemple by cal : a sub routine [/code]and how to use it [code]
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: May 2002
Posts: 17
Junior Member
|
Junior Member
Joined: May 2002
Posts: 17 |
Hmm. I put the subroutine into my public_common and the "include" into my header (via the ubb.classic control panel) and it does not compute.
Where do i put that "&Include_A_File..." part?
|
|
|
|
Joined: Jan 2002
Posts: 9
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 9 |
Originally posted by Chuck: you must call it directly from the template file (public_common) here is an exemple by cal : a sub routine sub Include_A_File{ my ($file) = @_; open(F,$file) or die $!; print join('',<F> ); close(F); } and how to use it &Include_A_File('/absolute/path/to/the/file.txt'); Where does the second part go? Thanks!
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,932
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|