I have created wiki page named "Sidebar" and using auth.wiki('Sidebar') I
want to insert it as sidebar on website. When viewing page it looks ok, but
on service pages I get following in place of sidebar.
{'content': }
I have followed web2py_manual_5th.pdf, so my controler returns auth.wiki()
I have created wiki page named "Sidebar", then
using {{=auth.wiki('Sidebar')}} inserted it in default/index.html. On wiki
pages it looks ok but on service pages (_edit, _editmedia, _search...) i
get following in place of desired sidebar.
{'content': } - On _editmedia
{'content': } - On _edit
I have created wiki page named "Sidebar" and using auth.wiki('Sidebar') I
want to insert it as sidebar on website. When viewing page it looks ok, but
on service pages I get following in place of sidebar.
{'content': }
I have followed web2py_manual_5th.pdf, so my controler returns auth.wiki()
Can at least someone try to reproduce this. I am using web2py version 2.8.2.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message bec
Thanks for reply. In attachment you can see what I get on service pages
(_edit, _editmedia, _search...)
Here presented is happening on wiki/default/index/_edit/index
On _editmedia i get
{'content': }
On _search
{'content': }
As you can see, they are slightly different.
In earlier version (2.6.
>
> As a workaround you could try replacing the wiki(..) calls with
> wiki(...)["content"]. Anyway it seems that the output format for the wiki
> method has changed for different versions.
>
>
I've tried {{=auth.wiki(slug="test", force_render=True)["content"]}}, now
I get duplicate of service
Ok, I have reported the issue.
Dana srijeda, 18. prosinca 2013. 19:28:15 UTC+1, korisnik Alan Etkin
napisao je:
>
> I've tried {{=auth.wiki(slug="test", force_render=True)["content"]}}. I
>> get error ticket.
>>
>
> Would you please file an issue at web2py.googlecode.com? If possible,
> post a
Thank you for your help. I've tried it, and it works for me.
Dana četvrtak, 19. prosinca 2013. 20:35:37 UTC+1, korisnik Alan Etkin
napisao je:
>
> El jueves, 19 de diciembre de 2013 07:54:34 UTC-3, Janko Strusa escribió:
>>
>> Ok, I have reported the issue.
>>
>
I am trying to use http://pygal.org/ with my web2py. But I can't import
paygal. Since I am new to python programing I've got lost.
I've tried "easy_install pygal" in shell, like from this example
http://www.web2pyslices.com/slice/show/1634/beauty-graphics-and-charts-with-pygal
but
it does not
How can I implement this in a view. I am not sure how to call that markmin
action to be used instead of MARKMIN helper.
Dana srijeda, 8. svibnja 2013. 17:23:24 UTC+2, korisnik Massimo Di Pierro
napisao je:
>
> There is an "official" syntax for this.
>
> @{component:controller/function/args}
To work properly you should place
https://www.google.com/jsapi";>
google.load('visualization', '1', {packages: ['corechart']});
in layout.html, between head tags. This should load first.
Then rest of the script should go to .load file. Also note that, if you are
running functi
11 matches
Mail list logo