Blog Sections Open

Using Emmet Snippets in a MODX and Evolution CMS Editor Workflow

One of the easiest ways to speed up template editing is to bring editor-side abbreviations into the CMS workflow. The original discussion here centered on using Emmet-style expansions with a MODX editor setup based on Co

One of the easiest ways to speed up template editing is to bring editor-side abbreviations into the CMS workflow. The original discussion here centered on using Emmet-style expansions with a MODX editor setup based on CodeMirror.

Why It Helps

  • faster HTML and chunk scaffolding
  • quicker insertion of repetitive snippet calls
  • less copy-paste noise in templates

Typical Custom Abbreviations

"ditto":"[[Ditto? &parents=`` &tpl=`` &sortDir=`ASC` &paginate=`0` &display=`3`]]"
"thumb":"[[phpthumb? &input=`[+image+]` &options=`w=150,h=76,far=C,bg=FFFFFF`]]"
"evogallery":"[[EvoGallery? &display=`images`]]"
"content":"[+content+]"
"cfooter":"{{footer}}"

The idea is simple: let the editor expand common CMS patterns for you instead of retyping them from memory every time.

Best Use

This approach works best when a team agrees on a shared set of abbreviations. That keeps templates consistent and makes onboarding easier for everyone touching the same project.

Source: original community announcement.

Newer post

Using Uploadify for File Uploads in Evolution CMS

A practical note on integrating Uploadify-style uploads into Evolution CMS and the tradeoffs of Flash-era upload tooling.

Older post

MODX Custom 1.0.12-d6.4: What This Community Build Added

A short ecosystem summary of the MODX Custom by Dmi3yy 1.0.12-d6.4 build and the fixes and extras it brought together.