How to edit TPL Files?

Discussion in 'PHP' started by Jalpari, Jun 14, 2009.

  1. #1
    Help me in editing tpl files i open in notepad but that was not supporting hyperlink (html) for footer file.
     
    Jalpari, Jun 14, 2009 IP
  2. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #2
    tpl is a template file for smarty template engine, if u know basic html you can edit it in notepad
     
    Bohra, Jun 14, 2009 IP
  3. regbeta

    regbeta Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You can edit with in dreanweaver or notepad. It is like a .txt but you have to know what you are doing...
     
    regbeta, Jun 14, 2009 IP
  4. uselessguy

    uselessguy Peon

    Messages:
    52
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Dreamweaver will be the best choice.
     
    uselessguy, Jun 14, 2009 IP
  5. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #5
    Yeah that is template file but how to edit and why it was not accepting valid html code ( contain hyperlink only) see in the link at the footer text a part of is without hyperlink

    I know html and bit php but when i try to edit after upload that file was creating problem :confused: I want to add code desktop wallpapers

    Any other editor then dw or notepad i use both and know very well.
     
    Jalpari, Jun 15, 2009 IP
  6. mrdo

    mrdo Well-Known Member

    Messages:
    1,552
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    138
    #6
    I think you should try with Notepad ++
     
    mrdo, Jun 15, 2009 IP
  7. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #7
    No i can not add adsense ad and bit theme editing :confused: Do i need to learn how smarty code works?
     
    Jalpari, Jun 16, 2009 IP
  8. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #8
    In smarty to add javascript you need to use the literal tags as adsense is also javascript based here is how it should be added


    {literal}
    Adsense code here
    {/literal}
     
    Bohra, Jun 16, 2009 IP
  9. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #9
    Bohra, how i can learn smarty template file editing see i edit index.php template file for the site above and replace latest wallpapers with latest desktop wallpapers but nothing happen. It has no coding just text desktop :confused:
     
    Jalpari, Jun 16, 2009 IP
  10. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #10
    Bohra, Jun 16, 2009 IP
    Jalpari likes this.
  11. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #11
    Jalpari, Jun 17, 2009 IP