Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: 1 [2]   Go Down

Author Topic: How insert code PHP in foot - please help!  (Read 10545 times)

0 Members and 1 Guest are viewing this topic.

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: How insert code PHP in foot - please help!
« Reply #20 on: July 27, 2006, 04:11:44 pm »

my point was to header not footer!
your footer.php should be contain only php code:
Code: [Select]
<?php

ini_set
("include_path",ini_get("include_path").":../:../../:../../../:../../../../"); 
include_once 
"linkuj_inc.php";
echo 
implode(" ",$linki); 
?>

Logged
‍I don't answer to PM with support question
Please post your issue to related board

Mike_PL

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 46
Re: How insert code PHP in foot - please help!
« Reply #21 on: July 27, 2006, 07:13:15 pm »

I don't understand. How edit theme.php?

my theme.php in Attach:
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How insert code PHP in foot - please help!
« Reply #22 on: July 28, 2006, 07:07:19 am »

but further dont works..
This is not very surprising, as it contains lots of errors. There mustn't be any HTML tags in it like <head> or <body>, because this can't exist twice in a page and already is being defined elsewhere. You have a lot of reading up to do. This thread is leading nowhere. If all the included script is suppossed to do is have some links from a link exchange program displayed, then add them in manually. You'll need to learn the basics (i.e. HTML) before doing more advanced stuff like using PHP includes.
Logged

Mike_PL

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 46
Re: How insert code PHP in foot - please help!
« Reply #23 on: July 28, 2006, 05:57:02 pm »

So, you will not help even as I will add in attach theme.php and footer.php?

 :'( :'( :'( :'(
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How insert code PHP in foot - please help!
« Reply #24 on: July 28, 2006, 07:30:34 pm »

It's not that I don't want to, but imo you're beyond help.
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.018 seconds with 20 queries.