If you just want to print the variable 'heading' that you've defined,
put this in your page:
``
{{
=header
}}
``:template
On Feb 9, 12:53 am, Plumo richar...@gmail.com wrote:
OK I assume there is not.
I placed the following in meta-code:
heading = 'abc'
But the wiki pages throw an error
Would you consider the idea of putting plugin_wiki source code in a
(git?) repository for versioning?
On Feb 7, 2:26 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
If you are in mode 3 (code allowed) you can do ``{{=response.title}}
``:template
On Feb 7, 12:29 am, Plumo
It is in google code, inside the example app:
http://code.google.com/p/cube2py/
On Feb 9, 8:36 am, blackthorne francisco@gmail.com wrote:
Would you consider the idea of putting plugin_wiki source code in a
(git?) repository for versioning?
On Feb 7, 2:26 pm, Massimo Di Pierro
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/
Massimo,
Regarding the problem with the reserved SQL words, I entered it as an
issue on cube2py (issue 6).
Regards, D
On Feb 9, 3: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/
On Feb 9, 8:36 am,
yes of course. Unfortunately that throws an error that heading is
undefined.
What is defined in meta-code or other models is not available.
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
If you are in mode 3 (code allowed) you can do ``{{=response.title}}
``:template
On Feb 7, 12:29 am, Plumo richar...@gmail.com wrote:
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
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
models/menu.py and controllers/plugin_wiki.py without success.
views/layout.html is able to use response.title.
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 richar...@gmail.com
yes mode 3, but as mentioned response.title is empty (None).
Where do I need to define response.title for the plugin to use
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?
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
Yes you can:
[[my reference #id1]]
[[id1]] referenced material
On Aug 3, 11:56 pm, Bruno Rocha rochacbr...@gmail.com wrote:
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
Please check the cube2py on google code.
I did not fix the problem with the error but now template=None should
not appear anymore.
On Aug 3, 10:48 pm, Bruno Rocha rochacbr...@gmail.com wrote:
Thanks Massimo,
template function is very well, but raises an error ticket when passing
'None' in
Sorry, I am so stupid... I forgotten about anchors
Thanks again
2010/8/4 mdipierro mdipie...@cs.depaul.edu
Yes you can:
[[my reference #id1]]
[[id1]] referenced material
On Aug 3, 11:56 pm, Bruno Rocha rochacbr...@gmail.com wrote:
Useful suggestion:
markmin currently does not allow
Done. please check it.
On Aug 1, 2:03 am, Bruno Rocha rochacbr...@gmail.com wrote:
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
``
name: comment
table: [page]
record_id: 1
``:comment
not sure this is a good idea but for now it should work.
On Aug 1, 9:33 am, rochacbruno rochacbr...@gmail.com wrote:
I mean that THISPAGE should be a shortcut to {{=request.args(0)}}
THISPAGE = '{{=request.args(0)}}'
name: comments
fixed too. This was a markmin bug.
On Aug 2, 8:23 am, Bruno Rocha rochacbr...@gmail.com wrote:
Another BUG in markmin render
paragraph with **bold**, ''italic'' and ``code``.but:
**text** renders as btext/b
**text:** renders as p**text:**/p
the same happens if we put any mark, point
I am not convinced this is a good idea.
On Aug 2, 2:11 pm, Bruno Rocha rochacbr...@gmail.com wrote:
Another suggestion:
title/title should be the page.title field of plugin_wiki_page just
including response.title = page.title to page controller
def page():
shows a page
I never though somebody sould have more than 1000 revisions. Let's
think about a good solution. The one you propose may be ok.
On Aug 2, 3:54 pm, Bruno Rocha rochacbr...@gmail.com wrote:
- Page History
page history does not works on
Hello,
where can we see these changes?
Do you intend to upload?
Thanks.
I just did
On Aug 3, 6:06 am, Timmie timmichel...@gmx-topmail.de wrote:
Hello,
where can we see these changes?
Do you intend to upload?
Thanks.
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
And I did send you the markmin2latex.py the book chap13 I posted is
pure markmin2latex output without any manual edit.
On Aug 3, 7:46 am, Bruno Rocha rochacbr...@gmail.com wrote:
Thanks, Massimo
I have no doubt, I will keep the markmin as markup language for my site, I
did a comparison and I
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
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 createwidget no problem, then I can view the
records on GAE admin.
But when I try to select the accentuated records with selectwidget
its
Another BUG in markmin render
paragraph with **bold**, ''italic'' and ``code``.but:
**text** renders as btext/b
**text:** renders as p**text:**/p
the same happens if we put any mark, point or accent as the last in Markup
**text()** renders as p**text()**/p
where should render as
Another suggestion:
title/title 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()
- 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
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
Concerning Your THISPAGE idea:
I think what You mean can be achieved simply by writing
[[this page #]]
I tried it, works great.
On Aug 1, 6:54 am, Bruno Rocha rochacbr...@gmail.com wrote:
I am developing and writing a lot with plugin_wiki (cube2py). I already have
some suggestions,
Concerning Your THISPAGE idea:
You can achieve this simply by writing
[[this page #]]
in the markmin editor.
This will create a Link with the name this page and it links to
http://127.0.0.1:8000/cube2py/plugin_wiki/page/home# (mind the # in
the end!)
On Aug 1, 7:22 am, Bruno Rocha
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 sla...@gmx.net wrote:
Concerning Your THISPAGE idea:
I think what You mean can be achieved simply by writing
[[this page #]]
I tried it, works
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 sla...@gmx.net wrote:
Concerning Your THISPAGE idea:
Page Attachments does not works on GAE
2010/8/1 Bruno Rocha rochacbr...@gmail.com
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
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
Not yet. You can post here for now. Not sure it needs a new place.
If you have comments please send them asap since I am about to make
some changes and write a book chapter about it tomorrow.
On 1 Ago, 04:55, Bruno Rocha rochacbr...@gmail.com wrote:
Sorry again, I am creating a new thread about
Fornow you can post here.Please send your comments asap because I am
about to revise it and write a book chapter about it.
On 1 Ago, 04:55, Bruno Rocha rochacbr...@gmail.com wrote:
Sorry again, I am creating a new thread about plugin_wiki.
I wonder if there is any public place where we can
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 the
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 rochacbr...@gmail.com
I Just found
40 matches
Mail list logo