[web2py] Re: cube2py vs. plugin_wiki

2010-10-06 Thread Lobo
Massimo, Great - thanks for clarifying this ! Carlos On Oct 6, 3:06 pm, mdipierro wrote: > plugin_wiki works with any app as long as you apply it. > > cube2py is a clone of the welcome app including plugin_wiki that can > be used as an example. There is nothing special in cube2py other than

[web2py] Re: cube2py vs. plugin_wiki

2010-10-06 Thread mdipierro
plugin_wiki works with any app as long as you apply it. cube2py is a clone of the welcome app including plugin_wiki that can be used as an example. There is nothing special in cube2py other than the fact it includes plugin_wiki. Massimo On Oct 6, 2:11 pm, Lobo wrote: > Hi, > > What are the ma

[web2py] Re: cube2py not working on GAE

2010-08-22 Thread mdipierro
I suspect the problem is that GAE does not create tables until there is data in it. Search on an empty table may fail because of this even if the table is defined (in our case the table of pages). It somebody could help isolate the problem it should be easy to fix. On Aug 22, 5:05 am, smoggy wrot

[web2py] Re: cube2py not working on GAE

2010-08-22 Thread smoggy
In web2py server it works fine, when running on GAE i get the 404 when trying to access home. Does GAE need some indexes that need to be generated to access login ? if so that could be a cyclic dependency :/ . Could anybody try making an account in a clean cub2py application and see if they can lo

[web2py] Re: cube2py not working on GAE

2010-08-21 Thread mdipierro
Do you get a traceback in the console? On Aug 21, 7:03 pm, smoggy wrote: > Hi there, > > I'm trying to get cube2py working on GAE(locally) without sucess. > > The browser loads the login page well > :http://127.0.0.1:8080/cube2py/default/user/login > > but when i try to login and the url changes

Re: [web2py] Re: cube2py news

2010-08-03 Thread Bruno Rocha
I found a trick to do that as #anchor marked with [[anything]] is rendered as ( which I am not sure if it is a good html pratice ) BTW, I solved my problem on white spaces with CSS [[br]] = I want [[brbr]] = I want the CSS #br{ height:15px; line-height:15px; display:block; } #brbr{ height

Re: [web2py] Re: cube2py system (meta) page example request

2010-07-28 Thread Bruno Rocha
> > By The Way > There are many differences between plugin_wiki and c2p? which are most > important? > > 2010/7/28 Bruno Rocha > > > > TKS. > > > > Explained a lot to me, > > I'd be posting a thread pointing an error to render the sidebar in > plugin_wiki. > > now I'll get with a widget. > > (Addi

Re: [web2py] Re: cube2py system (meta) page example request

2010-07-28 Thread Bruno Rocha
TKS. Explained a lot to me, I'd be posting a thread pointing an error to render the sidebar in plugin_wiki. now I'll get with a widget. (Addicting in widgets) 2010/7/28 mdipierro > mind that plugin_wiki in itself does not uses meta-header nor meta- > footer not meta-sidebar. > > cube2py uses the

[web2py] Re: cube2py system (meta) page example request

2010-07-28 Thread mdipierro
mind that plugin_wiki in itself does not uses meta-header nor meta- footer not meta-sidebar. cube2py uses them because it has a special payout that does things like {{=plugin_wiki.embed_page('meta-header') or XML('%s%s' % (response.title, response.subtitle))}} So when

Re: [web2py] Re: cube2py news

2010-07-20 Thread Bruno Rocha
2010/7/20 mdipierro : > response.meta.mycustomfield='bla bla bla' I wasn't referring to custom fields in the header, It's about custom fields in the wiki pages table. if I need for example: create categories for pages, include more information that are not part of the page body( and for that I am

[web2py] Re: cube2py news

2010-07-20 Thread Chris S
If there's already a way to write custom meta-fields which are placed in the header of a page I'd much prefer that to a title field. At the very least, if a lot of users want a default custom 'text' field it should not be named Title and possibly have an option to hide i in the editor. For the no

[web2py] Re: cube2py news

2010-07-20 Thread mdipierro
response.meta.mycustomfield='bla bla bla' On Jul 20, 9:38 am, Bruno Rocha wrote: > Massimo, what about custom fields, there is a way using a widget or I > have to change the model? > > tks > > 2010/7/20 mdipierro : > > > > > In the page/meta-code you can do > > > response.meta.keywords='.' >

Re: [web2py] Re: cube2py news

2010-07-20 Thread Bruno Rocha
Massimo, what about custom fields, there is a way using a widget or I have to change the model? tks 2010/7/20 mdipierro : > In the page/meta-code you can do > > response.meta.keywords='.' > response.meta.description='' etc. > > they will find their way into the header of the page automati

[web2py] Re: cube2py news

2010-07-19 Thread mdipierro
In the page/meta-code you can do response.meta.keywords='.' response.meta.description='' etc. they will find their way into the header of the page automatically On Jul 19, 9:14 pm, rochacbruno wrote: > As a Brazilian I  agree with Julio, BTW I'm using the title field to > create a custo

[web2py] Re: cube2py news

2010-07-19 Thread rochacbruno
As a Brazilian I agree with Julio, BTW I'm using the title field to create a custom index. however it would be better if we had the option to include custom fields, that way we could delete the title field, and create how many custom fields as we need for a page. In my case, I am migrating my Bl

Re: [web2py] Re: cube2py news

2010-07-19 Thread Júlio Monteiro
Hello, In my opinion title should stay, specially for us Brazilians that use lots of accented letters on titles, and also it should be displayed by default as H1 on the top of the page, then it would have more meaning. Just my 2 cents, Julio Monteiro On Mon, Jul 19, 2010 at 6:32 PM, mdipierro w

[web2py] Re: cube2py news

2010-07-19 Thread mdipierro
I could remove the title. You have a point. Anybody opposed? On Jul 19, 3:36 pm, Chris S wrote: > I've been looking through cube2py and just can not figure out what the > "Title" field for a wiki_page is used for. > > The slug is used when: > -referencing a link > -generating the URL (match again

[web2py] Re: cube2py news

2010-07-19 Thread Chris S
I've been looking through cube2py and just can not figure out what the "Title" field for a wiki_page is used for. The slug is used when: -referencing a link -generating the URL (match against slug) The title is used: -In the auto generated History page So why not just always refer to a page by

[web2py] Re: cube2py news

2010-07-18 Thread mdipierro
thanks. In trunk! On Jul 17, 11:33 pm, Scott wrote: > Better late than never!  Here are a few cosmetic changes for the > Widget Builder page.  Please note that I've only included the lines to > be changed; the rest of the lines should remain as-is. > > Thanks! > > bar_chart: Uses Google charting

[web2py] Re: cube2py news

2010-07-17 Thread Scott
Better late than never! Here are a few cosmetic changes for the Widget Builder page. Please note that I've only included the lines to be changed; the rest of the lines should remain as-is. Thanks! bar_chart: Uses Google charting API to embed a bar chart * names is a list of comma separated labe

[web2py] Re: cube2py SELECT widget

2010-07-15 Thread mdipierro
fixed in trunk On 15 Lug, 18:14, Júlio Monteiro wrote: > Hello there, > > Just a small note about the *select* widget. > When there is nothing in the table yet, I get an error: > > Traceback (most recent call last): >   File > "/home/jmonteiro/Devel/nightly_web2py/applications/cube2py/models/plu

[web2py] Re: cube2py news

2010-07-13 Thread Scott
Massimo, I'll take a look at the arguments and instructions tomorrow and give you a report. Cheers, --Scott On Jul 13, 5:49 am, mdipierro wrote: > Please checkout cube2py again. Now it has two new features: > > 1) a button [widget builder] that allows you to build widgets from a > menu with aja

[web2py] Re: cube2py news

2010-07-13 Thread mdipierro
let me add, the point for using markmin is that you cannot add whitespaces arbitrarily but have to hanlde spaces via css. On 13 Lug, 17:07, Chris S wrote: > Ah great, you're correct GAE does not start at id==1 (or it doesn't > guarantee it). > > Any chance we could make the 'editor' group a varia

[web2py] Re: cube2py news

2010-07-13 Thread mdipierro
You can override the default behavior, just set in db.py plugin_wiki_editor = . your condition You cannot insert white spaces in markmin unless you do `` ``:template but it is horrible. On 13 Lug, 17:07, Chris S wrote: > Ah great, you're correct GAE does not start at id==1 (or it d

[web2py] Re: cube2py news

2010-07-13 Thread Chris S
Ah great, you're correct GAE does not start at id==1 (or it doesn't guarantee it). Any chance we could make the 'editor' group a variable so that when importing it into existing applications we can set the name to be that of an already created 'admin' group? Another thing I've been doing recently

[web2py] Re: cube2py news

2010-07-13 Thread mdipierro
The first user (id==1) is editor by default (but not on GAE). Create a group with role='editor' and make yourself member using appadmin. On 13 Lug, 13:11, Chris S wrote: > Ah it's an authorization thing. > > I can get myself to the the index page now, but I'm still not sure how > I make myself a

[web2py] Re: cube2py news

2010-07-13 Thread Chris S
Ah it's an authorization thing. I can get myself to the the index page now, but I'm still not sure how I make myself a 'plugin_wiki_editor' I tried creating a group of that name and using appadmin to add my login to that group but that didn't work. Maybe I'm missing something easy, or maybe the f

[web2py] Re: cube2py news

2010-07-13 Thread Chris S
I also meant to ask, does plugin_wiki just come with cube2py? Can it also be downloaded somewhere separately? I thought it could, but I can't find it anwywhere. Can someone point me to where plugin_wiki is? On Jul 13, 12:39 pm, Chris S wrote: > I just loaded the latest trunk, and the latest cub

[web2py] Re: cube2py news

2010-07-13 Thread Chris S
I just loaded the latest trunk, and the latest cube2py at: https://cube2py.googlecode.com/hg/cube2py I cleared the datastore and memcache then pointed my browser to 127.0.0.1:8080/cube2py I get the login screen, but when I try to register I get a 404. The entire log from the initial page view to

[web2py] Re: cube2py news

2010-07-13 Thread selecta
no really wysiwyg? you are my HERO :D On Jul 13, 12:05 pm, mdipierro wrote: > It would be nice it were possible to modify elRTE to allow > 1) not adding <..> tags inside ``...``:widget blocks > 2) call the widget builder from inside elRTE. > > On 13 Lug, 04:49, mdipierro wrote: > > > > > Please

[web2py] Re: cube2py news

2010-07-13 Thread mdipierro
It would be nice it were possible to modify elRTE to allow 1) not adding <..> tags inside ``...``:widget blocks 2) call the widget builder from inside elRTE. On 13 Lug, 04:49, mdipierro wrote: > Please checkout cube2py again. Now it has two new features: > > 1) a button [widget builder] that all

Re: [web2py] Re: cube2py caveats

2010-07-12 Thread Júlio Monteiro
Thank you, Massimo! It works now. Cheers, Julio Monteiro On 07/12/2010 12:02 PM, mdipierro wrote: perhaps I did a mistake. I just did it again. On 12 Lug, 09:35, Júlio Monteiro wrote: Hello Massimo, I tried "hg pull" on the cube2py application directory however it said there are no cha

[web2py] Re: cube2py caveats

2010-07-12 Thread mdipierro
perhaps I did a mistake. I just did it again. On 12 Lug, 09:35, Júlio Monteiro wrote: > Hello Massimo, > > I tried "hg pull" on the cube2py application directory however it said > there are no changes found, did you commit it into web2py trunk or > somewhere else? > > Thanks for the help! > Julio

Re: [web2py] Re: cube2py caveats

2010-07-12 Thread Júlio Monteiro
Hello Massimo, I tried "hg pull" on the cube2py application directory however it said there are no changes found, did you commit it into web2py trunk or somewhere else? Thanks for the help! Julio Monteiro On 07/12/2010 11:28 AM, mdipierro wrote: please try now. On 12 Lug, 09:11, Júlio Mon

[web2py] Re: cube2py caveats

2010-07-12 Thread mdipierro
please try now. On 12 Lug, 09:11, Júlio Monteiro wrote: > Hello Massimo, > > I was trying cube2py today and I think I found a bug. > When I insert code in "meta-code" it gives me an error if the code is not in > a single line, or even if a single line of code is split between multiple > lines of

Re: [web2py] Re: cube2py caveats

2010-07-12 Thread Júlio Monteiro
Hello Massimo, I was trying cube2py today and I think I found a bug. When I insert code in "meta-code" it gives me an error if the code is not in a single line, or even if a single line of code is split between multiple lines of text the error remains. Here is a traceback: Traceback (most recent

[web2py] Re: cube2py caveats

2010-07-12 Thread mdipierro
todo: add reportlab so that pages can export to PDF add import/export of models add in-line edit with jqgrid (could use help) add in-place editable wiki-in-wiki. add facebook login (good idea?) what else? Massimo On 12 Lug, 03:52, mdipierro wrote: > This is just to let people know that cube2py

[web2py] Re: cube2py

2010-07-11 Thread JmiXIII
Ok I was wondering if I missed something. Sorry I'm not a good hacker, but I'll try to patch it On 11 juil, 20:21, mdipierro wrote: > On 11 Lug, 09:29, JmiXIII wrote: > > > Hello, > > > I've just tried to import plugin_wiki in my app. > > It seems to work nice and I think it will help me a

[web2py] Re: cube2py

2010-07-11 Thread mdipierro
On 11 Lug, 09:29, JmiXIII wrote: > Hello, > > I've just tried to import plugin_wiki in my app. > It seems to work nice and I think it will help me a lot. > > Yet I've tried Crud via ``create. and list via ``jqgrid... > * Would it be possible to have a full Crud interface with the jqgrid > (I