Problems with a TPL file

Discussion in 'PHP' started by cristid89, Oct 20, 2013.

  1. #1
    Recently I bought a template from themeforest and I want to edit some tpl files but when I open them (with notepad, notepad++ or Dreamwere) i receive the message below:

    * 2007-2012 PrestaShop
    *
    * NOTICE OF LICENSE
    *
    * This source file is subject to the Academic Free License (AFL 3.0)
    * that is bundled with this package in the file LICENSE.txt.
    * It is also available through the world-wide-web at this URL:
    * http://opensource.org/licenses/afl-3.0.php
    * If you did not receive a copy of the license and are unable to
    * obtain it through the world-wide-web, please send an email
    * to so we can send you a copy immediately.
    *
    * DISCLAIMER
    * DISCLAIMER
    *
    * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
    * versions in the future. If you wish to customize PrestaShop for your
    * needs please refer to http://www.prestashop.com for more information.
    *
    * @author PrestaShop SA <>
    * @copyright 2007-2012 PrestaShop SA
    * @VeRSioN Release: $Revision: 6844 $
    * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
    * International Registered Trademark & Property of PrestaShop SA
    */

    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
    header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");

    header("Cache-Control: no-store, no-cache, must-revalidate");
    header("Cache-Control: post-check=0, pre-check=0", false);
    header("Pragma: no-cache");

    header("Location: ../");
    exit;

    I am a beginner in this so excuse me if the question is to silly!
     
    cristid89, Oct 20, 2013 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    It's not silly 'cause you didn't actually ask a question?
     
    nico_swd, Oct 20, 2013 IP
  3. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #3
    You're free to edit or modify the files, but do not expect to be able to upgrade to newer versions etc. So... was there an actual question in there somewhere?
     
    PoPSiCLe, Oct 20, 2013 IP
  4. Jake B.

    Jake B. Active Member

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    71
    #4
    That doesn't look like a template.. all that's doing is redirecting you up a directory. Might want to check out the other files included with that.
     
    Jake B., Oct 20, 2013 IP
  5. jscg

    jscg Well-Known Member

    Messages:
    161
    Likes Received:
    5
    Best Answers:
    3
    Trophy Points:
    108
    Digital Goods:
    2
    #5
    So what's the problem ?
     
    jscg, Oct 21, 2013 IP