> I am not sure if miktex includes pdflatex. I only used it on linux but
> it should be easy to define it after miktex is installed.
MiKTeX *does* indeed contain pdflatex.
Hi,
I am developing a Social CMS, I was very inspired by vikuit.com but I made
some conceptual improvements on what I think is a Social CMS.
This is a simple system based in Articles, Content Types, Themes, Users,
Activities etc...
The code is in github[1] and you have to note that I am trying a
Looks really slick.
On Jan 5, 4:36 am, Bruno Rocha wrote:
> Hi,
>
> I am developing a Social CMS, I was very inspired by vikuit.com but I made
> some conceptual improvements on what I think is a Social CMS.
>
> This is a simple system based in Articles, Content Types, Themes, Users,
> Activitie
On Thu, Jan 5, 2012 at 9:27 AM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> Looks really slick
This is the "basic" theme, I am working on two more themes. One based in
Foundation and another in twitter bootstrap. It is all modular so its easy
to create new themes.
--
Bruno Rocha
nice bruno, what does it mean movuca?
2012/1/5 Bruno Rocha
> On Thu, Jan 5, 2012 at 9:27 AM, Massimo Di Pierro <
> massimo.dipie...@gmail.com> wrote:
>
>> Looks really slick
>
>
>
> This is the "basic" theme, I am working on two more themes. One based in
> Foundation and another in twitter boots
Thank you.
I had to change the following lines:
1247 table = TABLE( _border="0", _align="center", _width="50%, *rows")
1305 table = TABLE( _border="1", _align="center", _width="100%",
*[head,foot, body])
2012/1/4 Christopher Steel
> French and English pdf examples (and some other
Hihi,
I am baffled by what I see between Example 1 and 2.
It may be a good case to improve my understanding of the run-time
environment of web2py.
Thanks in advance for any comments.
VIEW: (test.html)
{{=globals().get('t1', False)}}
CONTROLLER:
== Example 1 ==
def test():
global
you need to pass it
return dict(t1=t1)
or
return locals()
http://zerp.ly/rochacbruno
Em 05/01/2012 12:03, "Peter O" escreveu:
> Hihi,
>
> I am baffled by what I see between Example 1 and 2.
>
> It may be a good case to improve my understanding of the run-time
> environment of web2py.
>
> Than
Should I log an issue for this? Or might it already be fixed?
On Jan 2, 10:25 pm, Massimo Di Pierro
wrote:
> I agree with you something is wrong... and needs fixing.
>
> On Jan 2, 7:26 am, lyn2py wrote:
>
>
>
>
>
>
>
> > I double-checked... there are no extra spaces after the dashes.
>
> > I tri
Sorry for the late post. The admin twitter issue should be fixed in
trunk.
http://code.google.com/p/web2py/issues/detail?id=577
On 21 dic 2011, 22:19, lyn2py wrote:
> Not sure if you have noticed, but the web2py admin tweets are also not
> showing up since 1.99.3
>
> On Dec 21, 1:34 pm, Anthony
I understand explicitly passing the variable will do the work.
However, what's the purpose of global variables? I thought this conflicts
with one of the examples in the Introduction chapter.
Secondly, I don't understand the different results between Example 1 and 2.
Something deeper is happenin
See http://web2py.com/books/default/chapter/29/4#Workflow:
"The view sees every variable defined in the models as well as those in the
dictionary returned by the action, but does not see global variables
defined in the controller."
web2py builds an environment and runs the models in that enviro
>
> However, what's the purpose of global variables? I thought this conflicts
> with one of the examples in the Introduction chapter.
>
Which example?
http://web2py.com/books/default/chapter/29/5?search=globals%28%29
I see. Am I right that View doesn't see the global variables (in
Controller), but the parent View sees the variables in View as global
variables?
Then, what causes the difference between Example 1 and 2? What's the
relationship
Please log it. I will fix it asap but log it so I do not forget.
On Jan 5, 8:30 am, lyn2py wrote:
> Should I log an issue for this? Or might it already be fixed?
>
> On Jan 2, 10:25 pm, Massimo Di Pierro
> wrote:
>
>
>
>
>
>
>
> > I agree with you something is wrong... and needs fixing.
>
> > On
The list of global variables defined in models and passed to the
controllers are also passed to the view (for example the views see db,
request, session, etc. globals variables defined in controllers are
not passes to the view unless done explicitely.
On Jan 5, 8:03 am, Peter O wrote:
> Hihi,
>
>
Hey ty that helped enough to solve my problem
db((db.forum_post.category == db.category.id) & (db.category.id ==
forums.id)).select(db.forum_post.ALL,
orderby=~db.forum_post.id, limitby=(0,1))
the "forums" value is a loop through the categories :-)
*cheers
ty very much for your help
On Wed,
On Thursday, January 5, 2012 10:14:45 AM UTC-5, Peter O wrote:
>
> http://web2py.com/books/default/chapter/29/5?search=globals%28%29
The globals being accessed in the above linked example (which is actually
the 'welcome' app layout.html) are defined either in models or in another
(included) vie
I have tables with individual properties,
db.define_table('article',
Field('title', 'string', length=255,required=True),
Field('description', 'text',required=True),
)
db.define_table('post',
Field('title', 'string', length=255,required=True),
Field('description', 'text',required=True),
)
d
Verifying email account ownership - I am brainstorming for the best way to
know email address is owned by an user.
Something like that - a user enters email address, my app
generates a code and sends an email message with a link with this
code, the user clicks and comes to my app which thus verif
Do you mean a registered user's email address? It's included in web2py,
just enable it. Check out
http://web2py.com/book/default/chapter/09#Mail-and-Auth
On Friday, January 6, 2012, thstart wrote:
> Verifying email account ownership - I am brainstorming for the best way to
> know email address
I think this is more of a data modeling question than web2py.
I would have one table called "content" with an extra column
"content_type" . You could define queries over the top if you just
want one ofthe three.
Your M:M table logically joins to "content". You sort of have three
subtype tables,
I mean a separate functionality from auth. Like the user is
posting a list of email addresses in a text box and my app
gets them and sends verification email messages to these
accounts. Once the user clicks the links to go to my app
and my app to mark this email verified and store it in
a users' s
If anyone is interested, you can look into the code for dropbox connection
here:
http://goo.gl/QYT2y
This is my default.py. Look at dropbox_connect and process_dropbox.
Question: How can I automate this with cron? When I do it, it stops with
the redirect.
Thank you,
Joseph
Hello everyone,
I want to make an RPM package for my application that primarily targets
CentOS. I am working with version 5, which only has Python 2.4. I would
like to create an RPM that packages Python 2.7, web2py, and my application.
Does anyone have any experience with doing anything like th
I can suggest you http://code.google.com/p/pts-mini-gpl/wiki/StaticPython
It's a statically compiled version (and runtime) of python, you can drop it
in web2py folder and write a script that starts
./python web2py.py
In this way you have not to fight with rpm packing (I made several packege
"The XMLRPC client can also be implemented inside a web2py action, so that
one action can talk to another web2py application (even within the same
installation) using XMLRPC." Is there an example of how to properly do this?
The situation is:
1) We have multiple applications in the same installatio
StaticPython looks pretty cool, but there are two issues I see with this:
First, my target platform is 64-bit. StaticPython is only 32-bit.
Second, the RPM is a requirement. In the future, we may create a yum repo
for the application for updates and things like that, so we have to use RPM
from t
http://pyrseas.wordpress.com/2011/12/19/design-notes-on-database-application-development/
hello one and all,
i have a field under a custom auth_user called "approved". it is
writeable and readable False so that the users can not see or edit
this field under the register form.
but, i am also generating a form of the table where i want to be able
to edit the "approved" field as the adm
One way is to configure this attribute in the custom form action:
db.auth_user..readable = True
Other actions will use the readable and writable values defined at the
model.
On 5 ene, 16:26, lucas wrote:
> hello one and all,
>
> i have a field under a custom auth_user called "approved". it is
The readable and writeable attributes of a field can be set conditionally
(e.g., depending on request parameters or user authorization) or changed at
any point in your code, so you could do:
db.define_table('auth_user', ...,
Field('approved', writeable = auth.has_membership('admin') and True
OK, I will consider purchasing one.
On Jan 4, 9:55 pm, Massimo Di Pierro
wrote:
> I believe they will sell it in PDF. They have copyright. I have no
> saying on the matter.
>
> On Jan 4, 9:50 am, Omi Chiba wrote:
>
>
>
>
>
>
>
> > Great work !!
> > Will it be available online somewhere ?
>
> >ht
yes, thank you anthony. the first one didn't work because in my db.py
model file, the creation of the auth_user table is before the
auth_permission table, so it blows the program.
but the second suggestion of changing the writable attribute to True
in the code worked great. thank you so much. l
On Thursday, January 5, 2012 3:34:54 PM UTC-5, lucas wrote:
>
> yes, thank you anthony. the first one didn't work because in my db.py
> model file, the creation of the auth_user table is before the
> auth_permission table, so it blows the program.
Right, sorry. You could simply move it to righ
Hi all,
I have an application "myapp" which I want to make it the default app
when I navigate to the base domain (let's say "localhost" for now). By
adding:
default_application = 'myapp',
to the routers BASE dict in routes.py I am able to do that, however it
shortens the resulting url from "lo
That's probably because default_controller defaults to 'default', and
default_function defaults to 'index' -- you might get the full URL if you
explicitly set those to None in your router (haven't tried it).
Anthony
On Thursday, January 5, 2012 3:53:11 PM UTC-5, Leopold wrote:
>
> Hi all,
>
>
The WYSIWYG editor works smooth, altough i didn't used all of its
functions. I also like the multi-tab upload facility. It all looks
really good with Firefox 3.6.24
Martin Mulone is also developing Instant Press for web2py, with
similar features i think.
On 5 ene, 07:36, Bruno Rocha wrote:
> Hi,
What you say is true, however for argument's sake, how could I achieve
the above with the 4th table?
In my situation, the 3 tables have different fields (but I didn't have
access to the file so I simply made them the same in the example here.
Thanks.
On Jan 6, 1:24 am, Andrew wrote:
> I think t
I managed to find the culprit. The function before it had a mismatched
parentheses. So it would continue reading this function and fail on
compilation. Thanks for all your replies. The append works, although
if this is a new user and no list has been defined yet it won't. So I
check if it returns
On services and authentication there is a section in the book that
gives an example, as posted by Anthony in another thread:
http://web2py.com/books/default/chapter/29/10?search=services+and+authentication#Services-and-Authentication
Thread on similar topic:
http://groups.google.com/group/web2py/b
Thanks for the reply, I have already read that section prior to sending my
email :D
I am still unclear. I know how to handle the login when in a web browser.
However when using the RPC server I just get the following response:
send: 'POST /api/default/call/jsonrpc HTTP/1.1\r\nHost:
127.0.0.1:8000
Is Python 2.7 a must? There are python 2.6 RPMs available from EPEL
repository. They install parallel to the existing python 2.4 and thus
avoids breaking yum and other applications that rely on stock python 2.4.
Python 2.7 could be packaged in a similar way, but by using this existing
packages
yes, perfect and that makes perfect sense.
hey anthony, what is the setting to email the mail.settings.login when
a user's registration is pending. meaning when a new user registers,
how do we setup web2py to email us so that we can erase pending under
the registration key?
thanx again and web2p
On Thursday, January 5, 2012 10:45:31 PM UTC-5, lucas wrote:
>
> yes, perfect and that makes perfect sense.
>
> hey anthony, what is the setting to email the mail.settings.login when
> a user's registration is pending. meaning when a new user registers,
> how do we setup web2py to email us so t
I'm using this logging module with logging.conf. It works fine in
controllers & models. How to make it work in modules?
Regards,
Joseph
for chatting, usually use XMPP like Gtalk or facebook chat. If
choosing between gevent or tornado, gevent can handle better than
tornado.
http://nichol.as/benchmark-of-python-web-servers
On 5 Tháng Giêng, 09:01, Khalil KHAMLICHI
wrote:
> looks like websockets dont work any more with the couple ch
47 matches
Mail list logo