t2 wiki beta

8 views
Skip to first unread message

Massimo Di Pierro

unread,
Oct 6, 2008, 5:34:23 PM10/6/08
to web...@googlegroups.com
http://mdp.cti.depaul.edu/examples/static/wiki.zip
contains two apps: plugin_t2.tar and t2_wiki.tar

This is an example of a wiki built using t2 (plugin_t2 and the
t2_wiki, the latter needs the former).

Uses markdown wiki syntax, you can attach documents, comments and
reviews to pages. Pages can be public or private.

1) use admin to create accounts
2) visit http://127.0.0.1:8000/t2_wiki/default/create to create a
page (requires login)

About menu:

If you create a page "title A" and a page "title B" they will appear
in the menu as distinct menu item. If you create a third page called
"title A|title C" then "title C" will be in submenu of "title A".
You can also change the order by adding a "#|" prefix to the name: "2|
title A", "1|title B", "2|title A|1|title C", etc.

This is designed to be very easy to use and a minimalist syntax.

It may need some polish, in particular I would prefer to use a
different layout. Hope you can help improve it.

Massimo

JorgeRpo

unread,
Oct 6, 2008, 6:53:32 PM10/6/08
to web2py Web Framework
Do we need to name them
plugin_t2

and

t2_wiki

upon installation?


On Oct 6, 4:34 pm, Massimo Di Pierro <mdipie...@cs.depaul.edu> wrote:
> http://mdp.cti.depaul.edu/examples/static/wiki.zip
> contains two apps: plugin_t2.tar and t2_wiki.tar
>
> This is an example of a wiki built using t2 (plugin_t2 and the
> t2_wiki, the latter needs the former).
>
> Uses markdown wiki syntax, you can attach documents, comments and
> reviews to pages. Pages can be public or private.
>
> 1) use admin to create accounts
> 2) visithttp://127.0.0.1:8000/t2_wiki/default/createto create a

yarko

unread,
Oct 6, 2008, 7:07:44 PM10/6/08
to web2py Web Framework
You can name the wiki whatever you want;

You can name the module plugin_t2 - if you want to name it something
else, you will need to change
models/db.py to import t2 from whatever you named it.

Right now, it reads:

from applications.plugin_t2.modules.t2 import T2


If you (for example) name it web2py_t2, then you would need to change
this import line to:

from applications.web2py_t2.modules.t2 import T2

Make sense?

Regards,
Yarko

On Oct 6, 5:53 pm, JorgeRpo <jorgeh...@gmail.com> wrote:
> Do we need to name them
> plugin_t2
>
> and
>
> t2_wiki
>
> upon installation?
>
> On Oct 6, 4:34 pm, Massimo Di Pierro <mdipie...@cs.depaul.edu> wrote:
>
> >http://mdp.cti.depaul.edu/examples/static/wiki.zip
> > contains two apps: plugin_t2.tar and t2_wiki.tar
>
> > This is an example of a wiki built using t2 (plugin_t2 and the
> > t2_wiki, the latter needs the former).
>
> > Uses markdown wiki syntax, you can attach documents, comments and
> > reviews to pages. Pages can be public or private.
>
> > 1) use admin to create accounts
> > 2) visithttp://127.0.0.1:8000/t2_wiki/default/createtocreate a

yarko

unread,
Oct 6, 2008, 7:11:06 PM10/6/08
to web2py Web Framework
...that is because you're importing from applications/[whatever you
named the application]/modules/t2.py

JorgeRpo

unread,
Oct 6, 2008, 9:12:44 PM10/6/08
to web2py Web Framework
yes.

got it working now.

thanks
Reply all
Reply to author
Forward
0 new messages