[web2py] Custom select field (column)

2015-12-08 Thread Antonio ds
Hi I need to create a query with this field in it *ts_headline(documento.texto, to_tsquery('word'), 'MaxFragments=2, MinWords=5, MaxWords=8') *(a google like result field) How can i add a custom string field with DAL? Thnx in advance. -- Resources: - http://web2py.com - http://web2py.com/boo

[web2py] Re: Dynamically change highlighted class for response.menu

2015-12-08 Thread Antonio ds
Hi Add this line before if (path) to ensure highlight on new/edit path = path.split('/',3).join('/'); El jueves, 9 de mayo de 2013, 14:25:00 (UTC-4:30), Niphlod escribió: > > > jQuery(function() { > var path = location.pathname.substring(1); > if ( path ) { > var els = jQuery('