Smarty template solution

Source: Internet
Author: User
Smarty template may I ask & nbsp; tpl & nbsp; what file is used for compilation & nbsp; I use dreamweaver & nbsp; open *. tpl & nbsp; modified & nbsp; and run & nbsp; on F12 ;. Found the compiled & nbsp; % B2 ^ B29 ^ B smarty Template
I used dreamweaver to open the tpl file *. tpl was changed and run on F12. After compilation, the % B2 ^ B29 ^ B298BD0A % index. tpl. php file becomes the following code. So what software is used to compile the tpl file.
---
Compiled from 06/index. tpl */?>




{$ Title}




{If $ smarty. get. type = 'TT '}
Welcome to {$ smarty. get. type}
{Else}
Sorry, you are not the VIP of this site and do not have permission to access this topic.
{/If}


------ Solution --------------------
You can use any software, as long as you comply with the syntax of smarty and html.

The change in. tpl. php is correct. here, it stores the template compiled by smarty.

I don't know what you have changed, but what are the differences? what do you want?
------ Solution --------------------
You modified the delimiter of smarty!
Therefore, the default delimiters {and} are output as they are.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.