This comes up once in a while. The book is not released under an open
source licence (only the code is).
Massimo
On Dec 27, 1:02 am, Vladimir Rutsky wrote:
> Hello!
>
> Under which license book available athttp://web2py.com/bookis
> distributed? If it is under some open source license, where I c
Hello!
Under which license book available at http://web2py.com/book is
distributed? If it is under some open source license, where I can find
its sources?
Regards,
Vladimir Rutsky
Best Online Jobs
http://gsonlinejobs.yolasite.com/
I guess you could connect to the WIFI AP and query them for connected
hosts. (but still have to use request.client to know whos who)
You will need to parse the pages from Wifi ap to get your information.
I tried to achieve something similar with below link - have a look.
Although I did not change the downloads() default function. It worked
for me..
http://groups.google.com/group/flutuberwachung/browse_thread/thread/32b9daae6cc14840/e03404cf2d6e35b5#e03404cf2d6e35b5
Cheers Rahul
On Dec 23, 9:28 p
Requirement: you need at least version 1.99.4
Actualizá alan ese web2py es muy viejo.
2011/12/26 Alan Etkin
> Here is the last error created (after the service was recovered and
> tried to access instant press app, i am not the server admin and have
> no access to the system except by the web
Here is the last error created (after the service was recovered and
tried to access instant press app, i am not the server admin and have
no access to the system except by the web2py admin interface)
web2py™ Version 1.94.6 (2011-03-27 18:20:38)
Python Python 2.5.2: /usr/bin/python
Traceba
Any hint or traceback?.
2011/12/26 Alan Etkin
> Good work Martin. Thanks
>
> I tried to load the installer with appadmin on a production server and
> the server stopped working :/
> Anyway, i don't think it is related to instant press issues.
>
> By the way, i think the admin access is hard to f
In articles you have body: the full content of the article, is displayed
when you hit readmore. And extract is the portion of content displayed in
index or search. You have to fill both.
2011/12/26 Ovidio Marinho
> Revolviendo la discursion del post new Post:
>
> no momiento en que se fixa la no
Massimo,
I'm afraid the online web2py book search functionality is very
ineffective- returning results as "Chapters Containing Matching Text"
means you still have to drill into each chapter link to find what
you're looking for. If you're searching for a common term, it
basically gives you the enti
Hi guys, thanks for the quick response. I thought I had tried XML() and
could not make it work. After reviewing several posts, that turned out to
do what I needed. It's works great.. XML('raw html string') renders
beautifully. Thanks.
Hi, I think I recently did something similar to what you described, but I
resolved my issues by displaying it inside an Iframe.
HTH
Regards, David
The book states:
In fact db.tablename and "reference tablename" are equivalent field types.
But this seems to be true only if you are using a single database. I had a
second database, db2 and defined a reference field to it as:
Field('myfield', db2.country)
and Web2Py created the field type: 're
Yeah, but the point is to know which Ap I'm connected. Getting the Ap
ip, or Ap ssid name should resolve my problem.
But as You said, it seems (to me) no possible to get such informations
with client applications.
Thank You Alan.
On Dec 26, 9:04 pm, Alan Etkin wrote:
> You can detect the client i
Doing {{=XML(html)}} in the view should create the correct output
On 26 dic, 17:01, OpenMercury wrote:
> Hello,
>
> I'm new to web2py. I've been putting together a site for a few weeks. I'm
> very impressed with the capabilities. I'm having a problem. I have a
> module that generates some htm
And what about using the represent attribute?:
db.mytable.myfield.represent = lambda myfield, r: T(myfield)
On 26 dic, 17:54, Mathias Van Daele wrote:
> My goal is the following :
>
> If I make a SQL/CRUD form for a person object,
> then the third attribute to set is the size.
> I have to choose
My goal is the following :
If I make a SQL/CRUD form for a person object,
then the third attribute to set is the size.
I have to choose the value from a selection list.
(IS_IN_DB(db,'size.name'))
In the selection list, I can't get the translated values.
Unfortunately, that is exactly what I want.
Great, Massimo!
2011/12/26 Massimo Di Pierro
> uploading to trunk
>
> On Dec 26, 11:42 am, Alexandre Andrade
> wrote:
> > I could solve most of my problems using the new fantastic smartgrid.
> >
> > But i have 2 sugestions for the developers:
> >
> > in sqlhtml.py
> >
> > Line 1368 :
> >
> > fr
Hello,
I'm new to web2py. I've been putting together a site for a few weeks. I'm
very impressed with the capabilities. I'm having a problem. I have a
module that generates some html that I want to show the user so they can
use it on their site (shopping cart). The html is a customized scr
Good work Martin. Thanks
I tried to load the installer with appadmin on a production server and
the server stopped working :/
Anyway, i don't think it is related to instant press issues.
By the way, i think the admin access is hard to find in the default
view for logged-in users. Maybe it could b
You can detect the client ip with the request object (request.client).
But i don't think that access point detection is possible with web
server or client applications.
On 26 dic, 13:20, Mchurch wrote:
> Merry Christmas and a beautiful happy new Year to all the web2py's
> Family!
> I would like t
There may be an HTTP REFERER head in request.env.http_referer
Not guaranteed since depends on browser.
On Dec 26, 1:40 pm, Yarin wrote:
> Is there any way to get the referring function from a request object-
> That is, the function that generated the referer url, if it exists?
uploading to trunk
On Dec 26, 11:42 am, Alexandre Andrade
wrote:
> I could solve most of my problems using the new fantastic smartgrid.
>
> But i have 2 sugestions for the developers:
>
> in sqlhtml.py
>
> Line 1368 :
>
> from
> _value="query",_type="button",_id="w2p_query_trigge
Revolviendo la discursion del post new Post:
no momiento en que se fixa la noticia en Body la primieira viez e en
Extarct en primera viez, se tienes en la view principal home la noticia em
body e um boton (leia mas) que se lhama a url extract. En segunda viez que
actualizo el browse el boton leia
Is there any way to get the referring function from a request object-
That is, the function that generated the referer url, if it exists?
T('mycontent') is the function for translation in web2py.
You can throw the content of a field to it
content = T(row.contentfield)
and it will appear at translation files to translate.
Since u apply it just to a few fields/rows/tables, it can work fine.
But for large contents, you will need a
Hey Anthony, thanks for your answer !
Your solution for question 1 working fine ! (with label)
For questions 2 I am still trying...
Mathias
Op 26 december 2011 19:06 schreef Anthony het
volgende:
> Concerning question 1 : How can I translate
>> "name_father","name_mother",..**. in a form fro
>
> Concerning question 1 : How can I translate
> "name_father","name_mother",... in a form from this table ?
>
Field() takes a "label" argument, which I think you should be able to
translate:
Field('name_father', ..., label=T('Father Name'))
If that doesn't work, try T('Father Name', lazy=F
I am also wondering the same
On Mon, Dec 26, 2011 at 9:32 AM, Mathias Van Daele <
mathias.v.da...@gmail.com> wrote:
> Hello,
>
> As a newbie, I am playing a bit with web2py internationalisation.
>
> I have 2 questions :
>
> 1.How can I translate table field names ? (show in a form)
> 2.Is the
Hello,
As a newbie, I am playing a bit with web2py internationalisation.
I have 2 questions :
1.How can I translate table field names ? (show in a form)
2.Is there some kind of a function that I can use to translate content
from a table ?
This a my very simple data model :
db.py
T.set_current
I could solve most of my problems using the new fantastic smartgrid.
But i have 2 sugestions for the developers:
in sqlhtml.py
Line 1368 :
from
_value="query",_type="button",_id="w2p_query_trigger",
to:
_value=T("query"),_type="button",_id="w2p_query_trigger",
My fault. There should be one more modification.
diff -r 04673c0ce6ab views/layout.html
--- a/views/layout.html Tue Dec 27 01:29:01 2011 +0800
+++ b/views/layout.html Tue Dec 27 01:29:17 2011 +0800
@@ -39,8 +39,10 @@
{{#-- require CSS and JS files for this page (read info in
base.css) -
ckeditor, tinyMCE, etc all WYSIWYG web editor are xhtml output. None of the
them support markup languages.
2011/12/26 Ovidio Marinho
>
> Would not it be better to use the CKEditor as to insert photos into
> a new pageneeds to address in localhost?
>
>
>Ovidio Marinho Falcao Neto
>
I honestly don't understand what the big deal is. It is a little single
line at the bottom of the page. Packt provides your FULL address on the
bottom of their books, when buying from their site.
Also why would you care if your Full Name was on the book? The entire point
of the line is so you don'
No, why?.
2011/12/26 Joseph Jude
> Looks nice Martin. Isn't routes.py needed to run this?
>
> Joseph
>
--
http://martin.tecnodoc.com.ar
@Massimo, this worked for me- thanks a lot.
I'd suggest making mention of jquery.form.js in the regular book as
well.
Yarin
On Dec 25, 1:31 am, Massimo Di Pierro
wrote:
> The only way around this is using thishttp://jquery.malsup.com/form/
>
> There is a web2py slice about this and an extended
:-)
On Dec 26, 8:21 am, Martín Mulone wrote:
> Instant press is not dead, I update it to vesion 2.1.0 holiday edition (?).
>
> *What's new?.*
> Hierarchy pages to menu, now working.
> Now layout is based in getskeleton. New design. New panel.
> Fix bugs.
> Added edit link to page, and articles.
>
good idea. In trunk!
On Dec 26, 9:32 am, "Ray (a.k.a. Iceberg)" wrote:
> Hey folks,
>
> I just use this little trick in my app, to reduce two unnecessary http
> requests when menus are not needed.
>
> I think the optimization is reasonable. And people can always manually
> re-enable superfish by
OK. It is now black and smaller.
Not doing it on every page is a more complex issue and I need to work
on it.
If you fill the pay form with the same information as when you bought
the book, it should regenerate it for you. And it will not charge you
again (the app remembers you name, email and the
Merry Christmas and a beautiful happy new Year to all the web2py's
Family!
I would like to realize an application, it should be something like a
"WiFi treasure hunt" made for mobile phones.
The user must be connected to the wifi intranet and after that i must
know where he is going. With rfid tags
Would not it be better to use the CKEditor as to insert photos into a new
pageneeds to address in localhost?
Ovidio Marinho Falcao Neto
Web Developer
ovidio...@gmail.com
ovidiomari...@itjp.net.br
ITJP - itjp.net.br
Looks nice Martin. Isn't routes.py needed to run this?
Joseph
Do you have a Web2py app that you'd like to show the world?
If so, you may be interested in the Web2py Application Exhibition.
The Web2py Application Exhibition is a way to...
1. Demonstrate what can be done with Web2py.
2. Share and learn about useful web2py, python, Javascript, jQuery
etc. techn
Hi Jim,
Thanks for reply.
1. I will try your example of query/contraints.
2. about represent/lambda issue: i get it working with a workaround, but I
think it could be easier.
3. about linked_tables: it works with grid/list, but in view/edit it shows
all linked tables. I have some cases I dont wan
Hi Jim,
Just to know your example of query worked to me.
Thanks again.
Alexandre Andrade
2011/12/26 Alexandre Andrade
> Hi Jim,
>
> Thanks for reply.
>
> 1. I will try your example of query/contraints.
> 2. about represent/lambda issue: i get it working with a workaround, but I
> think it cou
Once we enter the administrator password is not shown in the Main Menu
Ovidio Marinho Falcao Neto
Web Developer
ovidio...@gmail.com
ovidiomari...@itjp.net.br
ITJP - itjp.net.br
83 8826 9088 - Oi
83 9
fixed. Sorry, try again.
2011/12/26 Marin Pranjić
>
>
> On Mon, Dec 26, 2011 at 3:21 PM, Martín Mulone wrote:
>
>> Instant press is not dead, I update it to vesion 2.1.0 holiday edition
>> (?).
>>
>> *What's new?.*
>> Hierarchy pages to menu, now working.
>> Now layout is based in getskeleton. N
Hey folks,
I just use this little trick in my app, to reduce two unnecessary http
requests when menus are not needed.
I think the optimization is reasonable. And people can always manually
re-enable superfish by response.files.extend([...]). So, my proposal
is to put this into the default welcome
I don't know why you're having the problems you are.
Regarding the lambda issue, I too have noticed the change, but thought
it worked throughout web2py to always pass the row argument. However,
I'm no longer using crud so I wouldn't notice that.
Linked tables are working for me. What do you
I don't know why you're having the problems you are.
Regarding the lambda issue, I too have noticed the change, but thought
it worked throughout web2py to always pass the row argument. However,
I'm no longer using crud so I wouldn't notice that.
Linked tables are working for me. What do you
On Mon, Dec 26, 2011 at 3:21 PM, Martín Mulone wrote:
> Instant press is not dead, I update it to vesion 2.1.0 holiday edition
> (?).
>
> *What's new?.*
> Hierarchy pages to menu, now working.
> Now layout is based in getskeleton. New design. New panel.
> Fix bugs.
> Added edit link to page, and a
Very nice i will test today
Ovidio Marinho Falcao Neto
Web Developer
ovidio...@gmail.com
ovidiomari...@itjp.net.br
ITJP - itjp.net.br
83 8826 9088 - Oi
83 9334 0266 - Claro
Br
+1 :-)
I'm trying to use smartgrid in a app, and could be sucessful in most parts.
But there are some things stopping, so I'm here asking for help
1. The old way of use lambda in represent was
represent = lambda field: get_atividade(field)
and now, in some parts of smartgrid and book V4, look as:
repr
Instant press is not dead, I update it to vesion 2.1.0 holiday edition (?).
*What's new?.*
Hierarchy pages to menu, now working.
Now layout is based in getskeleton. New design. New panel.
Fix bugs.
Added edit link to page, and articles.
Compatibility with new version of web2py.
*Info and screensh
I am creating an application that has a one-to-many table that
references the same table twice:
db.define_table('product',
Field('title', required=True, unique=True),
Field('sku', required = True, unique=True),
Field('description', 'text'),
format = '%(title)s'
)
db.define_tab
Hi All,
I've had the PDF a few days now, and one feature of it is really
getting on my wires!
Why does the ownership statement have to be on every single page?
Why is it the same size as the text, suggesting that it is as
important as the actual texy?
Why is it *RED* suggesting that it is *MORE
Merry Christmas
2011/12/25 Stefaan Himpe
> Vrolijk kerstfeest en gelukkig nieuwjaar!
>
>
--
http://martin.tecnodoc.com.ar
58 matches
Mail list logo