# \[ANN\] AdminPages Rails CMS is now an engine

**URL:** <https://www.ruby-forum.com/t/ann-adminpages-rails-cms-is-now-an-engine/93673>\
**Category:** Rails\
**Created:** [April 6, 2006, 1:05am UTC](https://www.ruby-forum.com/t/ann-adminpages-rails-cms-is-now-an-engine/93673 "2006-04-06T01:05:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![wooyay](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/8c91f0/32.png) [@wooyay](https://www.ruby-forum.com/u/wooyay)\
**Post date:** [April 6, 2006, 1:05am UTC](https://www.ruby-forum.com/t/ann-adminpages-rails-cms-is-now-an-engine/93673/1 "2006-04-06T01:05:53Z")

</div>

Hi all, I just released the new version of my CMS AdminPages as a Rails  
engine.  
It uses the Dojo Toolkit for UI elements.

Features:

Manipulate pages and content with Drag n Drop,  
Pages in a sortable tree,  
easy to define new page elements,  
“Nice” URLs,  
Page Caching,  
Rich Text Editor,  
multiple columns per page,  
custom content types,  
Layout scaffolding  
BSD license  
(…)

There’s a running demo at [http://adminpages.flowdev.de](http://adminpages.flowdev.de)  
The server is pretty bad, so expect downtimes.

Here’s a screenshot:  
[http://gonzo.uni-weimar.de/~scheffl2/bilder/adminpages.jpg](http://gonzo.uni-weimar.de/~scheffl2/bilder/adminpages.jpg)

The project homepage is [http://rubyforge.org/projects/adminpages](http://rubyforge.org/projects/adminpages)

Download:  
[http://rubyforge.org/frs/download.php/9541/admin\_pages\_engine\_0.2.0.tar.gz](http://rubyforge.org/frs/download.php/9541/admin_pages_engine_0.2.0.tar.gz)  
A whopping 37 kb! 🙂

It should run under recent IE and firefox versions, I did not yet test  
with Safari or Opera. The tree does not appear under Konqueror, I’m sure  
it will work in the future.

So if you like the system, you are very welcome to contribute! We need  
more page elements, and of course a lot of testing.  
Documentation is in the README file included in the package.

Bug reports and other stuff to removed\_email\_address@domain.invalid

Martin

---

<div class="post-metadata">

**Author:** ![wooyay](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/8c91f0/32.png) [@wooyay](https://www.ruby-forum.com/u/wooyay)\
**Post date:** [April 6, 2006, 10:09am UTC](https://www.ruby-forum.com/t/ann-adminpages-rails-cms-is-now-an-engine/93673/2 "2006-04-06T10:09:31Z")

</div>

wooyay wrote:

> Hi all, I just released the new version of my CMS AdminPages as a Rails  
> engine.  
> It uses the Dojo Toolkit for UI elements.

Hi Wooyay,  
that looks awesome!  
Gonna try to install it when I’m home

Steve

---

<div class="post-metadata">

**Author:** ![wooyay](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/8c91f0/32.png) [@wooyay](https://www.ruby-forum.com/u/wooyay)\
**Post date:** [April 6, 2006, 10:42am UTC](https://www.ruby-forum.com/t/ann-adminpages-rails-cms-is-now-an-engine/93673/3 "2006-04-06T10:42:14Z")

</div>

On 4/6/06, wooyay [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi all, I just released the new version of my CMS AdminPages as a Rails  
> engine.  
> It uses the Dojo Toolkit for UI elements.

Interesting!

Did you try to use Dojo and Prototype in the same page? From what I  
saw you didn’t include prototype, is there a particular reason  
(conflict)?

I’m very interested in dojo for some widgets, but would use prototype  
and scriptaculous on the same pages.

Raph

---

<div class="post-metadata">

**Author:** ![wooyay](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/8c91f0/32.png) [@wooyay](https://www.ruby-forum.com/u/wooyay)\
**Post date:** [April 6, 2006, 12:19pm UTC](https://www.ruby-forum.com/t/ann-adminpages-rails-cms-is-now-an-engine/93673/4 "2006-04-06T12:19:19Z")

</div>

Raphael B. wrote:

> On 4/6/06, wooyay [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Hi all, I just released the new version of my CMS AdminPages as a Rails  
> > engine.  
> > It uses the Dojo Toolkit for UI elements.
> 
> Interesting!
> 
> Did you try to use Dojo and Prototype in the same page? From what I  
> saw you didn’t include prototype, is there a particular reason  
> (conflict)?
> 
> I’m very interested in dojo for some widgets, but would use prototype  
> and scriptaculous on the same pages.
> 
> Raph

Hi Raph,

actually I had the whole system use Scriptaculous, but switched to dojo  
in the middle of the project. I did that because the drag and drop  
functionality of dojo is generally more refined, and especially because  
it allows nested drop targets. The tree widget is really cool, too.

When you look at the “edit layout” page,  
[http://adminpages.flowdev.de/admin\_pages/edit\_page\_layout/5](http://adminpages.flowdev.de/admin_pages/edit_page_layout/5)  
you will see that this page uses scriptaculous. That is because I didn’t  
have time yet to rewrite it.

You can load both libraries, just take care to load scriptaculous after  
including all dojo libraries. This is neccessary because prototype  
extends/pollutes the main address space of JavaScript and gets in the  
way of dojos load scripts.

---

<div class="post-metadata">

**Author:** ![wooyay](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/8c91f0/32.png) [@wooyay](https://www.ruby-forum.com/u/wooyay)\
**Post date:** [April 6, 2006, 1:07pm UTC](https://www.ruby-forum.com/t/ann-adminpages-rails-cms-is-now-an-engine/93673/5 "2006-04-06T13:07:34Z")

</div>

Hi Martin

This looks absolutely fantastic, well done. Great to see Rails,  
Engines, Dojo and Scriptaculous all working together.

I think I’ll be playing with this for the rest of the day ;o)

Great work,  
Simon

---

<div class="post-metadata">

**Author:** ![wooyay](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/8c91f0/32.png) [@wooyay](https://www.ruby-forum.com/u/wooyay)\
**Post date:** [April 6, 2006, 1:47pm UTC](https://www.ruby-forum.com/t/ann-adminpages-rails-cms-is-now-an-engine/93673/6 "2006-04-06T13:47:40Z")

</div>

Roberto S. wrote:

> Martin, that looks great. I haven’t looked at the code yet, but did you  
> manage to use the rails helpers for the dojo stuff or did you create  
> rails  
> helpers for the dojo stuff ?
> 
> regards  
> Roberto

Hi Roberto,  
glad you like it!  
I did not create helpers, because my functions were all very customized

- the chance of reusability was very low. I put all functions into a .js  
file and call them in the code with tags.  
The difference in using dojo and scriptaculous is that dojo does not  
have those basic functions like “new droppable”. You get all the stuff  
you need, but have to plug them together yourself.  
This is not good if you want to do standard stuff like a highlight  
effect, but it is better when you want to do things the library  
developers did not think of.  
And Dojos event system simply kicks ass 🙂

---

<div class="post-metadata">

**Author:** ![wooyay](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/8c91f0/32.png) [@wooyay](https://www.ruby-forum.com/u/wooyay)\
**Post date:** [April 6, 2006, 11:02pm UTC](https://www.ruby-forum.com/t/ann-adminpages-rails-cms-is-now-an-engine/93673/7 "2006-04-06T23:02:40Z")

</div>

I had to do a new release because of some bugs in column sorting and the  
image upload element. The new release is 0.2.2.  
Get it here: [http://rubyforge.org/frs/?group\_id=1429](http://rubyforge.org/frs/?group_id=1429)

The online demo is still running at [http://adminpages.flowdev.de](http://adminpages.flowdev.de) , so  
check it out if you haven’t seen it yet

Martin

---

<div class="post-metadata">

**Author:** ![wooyay](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/8c91f0/32.png) [@wooyay](https://www.ruby-forum.com/u/wooyay)\
**Post date:** [April 6, 2006, 1:41pm UTC](https://www.ruby-forum.com/t/ann-adminpages-rails-cms-is-now-an-engine/93673/8 "2006-04-06T13:41:30Z")

</div>

Martin, that looks great. I haven’t looked at the code yet, but did you  
manage to use the rails helpers for the dojo stuff or did you create  
rails  
helpers for the dojo stuff ?

regards  
Roberto
