Smarty?

Discussion in 'PHP / Perl / Ruby on Rails' started by Doudar, Aug 28, 2006.

  1. Doudar CSNM Reseller

    I am currently looking at a php newsletter script and in the install instructions it says:-

    Go to Line 12 and edit the SMARTY_DIR constant to reflect your root path to the Smarty folder. In most cases, it will be this:

    define ("SMARTY_DIR", "/home/

    your_server_username/public_html/mailing_list/includes/");

    If you are unsure what your root path is, try contacting your Hosting Server. They will know what it is and be able to help you.

    So, what is SMARTY and do we have it installed?????

    Thanks

  2. Carl Shepherdson Proprietor

  3. Doudar CSNM Reseller

    So if I enter my physical path in that SMARTY_DIR string it will work? So what is SMARTY?. If I do a googly on it I just get info about sweets
  4. Carl Shepherdson Proprietor

    You need to replace:

    With

  5. Doudar CSNM Reseller

    OK thanks Carl, I will give it a go.

    Just found this:
    [SIZE=-1]SMARTY: A library that allows the creation of HTML templates that are imported and used in PHP scripts to ease the process of web page design[/SIZE]

Share This Page