Results 1 to 3 of 3

Thread: editing a .tpl

  1. #1

    Default editing a .tpl

    Can you put php directly in a .tpl file? I know a fair bit of php but have never messed about with templates.

    So is this possible to put php directly into a .tpl using the <? ?> tags?

    Thanks

  2. #2
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default

    I imagine that it's possible....just rename the original file on your webhost so you don't lose anything then put what you want into one of the .tpl files and upload it and see what happens. That's what I do. If it doesn't work, I just restore the original file.
    If it's not fun, stop doing it!

  3. #3
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    vshare use smarty templates, it is possible to run php inside smarty templates, you can find more details at

    http://www.google.com/search?q=running+ ... y+template

Similar Threads

  1. Is it POSSIBLE ??? Editing the SQL File like this ...
    By EinfachClicken in forum Template Modifications
    Replies: 1
    Last Post: 09-14-2008, 04:14 PM
  2. Editing tpl files?
    By cmm14513 in forum Template Modifications
    Replies: 1
    Last Post: 09-02-2008, 05:52 AM
  3. Editing my template
    By SKTV in forum Template Modifications
    Replies: 3
    Last Post: 10-15-2007, 06:27 AM
  4. Template editing?
    By Luke Beale in forum Installation Support
    Replies: 3
    Last Post: 06-01-2007, 12:30 PM
  5. Tag editing through admin?
    By satori in forum Feature Requests
    Replies: 0
    Last Post: 05-07-2007, 10:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •