Announcing Splash CMS - built on Wheels!

52 views
Skip to first unread message

Russ Johnson

unread,
Aug 12, 2009, 10:51:13 PM8/12/09
to ColdFusion on Wheels
Just wanted to drop a quick note and let you guys know about yet
another project I have been working on. Splash CMS is a simple CMS
thats designed very closely to Radiant CMS. Its a very simple system
that utilizes Pages, Snippets and Layouts to build your pages, plus
has its own "SplashTags" that are used to reference content and build
dynamic elements.

The whole thing is built on Wheels and Im currently building out the
Splash website using the CMS.

Im working on the documentation now on the GitHub wiki so thats still
in progress. Here is the URL to the github repo:

http://wiki.github.com/russjohnson/SplashCMS

The website is http://splashcms.com but isnt up yet as the public side
is still in development.

If you are interested in playing with it, I would love to get some
feedback! (and bug reports as I know some exist!)

Feel free to grab it from github and play around. I have only included
a MySQL database script at this point as I have to rebuild my Windows
install on my Macbook Pro to get SQL server setup.

Russ

raulriera

unread,
Aug 13, 2009, 12:48:56 AM8/13/09
to ColdFusion on Wheels
Nice,

I was about to make something like this (http://get-simple.info/) with
Wheels. do you have a demo somewherE?

On Aug 12, 10:51 pm, Russ Johnson <russ.cfco...@gmail.com> wrote:
> Just wanted to drop a quick note and let you guys know about yet  
> another project I have been working on. Splash CMS is a simple CMS  
> thats designed very closely to Radiant CMS. Its a very simple system  
> that utilizes Pages, Snippets and Layouts to build your pages, plus  
> has its own "SplashTags" that are used to reference content and build  
> dynamic elements.
>
> The whole thing is built on Wheels and Im currently building out the  
> Splash website using the CMS.
>
> Im working on the documentation now on the GitHub wiki so thats still  
> in progress. Here is the URL to the github repo:
>
> http://wiki.github.com/russjohnson/SplashCMS
>
> The website ishttp://splashcms.combut isnt up yet as the public side  

Russ Johnson

unread,
Aug 13, 2009, 12:52:44 AM8/13/09
to cfwh...@googlegroups.com
No I havent setup a demo yet. Im just finishing most of the core
features today. I will work on getting a demo up tomorrow or friday if
possible. Im trying to get the main website built right now and want
to have it done tomorrow if possible.

raulriera

unread,
Aug 13, 2009, 1:02:28 AM8/13/09
to ColdFusion on Wheels
I see,

trying to install it gave me this error, is there anything special to
be done besides setting up the datasource?

CONTENT is already defined in argument scope.

Use local to define a local variable with same name.

The error occurred in /Applications/ColdFusion9/wwwroot/splashcms/
root.cfm: line 1
Called from /Applications/ColdFusion9/wwwroot/splashcms/wheels/global/
internal.cfm: line 152
Called from /Applications/ColdFusion9/wwwroot/splashcms/wheels/global/
internal.cfm: line 373
Called from /Applications/ColdFusion9/wwwroot/splashcms/wheels/global/
cfml.cfm: line 130
Called from /Applications/ColdFusion9/wwwroot/splashcms/wheels/global/
cfml.cfm: line 27
Called from /Applications/ColdFusion9/wwwroot/splashcms/wheels/global/
public.cfm: line 237
Called from /Applications/ColdFusion9/wwwroot/splashcms/controllers/
Viewer.cfc: line 13
Called from /Applications/ColdFusion9/wwwroot/splashcms/wheels/global/
cfml.cfm: line 130
Called from /Applications/ColdFusion9/wwwroot/splashcms/wheels/
dispatch/request.cfm: line 359
Called from /Applications/ColdFusion9/wwwroot/splashcms/wheels/
dispatch/request.cfm: line 330
Called from /Applications/ColdFusion9/wwwroot/splashcms/wheels/
index.cfm: line 1
Called from /Applications/ColdFusion9/wwwroot/splashcms/index.cfm:
line 1
Called from /Applications/ColdFusion9/wwwroot/splashcms/wheels/events/
onrequest.cfm: line 4
1 : <cfinvoke attributeCollection="#arguments#">

On Aug 13, 12:52 am, Russ Johnson <russ.cfco...@gmail.com> wrote:
> No I havent setup a demo yet. Im just finishing most of the core  
> features today. I will work on getting a demo up tomorrow or friday if  
> possible. Im trying to get the main website built right now and want  
> to have it done tomorrow if possible.
>
> On Aug 13, 2009, at 12:48 AM, raulriera wrote:
>
>
>
>
>
> > Nice,
>
> > I was about to make something like this (http://get-simple.info/) with
> > Wheels. do you have a demo somewherE?
>
> > On Aug 12, 10:51 pm, Russ Johnson <russ.cfco...@gmail.com> wrote:
> >> Just wanted to drop a quick note and let you guys know about yet
> >> another project I have been working on. Splash CMS is a simple CMS
> >> thats designed very closely to Radiant CMS. Its a very simple system
> >> that utilizes Pages, Snippets and Layouts to build your pages, plus
> >> has its own "SplashTags" that are used to reference content and build
> >> dynamic elements.
>
> >> The whole thing is built on Wheels and Im currently building out the
> >> Splash website using the CMS.
>
> >> Im working on the documentation now on the GitHub wiki so thats still
> >> in progress. Here is the URL to the github repo:
>
> >>http://wiki.github.com/russjohnson/SplashCMS
>
> >> The website ishttp://splashcms.combutisnt up yet as the public side

Russ Johnson

unread,
Aug 13, 2009, 1:11:38 AM8/13/09
to cfwh...@googlegroups.com
Hmmm... I havent run it on ColdFusion 9 yet. Wonder if thats the
issue... I have downloaded it from GitHub a couple times, setup the
dsn and was ready to go.... but Im running Railo.

I havent even downloaded ColdFusion 9 yet. I guess I will have to do
that and set it to run standalone so I can test it..

Per Djurner

unread,
Aug 13, 2009, 5:38:29 AM8/13/09
to cfwh...@googlegroups.com
In Adobe ColdFusion the local var scoped variables can't have the same name as the ones in the arguments scope.

The problem is on the lines that have this code:
<cfset var content = arguments.content>

Change that to:
<cfset var localContent = arguments.content>
(and also update all the code to use the new variable name of course).

Now, everything should work.

Russ, I'll let you know if I run into anything else (I'm testing on ColdFusion 8).

/ Per

Per Djurner

unread,
Aug 13, 2009, 6:43:06 AM8/13/09
to cfwh...@googlegroups.com
I got the code running but I'm not able to login to the app.
I think the keyless entry plugin is expecting an activatedAt column in the users table but there wasn't one specified in your SQL script.
There are also some other differences between what keyless entry expects from the users table and the SQL script you included (like "name" vs "firstName" / "lastName" for example).

Please advise :)

Russ Johnson

unread,
Aug 13, 2009, 11:17:21 AM8/13/09
to cfwh...@googlegroups.com
Ah crap... My bad.... I had made some changes to the included keyless plugin and before release yesterday, I updated it with the base one.. ;( Not thinking.. I will get the changes fixed this morning and push them to GitHub and let you know.

Russ Johnson

unread,
Aug 13, 2009, 11:34:57 AM8/13/09
to cfwh...@googlegroups.com
Per,

I just checked the code in the Keyless plugin and theres nothing in there requiring the activatedAt column. Can you send me the error you are getting when trying to login?

On Aug 13, 2009, at 6:43 AM, Per Djurner wrote:

Per Djurner

unread,
Aug 13, 2009, 11:42:58 AM8/13/09
to cfwh...@googlegroups.com
I get this: "Login failed, please try again!"

I'm guessing the problem is this code here in plugins/keylessentry/templates/controllers/Session.cfm:
<cfif authUser.isPassword(arguments.password) AND authUser.activatedAt is NOT "">
  <cfset $successfulLogin(authUser)>
<cfelse>
  <cfset $failedLogin()>
</cfif>

Russ Johnson

unread,
Aug 13, 2009, 11:47:01 AM8/13/09
to cfwh...@googlegroups.com
No that wouldnt be the issue... the templates are only for if you are using the plugin in a new site and it generates the controllers/models/views for you. The templates dont get called otherwise.

You are using the default login info correct?
username: admin
password: splash

If so, I wonder if there might be an issue between CF and Railo when using the SHA-512 encryption on the password which is preventing it from matching..

Per Djurner

unread,
Aug 13, 2009, 11:50:15 AM8/13/09
to cfwh...@googlegroups.com
Aha, that was it!
I didn't realize the passwords were hashed so I had tried putting my own unhashed password directly in the database.
Works fine now, thanks :)

Per Djurner

unread,
Aug 13, 2009, 11:55:33 AM8/13/09
to cfwh...@googlegroups.com
Getting an error when I go to edit a page:
admin/pages/1/child/edit/3

Error:

Invalid tag nesting configuration.

A query driven cfoutput tag is nested inside a cfoutput tag that also has a query attribute. This is not allowed. Nesting these tags implies that you want to use grouped processing. However, only the top-level tag can specify the query that drives the processing.

Russ Johnson

unread,
Aug 13, 2009, 11:59:40 AM8/13/09
to cfwh...@googlegroups.com
Thats interesting. If you look at views/pages/edit.cfm you will clearly see there is no query driven output tag inside of another query driven output tag.

yet another issue between Railo and CF...

Not sure about this one. I will have to setup CF server to test it on I guess and see if I can get to the bottom of that one.

Per Djurner

unread,
Aug 13, 2009, 12:11:18 PM8/13/09
to cfwh...@googlegroups.com
You had a cfoutput="query" inside cfoutput tags.
Changing it to cfloop="query" makes it work.

Per Djurner

unread,
Aug 13, 2009, 12:13:03 PM8/13/09
to cfwh...@googlegroups.com
Another thing, it doesn't work at all in "production" mode, known issue?
That could possibly be a Wheels specific issue I guess.

Russ Johnson

unread,
Aug 13, 2009, 12:22:49 PM8/13/09
to cfwh...@googlegroups.com
Im getting some issues in production mode as well. They seem to be attributed to the Controller Layout plugin... working them out know.

Russ Johnson

unread,
Aug 13, 2009, 12:33:36 PM8/13/09
to cfwh...@googlegroups.com
I have production mode working now. Something in the Controller Layout plugin was causing production mode to error when trying to render the layout.

I really didnt need the plugin anymore so i reworked the names/locations of the layouts some and removed the plugin.

Im tagging a new version at 0.1.2 on GitHub if you want to grab the changes.

On Aug 13, 2009, at 12:13 PM, Per Djurner wrote:

Russ Johnson

unread,
Aug 13, 2009, 12:49:37 PM8/13/09
to cfwh...@googlegroups.com
Raul,

Not sure if your following this thread but Per figured this out and
the issue has been fixed and pushed to GitHub.

On Aug 13, 2009, at 1:02 AM, raulriera wrote:

>

raulriera

unread,
Aug 13, 2009, 12:52:21 PM8/13/09
to ColdFusion on Wheels
I am a silent lurker :D I will update it and try again :)
> >>>> The website ishttp://splashcms.combutisntup yet as the public side

James Gibson

unread,
Aug 13, 2009, 3:49:15 PM8/13/09
to ColdFusion on Wheels
Hey Guys,

I recently updated the controller layout plugin to v0.3 which should
fix the production issue you were having. Let me know if there are any
other bugs and I will fix ASAP.

James
> > >>>> The website ishttp://splashcms.combutisntupyet as the public side

raulriera

unread,
Aug 13, 2009, 5:32:03 PM8/13/09
to ColdFusion on Wheels
what does the controller layout plugin do? (I am confused heh)
> > > >>>> The website ishttp://splashcms.combutisntupyetas the public side

James Gibson

unread,
Aug 14, 2009, 8:06:09 AM8/14/09
to ColdFusion on Wheels
Hey Raul,

The controller layout plugin allows you to do something like

<cffunction name="init">
<cfset layout("mylayout") />
</cffunction>

So you can set the layout 1 time for the entire controller or you
could do this in base Controller.cfc and set the layout one time for
you application.

Hope this helps.

James
> > > > >>>> The website ishttp://splashcms.combutisntupyetasthe public side

raulriera

unread,
Aug 14, 2009, 10:14:57 AM8/14/09
to ColdFusion on Wheels
Isn't that feature already available?

<cfset renderPage(action="X", layout="Y")>?

Or for the whole layout a layout.cfm in the views folder?
> > > > > >>>> The website ishttp://splashcms.combutisntupyetasthepublic side

Per Djurner

unread,
Aug 14, 2009, 10:28:11 AM8/14/09
to cfwh...@googlegroups.com
I think the advantage of using that plugin is that you can specify the name and location for your layout.
While you can do that through renderPage you'd have to do it for each action.
When using a layout.cfm file you can't change the name or move it to another location.

James Gibson

unread,
Aug 14, 2009, 4:38:14 PM8/14/09
to ColdFusion on Wheels
Hey Russ,

Just download the CMS! Quick question, is there a way to upload my
assets (js, css, etc) through the cms?

Thanks,
James

On Aug 14, 10:28 am, Per Djurner <per.djur...@gmail.com> wrote:
> I think the advantage of using that plugin is that you can specify the name
> and location for your layout.While you can do that through renderPage you'd
> have to do it for each action.
> When using a layout.cfm file you can't change the name or move it to another
> location.
>

Russ Johnson

unread,
Aug 14, 2009, 4:46:34 PM8/14/09
to cfwh...@googlegroups.com
Right now no... thats something Im struggiling with. Im not sure if I
want to add that as a feature or not. I was really modeling after the
Ruby on Rails CMS called Radiant and trying to keep it simple.

Problem is, I know how handy it can be to be able to upload those
assets. So right now Im fighting with myself over it. I dont want to
bloat it like alot of other CMS's.

I would like to figure out a way to add an extension system to it much
like Radiant has. Then you could have an asset manager extension.

One thing I just realized that I didnt mention in the few docs that I
do have. The public website assets can be kept in the /public folder
to keep them separate from the admins assets. The URL rewrite rules
that come with the download have been updated to allow it.

Any thoughts on how it should be handled? Built-in or extension?

James Gibson

unread,
Aug 14, 2009, 5:01:09 PM8/14/09
to ColdFusion on Wheels
Hey Russ,

I just created an MSSQL install script and will send you over a pull
request on github in a little while.

James

Russ Johnson

unread,
Aug 14, 2009, 5:03:39 PM8/14/09
to cfwh...@googlegroups.com
Thanks! Thats a huge help!

Russ Johnson

unread,
Aug 14, 2009, 8:14:19 PM8/14/09
to cfwh...@googlegroups.com
If any of you were wanting to play around with this and needed an
MSSQL db script, I have just pushed it to the repo along with a few
more updates.

Thanks again James for the MSSQL file!

alexi721

unread,
Aug 16, 2009, 2:24:41 PM8/16/09
to ColdFusion on Wheels
Just downloaded the latest version and setup the MySQL database but
get the following error when trying to access the /admin page:

>>Could not find the ColdFusion Component or Interface lib.ModelControllerMethods. >>

The 'ModelControllerMethods.cfc' file is in the 'lib' directory.
Any idea why this error occurs?

Thank you,

Alex



On Aug 12, 7:51 pm, Russ Johnson <russ.cfco...@gmail.com> wrote:
> Just wanted to drop a quick note and let you guys know about yet  
> another project I have been working on. Splash CMS is a simple CMS  
> thats designed very closely to Radiant CMS. Its a very simple system  
> that utilizes Pages, Snippets and Layouts to build your pages, plus  
> has its own "SplashTags" that are used to reference content and build  
> dynamic elements.
>
> The whole thing is built on Wheels and Im currently building out the  
> Splash website using the CMS.
>
> Im working on the documentation now on the GitHub wiki so thats still  
> in progress. Here is the URL to the github repo:
>
> http://wiki.github.com/russjohnson/SplashCMS
>
> The website ishttp://splashcms.combut isnt up yet as the public side  

bound4glory

unread,
Aug 16, 2009, 8:12:31 PM8/16/09
to ColdFusion on Wheels
To get it to work for me I had to add the root name to the cfcomponent
extends when not using cfwheels framework and developing with
Coldfusion8 wwwroot.

My root is splashcms so extends="splashcms.lib.ModelControllerMethods"
wherever it is set

/controllers/Layouts.cfc
/controllers/Pages.cfc
/controllers/Snippets.cfc

and extends="splashcms.controllers.controller" in the /lib/
ModelControllerMethods.cfc

Don't know if there is a better way with my development situation but
it works.

On Aug 16, 2:24 pm, alexi721 <alexi...@gmail.com> wrote:
> Just downloaded the latest version and setup the MySQL database but
> get the following error when trying to access the /admin page:
>
> >>Could not find the ColdFusion Component or Interface lib.ModelControllerMethods. >>
>
> The 'ModelControllerMethods.cfc' file is in the 'lib' directory.
> Any idea why this error occurs?
>
> Thank you,
>
> Alex
>
> On Aug 12, 7:51 pm, Russ Johnson <russ.cfco...@gmail.com> wrote:
>
> > Just wanted to drop a quick note and let you guys know about yet  
> > another project I have been working on. Splash CMS is a simple CMS  
> > thats designed very closely to Radiant CMS. Its a very simple system  
> > that utilizes Pages, Snippets and Layouts to build your pages, plus  
> > has its own "SplashTags" that are used to reference content and build  
> > dynamic elements.
>
> > The whole thing is built on Wheels and Im currently building out the  
> > Splash website using the CMS.
>
> > Im working on the documentation now on the GitHub wiki so thats still  
> > in progress. Here is the URL to the github repo:
>
> >http://wiki.github.com/russjohnson/SplashCMS
>
> > The website ishttp://splashcms.combutisnt up yet as the public side  

Russ Johnson

unread,
Aug 17, 2009, 9:09:16 AM8/17/09
to cfwh...@googlegroups.com
I removed the need to use the ModelControllerMethods file and now all
of the controllers extend Controller. This should help when running it
out of something other than the webroot.

The changes have been pushed to GitHub if you want to pull down the
latest.

- Russ

bound4glory

unread,
Aug 17, 2009, 1:22:09 PM8/17/09
to ColdFusion on Wheels
Thanks.
> >>> The website ishttp://splashcms.combutisntup yet as the public side
Reply all
Reply to author
Forward
0 new messages