Adding PHP to an Article Dashboard directory

Discussion in 'Directories' started by AfterHim.com, Apr 4, 2006.

  1. #1
    Didn't know if this was the right place for article directories as well...

    I have an Article Dashboard site (Jagdoo Articles) and I want to add the coop code to it, but it is all coded in .tpl files.

    Anyone know a way to add php to a .tpl file?

    What about somewhere I can put php code into an Article Dashboard script?

    Thanks,

    Brandon
     
    AfterHim.com, Apr 4, 2006 IP
  2. Tim_Myth

    Tim_Myth Peon

    Messages:
    741
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I think the tpl files in Article Dashborad are all Smarty templates, so to add php to the template, you would have to do something like this:
    {php}
    (some php script here)
    {/php}

    Here's the link to the smarty man: http://smarty.php.net/manual/
     
    Tim_Myth, Apr 4, 2006 IP
  3. wwwbug

    wwwbug Peon

    Messages:
    296
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It is the right way ,you can try
     
    wwwbug, Apr 7, 2006 IP