Author Topic: problem to insert other "php" codes, on 4images first page  (Read 4125 times)

0 Members and 1 Guest are viewing this topic.

Offline Omsky

  • Newbie
  • *
  • Posts: 42
    • View Profile
problem to insert other "php" codes, on 4images first page
« on: September 20, 2008, 09:32:20 AM »
I need to add textlinksad code to my main page, but as i see, i need to change /templates/default/footer.html, but textlinksad doesn't support html, they use php. See pic http://www.picamatic.com/show/2008/09/20/11/20/1044364_848x617.jpg

How to insert their code in my main 4images galery page ?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: problem to insert other "php" codes, on 4images first page
« Reply #1 on: September 20, 2008, 04:32:48 PM »
You can use php code inside templates.
Use it like this:
Code: [Select]
<?php
//your textlinsad code
?>
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Omsky

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: problem to insert other "php" codes, on 4images first page
« Reply #2 on: September 22, 2008, 01:44:00 AM »
thnk

long activation - code on "textlinkads", I thought "php code" not work