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
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
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
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,
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
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
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/
>
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.
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?
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
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
> 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
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,
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))
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
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
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
- 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
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
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
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
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
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
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
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
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
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:
>
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
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://
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'
""
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
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
32 matches
Mail list logo