frontendCMS

44 views
Skip to first unread message

Nicolaas Thiemen Francken - Sunny Side Up

unread,
Mar 16, 2009, 5:55:32 AM3/16/09
to silverst...@googlegroups.com
Hi Everyone

I have been working on a front-end-cms.  The idea is if you have many editors for a site, each of them can maintain their own page.  It also allows admins to make quick changes to pages without the need to login to the CMS.

As part of the module, there is a function EditLink.  If you follow that link (e.g. www.mysite.com/fooPage/edit) then the right-hand-side of the CMS will show up on the front-end instead of the page itself.  In the _config, you can block certain fields (e.g. the URLSegment and MetaTags) so that your editor only has access to relevant fields. In my site, I used jQuery's thickbox to bring up the form.  This results in a really fast and smart way to edit pages: 
- you see a mistake, 
- click on the edit link (if you are logged-in)
- form pops-up, 
- edit page details, 
- click save, 
- page reloads with updated content. 

The other advantage is that the member management is really easy (although it still has BIG security holes), all you need to do is is add an email address to a page.  When saving, the member will be added (or deleted if the email is no longer listed). The member can then find out their password through the retrieve password link.

Members with their own page can also create and maintain child pages for the page they own (if allowed in the _config.php).

Anyway, it is still very alpha, but I would love some help.  Have a look here (using svn):


I am particular interested in:
- making security watertight
- testing with different fields
- simplification of the permission management

Any feedback appreciated.

--
Nicolaas 

aram balakjian

unread,
Mar 16, 2009, 8:44:29 AM3/16/09
to silverst...@googlegroups.com
Hi Nicolas

This sounds great, I'd really love to test it as I'm currently struggling with another CMS (concrete5) for our work wiki as they want front end editing.
Unfortunately I cant seem to get this installed, it doesn't seem to add anything when I run dev/build. Is this for 2.3 or do I need to use 2.2?

regards

Aram

--- On Mon, 16/3/09, Nicolaas Thiemen Francken - Sunny Side Up <nfra...@gmail.com> wrote:

Sam Minnee

unread,
Mar 16, 2009, 3:44:54 PM3/16/09
to SilverStripe Development
Hi Aram,

Have you extracted http://svn.silverstripe.com/open/modules/wiki/trunk
into a directory called "wiki", such as there exists a file called
wiki/_config.php, and *not* wiki/trunk/_config.php?

aram balakjian

unread,
Mar 16, 2009, 3:56:04 PM3/16/09
to silverst...@googlegroups.com
Hi Sam

Thanks for the reply, infact I had just not un-commented the stuff in the config file (it was just one big comment). Once I did that it started working

Aram

--- On Mon, 16/3/09, Sam Minnee <sam.m...@gmail.com> wrote:

Jeremy Shipman

unread,
Mar 19, 2009, 6:33:00 PM3/19/09
to SilverStripe Development
Hi Nicolaas,

Good work on the front-end wiki. I can see myself using it sometime in
the future.
To help new users, perhaps you could include a simple .js file to
bring up the jQuery thickbox.

Cheers,

Jeremy

On Mar 16, 10:55 pm, Nicolaas Thiemen Francken - Sunny Side Up
<nfranc...@gmail.com> wrote:
> Hi Everyone
> I have been working on a front-end-cms.  The idea is if you have many
> editors for a site, each of them can maintain their own page.  It also
> allows admins to make quick changes to pages without the need to login to
> the CMS.
>
> As part of the module, there is a function EditLink.  If you follow that
> link (e.g.www.mysite.com/fooPage/edit) then the right-hand-side of the CMS

aram balakjian

unread,
Mar 20, 2009, 1:58:33 PM3/20/09
to silverst...@googlegroups.com
Hi Nicolaas, Sam

I've been messing around with it and it seems to work well.

Just a couple of things.

1. It looks like the TinyMCE editor is a cut down version without link and image editing etc. I'm guessing this is because of the way SS deals with these elements in a sidebar? But without those buttons it seems quite limited. I'm in a situation where I have a large company and I want users to have full control over a pages content, but I don't want them to have to deal with loading the back end. If there was a way to get that working it would really make it a great solution for this type of thing.

2. Instead of adding a couple of users it might be better to be able to add groups instead, Jamie's multi select field might be a nice way to deal with that? Again in a situation like mine I want to be able to just let all 'users' edit pages.

Overall though it's looking really good.

cheers

Sigurd Magnusson

unread,
Mar 20, 2009, 5:04:12 PM3/20/09
to silverst...@googlegroups.com
Image editing and link insertion "bug" is as you say, Aram. This was
added as a ticket a few weeks ago:

http://open.silverstripe.com/ticket/3613
"Allow image and link insertion in TinyMCE HTMLEditorField when used
outside of CMS"

Cheers,
Sigurd.

Sigurd Magnusson

unread,
Mar 20, 2009, 5:43:57 PM3/20/09
to SilverStripe Development
If you're looking for something polished around front-end editing
check out http://www.squiz.net.au/mysource-mini (You can make the
movie full screen so you can make sense of it.) I picked up on on
Ajaxian and something that impressed me was: "Viper is different to
other WYSIWYG editors in that it is not only completely written in
JavaScript, but also does not use the browser’s editable region. All
changes are made to the DOM directly and everything has been hand-
coded, right down to the flashing caret. This gives the MySource Mini
a true inline editing interface where the WYSIWYG editor is integrated
completely into the editing mode." - http://ajaxian.com/archives/mysource-mini-2008s-fluxiom

aram balakjian

unread,
Mar 20, 2009, 6:32:42 PM3/20/09
to silverst...@googlegroups.com
wow, that looks seriously slick! Shame about the price for the CMS (10k!)......only the frame work is open source....and it's not released yet. But damn that is one sexy app! I watched the whole 30mins and it's friday night! hmm that's probably not something to be proud of.... hehe

--- On Fri, 20/3/09, Sigurd Magnusson <sig...@silverstripe.com> wrote:

From: Sigurd Magnusson <sig...@silverstripe.com>
Subject: [silverstripe-dev] Re: frontendCMS
To: "SilverStripe Development" <silverst...@googlegroups.com>

Nicolaas Thiemen Francken - Sunny Side Up

unread,
Mar 23, 2009, 3:43:02 PM3/23/09
to silverst...@googlegroups.com
sorry, I have been a wee bit BUSY ;-) but I will add a bit more jQuery pop-up functionality in the next few weeks....
Reply all
Reply to author
Forward
0 new messages