contao-front-end-snippets
Atom snippet library for Contao Front-End Classes. Compatible with Contao 4.2.X and 3.5.X.
Atom Contao Front-End Snippets
Atom snippet library for Contao Front-End Classes. Compatible with Contao 4.2.X and 3.5.X.
Installation
Packages
- Open “Install” in “Settings” and find and install “Contao Front-End Snippets” plugin.
- Restart Atom Editor (if required).
Git
- Clone the repository into your Atom package directory
~/.atom/packages
.
git clone https://github.com/marcobiedermann/atom-contao-front-end-snippets.git
Download
- Download the .zip file and unzip it.
- Move the content into your Atom package directory
~/.atom/packages
.
Usage
Start typing ce_
, layout_
or mod_
in CSS, Less, Sass, Scss or Stylus files and the autocomplete windows opens.
Elements
Head Tags | Snippet code |
---|---|
Button | button |
Enclosure | enclosure |
Formbody | formbody |
Image Container | image_container |
Pagination | pagination |
PDF Link | pdf_link |
Content Elements
Head Tags | Snippet code |
---|---|
Accordion | ce_accordion |
Code | ce_code |
Download | ce_download |
Downloads | ce_downloads |
Form | ce_form |
Gallery | ce_gallery |
Headline | ce_headline |
Hyperlink | ce_hyperlink |
Image | ce_image |
List | ce_list |
Markdown | ce_markdown |
Player | ce_player |
Slider | ce_slider |
Table | ce_table |
Teaser | ce_teaser |
Text | ce_text |
Toplink | ce_toplink |
YouTube | ce_youtube |
Layout
Head Tags | Snippet code |
---|---|
Wrapper | layout_wrapper |
Header | layout_header |
Container | layout_container |
Main | layout_main |
Left | layout_left |
Right | layout_right |
Footer | layout_footer |
Modules
Head Tags | Snippet code |
---|---|
Article List | mod_articleList |
Article | mod_article |
Booknav | mod_booknav |
Breadcrumb | mod_breadcrumb |
Calendar | mod_calendar |
Change Password | mod_changePassword |
Close Account | mod_closeAccount |
CustomNav | mod_customNav |
Eventlist | mod_eventlist |
Eventmenu | mod_eventmenu |
Eventreader | mod_eventreader |
FAQ List | mod_faqlist |
FAQ Page | mod_faqpage |
FAQ Reader | mod_faqreader |
Listing | mod_listing |
Login | mod_login |
Lost Password | mod_lostPassword |
Navigation | mod_navigation |
Newsarchive | mod_newsarchive |
Newsletter List | mod_newsletterList |
Newsletter Reader | mod_newsletterReader |
Newslist | mod_newslist |
Newsmenu | mod_newsmenu |
Newsreader | mod_newsreader |
Personal Data | mod_personalData |
Quicklink | mod_quicklink |
Quicknav | mod_quicknav |
Random Image | mod_randomImage |
Registration | mod_registration |
RSS Reader | mod_rssReader |
Search | mod_search |
Sitemap | mod_sitemap |
Subscribe | mod_subscribe |
Unsubscribe | mod_unsubscribe |
License
Atom Contao Front-End Snippets Plugin is open-sourced software licensed under the MIT license.