[web2py] Help deleting a row when using components LOAD

2015-03-07 Thread niki
hi everyone, So i have two components on my page. I can insert comments on my components just fine. However i am trying to allow my users to delete a comment they have inserted. I am not sure how to go about it. Somebody please help it will be appreciated. This is what i have. *In comments.py

[web2py] Re: Can somebody please spot my mistake--------Trying to use CKeditor with web2py

2015-03-04 Thread niki
hi Leonel, It worked like a charm. Thank you so much. Sorry for the late response was swamped to even test your suggestion till now. Regards, Sinini On Tuesday, 3 March 2015 22:51:07 UTC+2, Leonel Câmara wrote: > > Hey, > > Can you try this slice instead > http://www.web2pyslices.com/slice/sho

[web2py] Can somebody please spot my mistake--------Trying to use CKeditor with web2py

2015-03-03 Thread niki
hi, So i am following this example (https://github.com/rochacbruno/web2py_ckeditor) step by step. This is what i have added to a new web2py app i created. I have installed the plugin. In view my output does not show any CKeditor. It is just a normal form. Does anyone know what could be the pro

[web2py] Re: Create many similar forms on one page

2015-02-25 Thread niki
I think i get components now. Each .load function should be linked to a unique database table inorder to see different posts for different sections. Hopefully that is not the longer solution :) It works superb now. Thanks really for all the help. On Tuesday, 24 February 2015 19:08:12 UTC+2, 黄祥 w

[web2py] Re: Create many similar forms on one page

2015-02-24 Thread niki
requiring registration of user accounts. {{=LOAD('comments','post.load',ajax=True,vars={'reload_div':'maths'}, target='maths')}} Many edits can be made in real-time and appear almost instantly online. This can facilitate abuse of the system. Pr

[web2py] Re: Create many similar forms on one page

2015-02-23 Thread niki
This is really helpful. i can easily post for a single section. However for multiple sections, i am still trying to figure it out. Thanks so much. On Monday, 23 February 2015 15:24:19 UTC+2, 黄祥 wrote: > > perhaps you can use load component > ref: > > http://www.web2py.com/books/default/chapter/29

[web2py] Create many similar forms on one page

2015-02-23 Thread niki
hi everybody I am trying to figure out how to create many forms that are similar on one page. The idea is to have people comment on various sections of a page with text. This means that, each section has its comments. The forms are the same with a comment field and a submit button. This is the

[web2py] Re: Help using aliasnames instead of real names on my app

2015-02-20 Thread niki
th_user(id) return A('%(username)s' % user i get the username as numbers which is the default username of Facebook. How can i overide this username. if i use another field, the field is not recognised and all i get is a blank name. Please help On Friday, 20 February 2015 12:14:43 UTC+2

[web2py] Help using aliasnames instead of real names on my app

2015-02-20 Thread niki
hi, I have an app that allows people to login in using their Facebook credentials. However i want them to be able to choose if they want to use their real Facebook names or just alias names. can somebody break it down for me how i would go about achieving this. Thanks -- Resources: - http:/

[web2py] Including custom javascript in web2py

2014-05-19 Thread niki
hi, I have been trying to understand how i can include static JavaScript files on my view layout.html I want to embed an editor on web2py. I have an html code which works out fine on its own: However i would like this code to work in web2py as well. I have tried using 'response.files.append(URL(