Need help integrating scripts into smarty script

Discussion in 'PHP' started by scriptsy26, May 14, 2010.

  1. #1
    Hello,

    Got a smarty script and i want to integrate two other script languages.
    they are two script codes that have no effect on the layout or working process.

    I want to integrate google anylitics and a cpa lead script.
    who has done this before.


    I have tried to change or input the script codes in several files but it has effect on the files and errors came.

    who can help me with this? if it is must work then i'm willing to pay somebody but i need to consider offers.

    Thanks
    Scriptsy26
     
    Last edited: May 14, 2010
    scriptsy26, May 14, 2010 IP
  2. swashata

    swashata Member

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #2
    Hey, try to change the template files [.tpl files]. Just paste the code over there where you want... Or perhaps, if you can give me the source, then I will add that for you! [If you want, then pay me whatever you wish :) ]
     
    swashata, May 14, 2010 IP
  3. dhvanit

    dhvanit Peon

    Messages:
    137
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Add literal tag with your code,

    {literal} Google Analytic Code {/literal}
     
    dhvanit, May 15, 2010 IP
  4. roopajyothi

    roopajyothi Active Member

    Messages:
    1,302
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #4
    I can do that
    Code each of them separately and save as as html file or whatever and call them using include function
    
    <?php
    // calling to the template file
    include '../footer.html'; 
    
    ?>
    
    PHP:
    Thanks :)
     
    roopajyothi, May 15, 2010 IP
  5. gapz101

    gapz101 Well-Known Member

    Messages:
    524
    Likes Received:
    8
    Best Answers:
    2
    Trophy Points:
    150
    #5
    ^^ try this ;)
     
    gapz101, May 15, 2010 IP
  6. scriptsy26

    scriptsy26 Active Member

    Messages:
    274
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    83
    #6
    Thanks everybody, i will try it.
     
    scriptsy26, May 16, 2010 IP
  7. scriptsy26

    scriptsy26 Active Member

    Messages:
    274
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    83
    #7
    Thanks this actually did the trick.great job.
     
    scriptsy26, May 16, 2010 IP