Previous Thread
Next Thread
Print Thread
Rate Thread
#104419 03/20/2002 10:17 AM
Joined: Oct 2001
Posts: 213
Member
Member
Offline
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.

Sponsored Links
#104420 03/23/2002 1:34 PM
Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
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
[/code]and how to use it
[code]


Do you believe in love at first sight,
or should I walk by again?
#104421 08/30/2002 9:35 AM
Joined: May 2002
Posts: 17
Junior Member
Junior Member
Offline
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?

#104422 12/22/2003 1:13 AM
Joined: Jan 2002
Posts: 9
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 9
Quote
Originally posted by Chuck:

you must call it directly from the template file (public_common) here is an exemple by cal :

a sub routine
Code
 
sub Include_A_File{
my ($file) = @_;
open(F,$file) or die $!;
print join('',<F> );
close(F);
}
and how to use it
Code
 &Include_A_File('/absolute/path/to/the/file.txt'); 
Where does the second part go? Thanks!


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)