Site not validating

Discussion in 'Co-op Advertising Network' started by dalis, Apr 3, 2005.

  1. #1
    I'm trying to install the coop on www.itguru.co.za but I can't get anywere. Now I'm not even getting an error but it doesn't show anything. I did everything as per instructions. My site has a folder 'templates' where all files have .tpl extensions. I'm trying to install on the footer there. I added .tpl in my .htaccess file. I have the files ad_network_215.php and ad_network_ads_215.txt in my main directory and in my www directory.

    Please help.


    Thanks
    Marian
     
    dalis, Apr 3, 2005 IP
  2. sji2671

    sji2671 Self Made Mind

    Messages:
    1,991
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    170
    #2
    Are the ads running, you have 5 text links at the bottom of your homepage, is that the coop.
     
    sji2671, Apr 3, 2005 IP
  3. sji2671

    sji2671 Self Made Mind

    Messages:
    1,991
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    170
    #3
    Ok, no they are static links, I presume Partners: is where you want the co-op to appear
     
    sji2671, Apr 3, 2005 IP
  4. dalis

    dalis Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes thanks. At the very bottom of my pages. Currently just displays Partners. The PHP code starts just after that and it seems like is not beeing read.

    Any help appreciated.

    Thanks
    Marian
     
    dalis, Apr 4, 2005 IP
  5. neterslandreau

    neterslandreau Peon

    Messages:
    279
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Sounds like you're using Smarty templates. If so, you need something similar to this in your php file:
    
    include ('/path/to/ad_network_215.php');
    $smarty = new Smarty();
    $smarty->assign('adnetwork',$ad_network);
    $smarty->display('adnetwork.tpl');
    
    PHP:
    In the adnetwork.tpl template you will have something like:
    {$adnetwork} to display the ads.
     
    neterslandreau, Apr 4, 2005 IP