I've always been a fan of ASmallOrange (http://www.asmallorange.com/)
- I am unsure if these libraries come preinstalled on the shared
hosting, but you can always install them yourself (via SSH) or submit
a trouble ticket.
ASO's support is top-notch. Virtually every request I have made has
been
Does web2py handle file uploads when not using SQLFORM? I submit the
form, the request.vars.file variable contains the original filename of
the file, but nothing gets placed in the uploads directory.
I guess my question is - I want to handle the file upload, movement to
a directory, and database
I have the following function in a module - this function performs a
Regex search and attempts to replace matches with a link (generated
with the A() helper). The regex and replacement is working correctly -
if I change the value of the replace variable to something other than
the A() helper, it
(but the
strings within are). When a string is dispalyed {{=A(...).xml()}} it
is escaped, unless marked up accordingly {{=XML(A(...).xml())}}.
Hope this helps
On Mar 11, 10:39 am, Michael Wales evicera...@gmail.com wrote:
I have the following function in a module - this function performs a
Regex search
not '-' in URL and replaces
them with '_'. the replacement should happen after the URL mapping and
before your action is called. Your actions sees quake_like instead
of quake-live. Does this help?
Massimo
On Mar 10, 10:08 am, Michael Wales evicera...@gmail.com wrote:
Yeah, that's exactly how my
,**attributes):
self.components,self.attributes=components,attributes
def xml(self): return serial representation
On Mar 9, 6:07 pm, Michael Wales evicera...@gmail.com wrote:
What is the standard way to go about creating your ownviewhelpers? I
would like to wrap a content area
, Michael Wales evicera...@gmail.com wrote:
Changing the - to _ inroutes.py(and of course, altering the data in
the table, to correspond) still results in an invalid function
error.
I want to say myroutes.pyisn't being seen/used at all! For instance,
routes_out doesn't seem to be doing anything
You are missing the closing apostrophe for the function parameter of
the URL() method - interesting though, since I just reported a bug
that completely locked up the server when the same thing occurs. Are
you on Windows?
On Mar 10, 2:53 pm, martin martin.telef...@gmail.com wrote:
here is the
If the file/function parameter of a URL() statement within the view is
missing its final quote, the Win32 service will crash - no user
friendly error message is returned to the user.
To reproduce:
{{= URL(r = request, c = 'static', f = 'home.png }}
Recommend a regular expression to confirm all
I've created a routes.py with the following (yes, these will become
RegEx, but I am just trying to get it to work at this point):
routes_in = (('.*:/shooterhero/games/quake-live', '/shooterhero/games/
view/quake-live'))
My thinking is, if I link to /shooterhero/games/quake-live/ it will
send
10 matches
Mail list logo