It worked! I'll try to follow the pdf for now on.
Thank you very much!
On Apr 11, 6:35 pm, "mr.freeze" wrote:
> The automatic conversion from latex causes formatting errors in the
> online book. I would look at the same example in the pdf version
> (labeled page 75).
>
> Try changing this in bg_f
The automatic conversion from latex causes formatting errors in the
online book. I would look at the same example in the pdf version
(labeled page 75).
Try changing this in bg_find:
pattern = '+ request.vars.keyword.lower() + '
to this:
pattern = '%' + request.vars.keyword.lower() + '%'
On Apr
Anyone can give me some example on this?
Thank you
On Apr 8, 7:38 pm, Francisco Costa wrote:
> Hello,
> i was trying to implement a search function so I've tried this wiki
> example (http://web2py.com/book/default/section/3/9)
> I can create pages, but I cannot search for them.
> Is the search fu
Feel free to take a look at
http://code.google.com/p/blogitizor/source/browse/src/controllers/search.py
Note you will see
w = utils.w
ws = utils.ws
They just append wild cards to the variable.
Look in http://code.google.com/p/blogitizor/source/browse/src/modules/utils.py
for these two function
Search is a complex issues how to implement really depends on the type
of data, size of data and number of users.
A simple minimalist solution is
#view default/index.html
{{=results}}
#controller default.py
def index():
keywords=[]
if request.vars.keywords:
keywords = [x for x i
5 matches
Mail list logo