ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Pyro​CMS Snippets

by Dixens ALL

A list of PyroCMS snippets for Sublime Text 2

Labels snippets

Details

  • 2012.11.25.13.37.43
  • github.​com
  • github.​com
  • 11 years ago
  • 2 hours ago
  • 11 years ago

Installs

  • Total 4K
  • Win 3K
  • Mac 646
  • Linux 233
Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

A Sublime Text package of PyroCMS plugins snippets.

Just hit the tab to trigger the target and expand its full code including bits of explanations from PyroCMS Documentation. You can navigate from one attribute to the next one by hitting tab too.

Ex: theme:css+tab will give:

{{ theme:css file="Name of the css file" type="The type attribute" title="The title attribute" media="The media attribute" rel="The rel attribute" }}

Installation

With Package Control

If you have the Package Control package installed, you can install Sublime Text 2 PyroCMS Snippets within Sublime Text itself. Open the Command Palette and select “Package Control: Install Package”, then search for “PyroCMS Snippets”.

Without Package Control

Clone this repository into your packages folder:

git clone https://github.com/Dixens/sublime-text-pyrocms-snippets.git pyrocms

List of available snippets

Assets

  • Asset CSS_path
  • Asset CSS_URL
  • Asset CSS
  • Asset Image_path
  • Asset Image_URL
  • Asset Image
  • Asset JS_path
  • Asset JS_URL
  • Asset JS
  • Asset Render_CSS
  • Asset Render_JS
  • Asset Render

Blog

  • Blog Posts

Contact

  • Contact Form

Files

  • Files Exists
  • Files Folder_exists
  • Files Image Path
  • Files Image URL
  • Files Image
  • Files Listing
  • Files Path
  • Files URL

Global

  • Global Constants
  • Global Variables

Helper

  • Helper Config
  • Helper Count
  • Helper Date
  • Helper Functions
  • Helper Gravatar
  • Helper Lang

Lang

  • Lang Code
  • Lang Direction
  • Lang Folder
  • Lang Name

Navigation

  • Navigation Links

Page

  • Page Comments_enabled
  • Page Created_On
  • Page ID
  • Page Is_Home
  • Page Layout_ID
  • Page Parent_ID
  • Page RSS_enabled
  • Page Slug
  • Page Status
  • Page Strict_URI
  • Page Title
  • Page Updated_On
  • Page URI

Pages

  • Pages Children
  • Pages Chunk
  • Pages Display ID
  • Pages Display Slug
  • Pages Is Descendent
  • Pages Is Parent
  • Pages Tree
  • Pages URL

Session

  • Session Data
  • Session Flash
  • Session Messages

Settings

  • Settings Setting

Streams

  • Streams Cycle
  • Streams Form

Theme

  • Theme CSS
  • Theme Favicon
  • Theme Image
  • Theme JS
  • Theme Lang
  • Theme Options
  • Theme Partial
  • Theme Variables

Twitter

  • Twitter Feed

URL

  • URL Anchor
  • URL Base
  • URL Current
  • URL Segments
  • URL Site

User

  • User Logged_in
  • User Not_Logged_in
  • User Profile_fields
  • User Profile
  • User Variables

Variables

  • Variables

Widgets

  • Widgets Area
  • Widgets Instance