PHP Classes

File: templates/examples/cms/static_replacement.html.tpl

Recommend this page to a friend!
  Classes of Saro Carvello   PHP Web MVC Framework   templates/examples/cms/static_replacement.html.tpl   Download  
File: templates/examples/cms/static_replacement.html.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Web MVC Framework
MVC framework providing autogenerated MySQL models
Author: By
Last change:
Date: 6 months ago
Size: 2,047 bytes


Class file image Download
<!DOCTYPE html> <html> <head> <title>Static replacement example</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Bootstrap core CSS --> <link href="" rel="stylesheet" media="screen"> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src=""></script> <script src=""></script> <![endif]--> </head> <body> <div class="container"> <h1>Static replacement example</h1> <p> This example shows the static replacement by using a special type of placeholder having the following format:<br><br>&nbsp; {<span>STATICTPL:<strong>template_file_name</strong></span>}<br> </p> <div class="well"> By using this type of placeholder and by replacing <strong>template_file_name</strong> with the name of an existing file located in the templates folder (by omitting html.tpl extension), the framework automatically will render its static content. </div> <div class="well"> Below we put the placeholder {<span>STATICTPL:<strong>examples\cms\static_content</strong></span>}<br> Framework will automatically render the file <strong>templates\examples\cms\static_content.html.tpl</strong> </div> <br /> {STATICTPL:examples\cms\static_content} <a href="{GLOBAL:SITEURL}/examples/" class="btn btn-primary">Examples TOC</a> </div> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src=""></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src=""></script> </body> </html>