Re: [web2py] Re: plugin_wiki meta-menu

2012-08-07 Thread villas
Yes, that is an even better idea - it is more flexible. Thanks, On Monday, August 6, 2012 12:48:21 PM UTC+1, mweissen wrote: > > Thank you - nice solution. > I have changed it to: > > elif url.startswith('url:'): > url=URL(*(url[4:].split('/'))) > > Usage: > url:application/controller/function

Re: [web2py] Re: plugin_wiki meta-menu

2012-08-06 Thread Martin Weissenboeck
Thank you - nice solution. I have changed it to: elif url.startswith('url:'): url=URL(*(url[4:].split('/'))) Usage: url:application/controller/function All three parts must be supplied. I think, something like this should become part of the plugin_wiki. 2012/8/6 villas > I had a similar prob

Re: [web2py] Re: plugin_wiki and public pages

2011-02-24 Thread Sebastian E. Ovide
Hi Mart, yes it makes sense... do you know if there is any way to add some logic into the wiki pages ? I was thinking of adding some authorization logic straight into the pages On Thu, Feb 24, 2011 at 8:30 AM, mart wrote: > Hi Sebastian, > > sorry for the wait (crazy day). So, I remember a

Re: [web2py] Re: plugin_wiki and public pages

2011-02-23 Thread Sebastian E. Ovide
Hi Mart, On Wed, Feb 23, 2011 at 12:06 AM, Mart wrote: > > So, I notice I skipped something... So the I meant to say... Yuu create a > "group" called 'editor', then give the users that who should be able to > edit, a membership to group editor (from table auth_memebership --> pull > down menu,

Re: [web2py] Re: plugin_wiki and public pages

2011-02-22 Thread Sebastian E. Ovide
adding web2py as left it out of the thread by mistake... On Wed, Feb 23, 2011 at 12:06 AM, Mart wrote: > > Hey Sebastian, > > So, I notice I skipped something... So the I meant to say... Yuu create a > "group" called 'editor', then give the users that who should be able to > edit, a membership

Re: [web2py] Re: plugin_wiki and public pages

2011-02-22 Thread Sebastian E. Ovide
Hi Mart, that is what I'm trying to do... some editors, some people with read only access (logged in people) and rest with not any right... still could not get it work.. assigning a user EDITOR to the groups EDITORS and setting a page as NO public and with role EDITORS will grant access to EDITOR

Re: [web2py] Re: plugin_wiki suggestions

2011-02-09 Thread Albert Abril
The WATCH THE VIDEO link is broken at Google Code. I guess it should link to this one: http://vimeo.com/13485916 Regards! On Wed, Feb 9, 2011 at 4:17 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > It is in google code, inside the example app: > > http://code.google.com/p/cube2py/ >

Re: [web2py] Re: plugin_wiki suggestions

2011-02-08 Thread Plumo
OK I assume there is not. I placed the following in meta-code: heading = 'abc' But the wiki pages throw an error that heading is undefined. I also tried: {{ heading = 'abc' }} and: `` {{ heading = 'abc' }} ``:template but heading is still undefined. The editor level is set to 3.

Re: [web2py] Re: plugin_wiki suggestions

2011-02-07 Thread Plumo
that would require an additional database request and replicating the logic from controllers/plugin_wiki.py - is there no way to reuse the data from the controller?

Re: [web2py] Re: plugin_wiki suggestions

2011-02-07 Thread Bruno Rocha
You can do that in meta-code page, create a wiki page called meta-code, this code will be executed before the execution of any page. 2011/2/7 Plumo > yes mode 3, but as mentioned response.title is empty (None). > > Where do I need to define response.title for the plugin to use it? I tried > mo

Re: [web2py] Re: plugin_wiki suggestions

2011-02-06 Thread Plumo
I also made this change to set the page title. How can I access the page title from within a wiki page? response.title is empty

Re: [web2py] Re: plugin_wiki: who is authorized?

2010-09-04 Thread Johann Spies
> can you check the value plugin_wiki_editor in the controller? Thanks. Changing the group 'editor' to 'plugin_wiki_editor' helped. Regards Johann --     "Be not deceived; God is not mocked: for whatsoever a      man soweth, that shall he also reap."                                   Galatian

Re: [web2py] Re: plugin_wiki with 1.82.1 "meta" page error

2010-08-05 Thread Bruno Rocha
Massimo, I posted a new issue: http://code.google.com/p/cube2py/issues/detail?id=4 Do you prefer to keep the bug tracking in Google Code? or here in the list? 2010/8/5 mdipierro > I posted it now at > > http://web2py.com/examples/static/web2py.plugin.wiki.w2p > > please check it. > > On Aug 5,

Re: [web2py] Re: plugin_wiki with 1.82.1 "meta" page error

2010-08-05 Thread Bruno Rocha
Take a look in your layout.html when you create meta- pages, is expected to yout layout.html to render that code.. HEADER {{=auth.navbar('Welcome',URL(r=request,c='default',f='user'))}} {{=*plugin_wiki.embed_page('meta-header')* or XML('%s%s' % (response.title, response.subtitle))

Re: [web2py] Re: plugin_wiki suggestions

2010-08-04 Thread Bruno Rocha
Sorry, I am so stupid... I forgotten about anchors Thanks again 2010/8/4 mdipierro > Yes you can: > > [[my reference #id1]] > > [[id1]] referenced material > > On Aug 3, 11:56 pm, Bruno Rocha wrote: > > Useful suggestion: > > > > markmin currently does not allow the creation of references to l

Re: [web2py] Re: plugin_wiki suggestions

2010-08-03 Thread Bruno Rocha
Useful suggestion: markmin currently does not allow the creation of references to links, this is very useful when the written material might be used for printing as well. thus present a list of links referenced in the footnote. with markdown, we can do: This is [an example] [id] reference-style l

Re: [web2py] Re: plugin_wiki suggestions

2010-08-03 Thread Bruno Rocha
Thanks, Massimo I have no doubt, I will keep the markmin as markup language for my site, I did a comparison and I write much faster with markmin than with LaTeX, markdown, html Or Another. I'll do everything possible to contribute on issues that I have knowledge. if I get some success will send a

Re: [web2py] Re: plugin_wiki suggestions

2010-08-02 Thread Bruno Rocha
- Page History page history does not works on GAE, http://web2pybrasil.appspot.com/init/plugin_wiki/page_history/home Fails and raises a ticket There is a limit to history entries per page? I mean, if I edit a page too many times this will create too many entries in plugin_wiki_page_history I t

Re: [web2py] Re: plugin_wiki suggestions

2010-08-02 Thread Bruno Rocha
Another suggestion: should be the page.title field of plugin_wiki_page just including response.title = page.title to page controller def page(): """ shows a page """ slug = request.args(0) or 'index' w = db.plugin_wiki_page page = db(w.slug==slug).select().first() res

Re: [web2py] Re: plugin_wiki suggestions

2010-08-02 Thread Bruno Rocha
Another BUG in markmin render paragraph with **bold**, ''italic'' and ``code``.but: **text** renders as text **text:** renders as **text:** the same happens if we put any mark, point or accent as the last in Markup **text()** renders as **text()** where should render as text() 2010

Re: [web2py] Re: plugin_wiki suggestions

2010-08-01 Thread Bruno Rocha
Error on "select" widget, trying to fetch non UTF-8 text records, People wrote a message in portuguese, a lot of accents, [ á, é, ã, ê, í] , to insert with "create"widget no problem, then I can view the records on GAE admin. But when I try to select the accentuated records with " select"widge

Re: [web2py] Re: plugin_wiki suggestions

2010-08-01 Thread Bruno Rocha
SlideShow widget also does not runs on GAE. try it; http://web2pybrasil.appspot.com/init/plugin_wiki/page/images the code: http://web2pybrasil.appspot.com/init/plugin_wiki/page.code/images Given an image saved as BLOB in GAE, how to retrieve this image URL to put it on Wiki Page body? 2010/8/1

Re: [web2py] Re: plugin_wiki suggestions

2010-08-01 Thread Bruno Rocha
Page Attachments does not works on GAE 2010/8/1 Bruno Rocha > I am developing and writing a lot with plugin_wiki (cube2py). I already > have some suggestions, observations and have also found some bugs. > As I'm finding more issues, I will posting here in this thread. If someone > else has somet

Re: [web2py] Re: plugin_wiki suggestions

2010-08-01 Thread rochacbruno
I mean that THISPAGE should be a shortcut to {{=request.args(0)}} THISPAGE = '{{=request.args(0)}}' " name: comments table: THISPAGE record_id: 1 ":comments or " {{=THISPAGE}} ":template Sent from my iPhone On 01/08/2010, at 05:40, qqsaqq wrote: > Concerning Your THISPAGE idea: > > I thi

Re: [web2py] Re: plugin_wiki suggestions

2010-08-01 Thread rochacbruno
No I was talking about an alias to {{= request.args(0)}} used in :widget and :template Sent from my iPhone On 01/08/2010, at 05:40, qqsaqq wrote: > Concerning Your THISPAGE idea: > > I think what You mean can be achieved simply by writing > [[this page #]] > I tried it, works great. > > O

Re: [web2py] Re: plugin_wiki suggestions

2010-08-01 Thread Bruno Rocha
One more suggestion for today. It will be great to create new pages from "template", as creating a template page with standard texts, widgets and other stuff, we have any way to duplicate that page. actually just creating a way to duplicate certain page will do that work. {{=thanks}} 2010/8/1 B

Re: [web2py] Re: plugin_wiki suggestions

2010-07-31 Thread Bruno Rocha
But the ".code" thing, is usefull for editors, so there is a way to ".code" output be available only to logged in editor users? its usefull to check the code as in http://web2pybrasil.appspot.com/cursoweb2py/plugin_wiki/page.code/meta-code 2010/8/1 Bruno Rocha > I Just found one more thing: >

Re: [web2py] Re: plugin_wiki suggestions

2010-07-31 Thread Bruno Rocha
I Just found one more thing: take this page by example: http://web2pybrasil.appspot.com/cursoweb2py/plugin_wiki/page/curso-web2py-002 now add a ".code" to he action http://web2pybrasil.appspot.com/cursoweb2py/plugin_wiki/page.code/curso-web2py-002 even logged out, you can see the code behind th

Re: [web2py] Re: plugin_wiki suggestions

2010-07-31 Thread Bruno Rocha
I am developing and writing a lot with plugin_wiki (cube2py). I already have some suggestions, observations and have also found some bugs. As I'm finding more issues, I will posting here in this thread. If someone else has something to add, enjoy the thread. I am working now on this page : http://

Re: [web2py] Re: plugin_wiki - how to define the target to an external link?

2010-07-30 Thread Bruno Rocha
As i really didn't figure out how to implement what you propose, I decided to do it in the wrong way: in meta-code I defined: def elink(text,url,target='_blank'): """ >>>elink('Google','http://google.com') 'Google' >>>elink('Google','http://google.com','_self') 'Google' ""

Re: [web2py] Re: plugin_wiki

2010-07-21 Thread Bruno Rocha
Where can I download standalone plugin_wiki to include in my running web2py app? 2010/7/21 Tim Michelsen : >> What does the roadmap look like for >> the future? > Yes, that's exactly my question at the moment. > > I mean there were a numbert of attempts: > t1, t2, c9, cube2py and now just plugin_w

Re: [web2py] Re: plugin_wiki

2010-07-21 Thread Luis Díaz
Greetings, my personal and humble opinion about plugin_wiki: You're on the right track and if it remains as "plugin", I congratulate you in advance! Plugin_wiki I hope to keep growing and allow more people to become part of Community shows I hope it is another tool and not something that re