This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| // Load a new content Bean | |
| bean=$.getBean('content'); | |
| //Set the parent node of where you want the new node to live | |
| bean.setParentID('some id'); | |
| bean.setTitle('Some Title'); | |
| //Should this go live immediately? 0=no 1=yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| param name='form.rssurl' default=''; | |
| param name='form.parentfilename' default='blog'; | |
| param name='form.isSubmitted' default='false'; | |
| param name='form.istest' default='true'; | |
| param name='form.siteid' default='default'; | |
| $ = application.serviceFactory.getBean('$').init(form.siteid); | |
| if ( !$.currentUser().isSuperUser() && !$.currentUser().isInGroup('admin') ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| param name='form.csvUrl' default='#getPageContext().getRequest().getScheme()#://#cgi.server_name##getDirectoryFromPath(getPageContext().getRequest().getRequestURI())#users.csv'; | |
| param name='form.group' default='Temp'; | |
| param name='form.isSubmitted' default='false'; | |
| param name='form.isTest' default='true'; | |
| param name='form.siteid' default='default'; | |
| $ = application.serviceFactory.getBean('$').init(form.siteid); | |
| if ( !$.currentUser().isSuperUser() && !$.currentUser().isInGroup('admin') ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Also refer to https://gist.github.com/stevewithington/5060602 if you wish to allow for mixed siteIDs in URLs | |
| # Apache mod_rewrite Docs: http://httpd.apache.org/docs/current/rewrite/ | |
| # Intro: http://httpd.apache.org/docs/current/rewrite/intro.html | |
| # Flags: http://httpd.apache.org/docs/current/rewrite/flags.html | |
| Options All -Indexes | |
| Options +FollowSymLinks | |
| # ------------------------------------------------------------------------------- | |
| # MURA REWRITE OPTIONS |
NewerOlder