Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>CMS Made Simple Code SinppetsNew to Visual Studio Code? Get it now.
CMS Made Simple Code Sinppets

CMS Made Simple Code Sinppets

jiib

|
393 installs
| (0) | Free
Simple but useful code snippets for CMS Made Simple
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft