google-code-export / glossword

Automatically exported from code.google.com/p/glossword
0 stars 0 forks source link

How can I add a php code? #113

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, 
my Glossword version is 1.8.11

I can not add any php code in the footer area or somewhere else in the 
template or scheme. 
I would like to add this code:

<?php 
@include $_SERVER['DOCUMENT_ROOT']."/draught/market.ini";//description
@include $_SERVER['DOCUMENT_ROOT']."/draught/links.php";//thelink
?>

Could you please tell me how and where it is possible to add this code?

P.S.
If I add this code in the file "google_ads.txt", so this part of the code 
will be just ignored.

Original issue reported on code.google.com by baidu.ws@gmail.com on 3 Aug 2009 at 3:40

GoogleCodeExporter commented 9 years ago
Please help somebody, I'll make a little donation also for it.

Original comment by baidu.ws@gmail.com on 4 Aug 2009 at 2:19

GoogleCodeExporter commented 9 years ago
This thread should be helpful
http://groups.google.com/group/glossword/browse_thread/thread/a7b854d294d4db0b

$oTpl->addVal( 'my:block:links', 
 $oFunc->file_exe_contents( $sys['path_tpl'].'/common/links.php' )
);

Original comment by dmitry.s...@gmail.com on 25 Jan 2010 at 5:58