Random quote

LapYap

No avatar

2007-06-03 19:30

Hi Guys!

it is possible to add one script (random quote) in the section foot, and as?

sorry for my google english... :)

merci

No avatar

2007-06-04 09:42

LapYap - put link to your script in section foot in file templates/page.tpl somewhere after <div class="clear"></div>

LapYap

No avatar

2007-06-04 13:00

Hi!

I need to include a php page that contains the random quotes script,
I try to insert <? include("quotei.php"); ?> somewhere after <div class="clear"></div>
but doesn't work.
Sorry, but I'm not a programmer...

thank's a lot

sorry for my google english... :)

merci

No avatar

2007-06-04 14:15

LapYap - ok, better put an iframe with link to your script:

 <iframe scr="quotei.php"></iframe>

in foot section

Lubli

No avatar

2007-11-05 11:46

It's possible to assign all you want to a PHP variable in the config/general.php file, then you can call the variable where you want in the TPL file.

Example:

in general.php:
$myvar = functionphp(params) . "some text" . $othervariable . otherfunction(etc.......);

in TPL file, i.e. page.tpl:
<div id="MyID" class="MyClass">Some text $myvar</div>

Back to top
about us | contact