How to Remove an HTML Modifier in a Smarty Template

Smarty is a Web template program that combines both PHP and HTML programming languages. Several template files, all with the extension .tpl, make up a Smarty installation: index.tpl, header.tpl, footer.tpl, parent.tpl and child.tpl. HTML modifiers are used within the template files to alter the output of PHP as well as to control the layout of the template. If you no longer desire a certain function of your Smarty template, remove the appropriate HTML modifier from your template files.

Instructions

    • 1

      Log into your Web server using an FTP client on your computer.

    • 2

      Double-click your Smarty Website folder from the Web server.

    • 3

      Copy and paste the desired TPL file to your desktop.

    • 4

      Click “Start” and select All Programs followed by Notepad.

    • 5

      Click File and select Open. Select the TPL file and click “Open.”

    • 6

      Highlight the HTML modifier in the code that you wish to remove.

    • 7

      Press the “Delete” key.

    • 8

      Click File and select Save.

    • 9

      Upload the saved TPL file to your Web server using an FTP client.

Related Searches:

References

Comments

Related Ads

Featured