-
☆ A M B ☆
- 3,112 Posts
I only get
http://rtfm.modx.com/display/revolution20/Code+Standards#CodeStandards-FileStructure about the filenaming.
What I need is further info about the snippet/plugin/ CMP {ex-module-term} controller files.
I have here: breadcrumbs.snippet.php and snippet.getfeed.php
Are these restrictive or not?
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
To be honest, you can name those how you want, but usually Elements can be named element.name.php or name.element.php; controller files are best as nameofcontroller.php.
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com