It appears the book is incorrect. I think you're looking for Facebook
python-sdk (https://github.com/facebook/python-sdk), not pyfacebook.
Anthony
On Saturday, June 11, 2011 2:40:25 AM UTC-4, Luis Goncalves wrote:
> This seems like a silly question, but I can't figure it out!
>
> Trying to fo
I created a bug report, would be good if someone could confirm this
bug
http://code.google.com/p/web2py/issues/detail?id=301
On Jun 10, 2:21 pm, Ross Peoples wrote:
> I'm sure you've already considered this, but maybe use a checkbox instead,
yes but this is a question of style an readability, radioboxes with
text are just far more descriptive an a single small checkbox
> as it's specifically designed to handle true/fa
This seems like a silly question, but I can't figure it out!
Trying to follow the example in the book to use openAuth2.0 and facebook's
graphAPI, we need to
from facebook import GraphAPI
as suggested, I installed pyfacebook
first via apt-cache search pyfacebook --> apt-get install pytho
On 11 June 2011 04:55, Pierre Thibault wrote:
> 2011/6/9 Pierre Thibault
>>
>> 2011/6/9
>>>
>>> On , Anthony wrote:
>>> > Do you have an app to reproduce the problem? I created an app named
>>> > "Castalia" (note the capitalization) with a module
>>> > /modules/selfgroup/castalia/config.py, whi
I think you're specifying the target div name in the wrong place. Instead
of:
{{=LOAD('default', 'blog_comment_show.load', args = page.id, ajax = True)}}
{{=LOAD('default', 'blog_comment_add.load', args = page.id,
target = 'comments_%s hidden' % page.id, ajax = True)}}
I think you want:
{
yes, i have.
def blog_comment_show():
return
__show_2(blog, blog_index, blog_comment, blog_comment_blog_id,
blog_comment_active)
@auth.requires_login()
def __show_2(table_0, index_link, table_1, field, active):
page = table_0(request.args(0)) or redirect(URL(index_link))
results = db(
Do you have a blog_comment_show() action in your controller?
On Friday, June 10, 2011 10:58:56 PM UTC-4, 黄祥 wrote:
> thank you so much for your hints, anthony, but, pardon me, the results on
> the form components is loading..., the page didn't show an error, but keep
> loading..., is there some
Ciao Massimo!
Is it now available somewhere for download? It will be very useful!!!
Thanks,
Luis.
Hello again,
I withdraw my question as I managed to get the obvious working:
form.vars.cpaid = 6 # or whatever id is required
I failed to get this working earlier, so I mistakenly assumed that the
solution was more complex. I must have made some dumb mistake that
disabled proper operation.
So
how to integrate web2py with ffmpeg? i mean when users uploaded the video,
web2py can automatic reproduce the image and store it in the database. is
there any way to do this?
thank you so much.
thank you so much for your hints, anthony, but, pardon me, the results on
the form components is loading..., the page didn't show an error, but keep
loading..., is there something i missed in my code?
e.g.
*=== controller ===*
blog = db.blog
blog_comment = db.blog_comment
blog_comment_blog_id = d
2011/6/9 Pierre Thibault
> 2011/6/9
>
>> On , Anthony wrote:
>> > Do you have an app to reproduce the problem? I created an app named
>> "Castalia" (note the capitalization) with a module
>> /modules/selfgroup/castalia/config.py, which I think is the same structure
>> and naming as Alessandro's
are these video in static or uploaded by users?
On Jun 10, 5:00 pm, Sahil Arora wrote:
> Thanks for the help. I got the image from the video. Can u help me with the
> video streaming part. I could not get a good tutorial for this.
>
> On Sat, Jun 11, 2011 at 12:59 AM, Massimo Di Pierro <
>
> mass
Hi,
I've written a controller to add a record using sqlform, and I want to
prepopulate several of the fields. I've had some success using
form.var.field = x, but I haven't been able to prepopulate the one
field that uses a dropdown list.
In the controller I listed below, I have success on the 'd
Maybe try having the post comment action return some JS via response.js that
calls the web2py_component JS function to update the list component:
def post_comment():
# do some stuff
response.js='web2py_component(action="%s",target="%s")' %
(URL('list_comments.load'), 'comment_list')
hi,
is ajax can work in components? i mean let say that i separated the
comment into 2 components, 1 for list of view comments and the other
is form to post the comment. i have a problem when i post the comment
using the form, the data that have been posted is not directly change
on list of commen
hi,
i want to learn and implement public, password protected and private
view for user, is there anyone know how to do that?
thank you so much before
e.g.
=== model ===
db.define_table('files',
Field('title',
label = T('Title')
),
Is there like a change log for the web2py book where I can view what's
been added or modified recently?
/r
Hello guys,
I started to create a script to test the scripts that use the library
unittest projects web2py. I usually like this:
- I create the folder *tests* in the project;
- Inside the tests folder create two folders: *models* and *controllers*;
For now, I have done is to test the model layer
I'm currently using this on a few of my projects, and decided to throw
it up on bitbucket for others who might want to use it (and tell me
areas I need to work on). It's pretty solid, again I'm using it
already where I work, and it's got a pretty decent web based reporting
and control interface. De
Thanks for the help. I got the image from the video. Can u help me with the
video streaming part. I could not get a good tutorial for this.
On Sat, Jun 11, 2011 at 12:59 AM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> http://linuxers.org/tutorial/how-extract-images-video-using-ffmpeg
http://valums.com/ajax-upload/
It's supposed to be a ready-to-use asyncronous upload (could be a widget,
later) with load indicator, but I don't know how to integrate with my form.
In fact, I get no errors on console (as the author say after set debug:
true) but still my upload fails. I can tested
I can talk about the features that I implemented. Just ask.
We could be documentation driven: The developer writes the feature he is
going to implement, we write the tests (tests driven) and then he writes the
implementation. This process will creates the documentation we need for the
book.
--
Here's a trick from HTML5 Boilerplate for Jquery. I presume it could be
modified for UI (or any library).
window.jQuery || document.write("