SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: PHP and Smarty

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Mar 2007
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile PHP and Smarty

    Hey Guys,

    I'm doing some changes to a site using smarty (never used it before) and made changes to the files in the template folder - just some text changes.

    The files are all called stuff like %%50^50C^50C24659%%tr_index.tpl
    Thing is when I try to upload the new files using Filezilla or the web based file manager it says "invalid file type, cannot upload". I can't upload my changes!

    Please if anyone has done this before can u suggest anything? Thanks!

  2. #2
    SitePoint Wizard silver trophy Jelena's Avatar
    Join Date
    Feb 2005
    Location
    Universum, 3rd Corner
    Posts
    3,000
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Files with such names are compiled files, and changing them won't result in a real change. You need to change actual template files which most likely has regular names.
    -- Jelena --

  3. #3
    SitePoint Enthusiast
    Join Date
    Nov 2006
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Those are the cached versions of the actual templates. You must edit the actual templates (the ones with normal filenames) and clear the cache to see the changes.

    Edit: Whoops, didn't see that reply above mine that states almost the exact same thing.

  4. #4
    SitePoint Member
    Join Date
    Mar 2007
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks to both of you!


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
  •