Skip to content

Visual Studio Code Extension. CMS Made Simple code Snippets

Notifications You must be signed in to change notification settings

JiiB/cms-made-simple-code-sinppets

Repository files navigation

Snippets for CMS Made Simple HTML (Smarty) Templates

Known Issues

To handle .tpl files in the same way as .html files, you should adjust the user settings as follows:

 "files.associations": {
    "*.tpl": "html"
}

Release Notes

0.0.7

Added the following snippets:

Snippet Purpose
cb creates a {content} block tag
ci creates a {conten_image} block tag
year creates a {current_date} tag and ouputs the current year
literal creates a opening an closing {literal} tag
literaljs creates a opening an closing {literal} tag wrapped in a html <script> tag
breadcrumbs {nav_breadcrumbs}
include creates a {include} tag
ifelse smarty if else statement
foreach smarty foreach loop
mailto creates a {mailto} tag which encrypts an email addresss with javascript
cmshtml html boilerplate file with useful tags that can be used for any CMS Made Simple website
assign create a {assign} tag
cms_selflink creats a {cms_selflink} tag

Link to official CMS Made Simple Website

Enjoy!

About

Visual Studio Code Extension. CMS Made Simple code Snippets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published