Thank you, that worked great. Really appreciate it.
Jeremiah
On Saturday, December 13, 2014 8:58:23 PM UTC-6, Anthony wrote:
>
> If you want the newest first, it should be ~db.news.posted_on.
>
> Anthony
>
> On Saturday, December 13, 2014 9:30:05 PM UTC-5, Jeremiah Peterso
I'm having troubles getting the orderby to work with multiple columns,
perhaps I'm not understanding how it should work.
I have news articles that get ranked based on the number votes and time
passed.
What I'm trying to do is order the news articles first by rank, then if the
ranks are the sa
@Anthony, Thanks for the tip. I found this in the layout.html. Since I'm
not using any drop down menus I've just removed it and everything seems to
be working as expected now.
jQuery(document).ready(function(){jQuery('ul.web2py-menu').superfish({delay:400});});
I think it would be hel
skip that in my views and assume that those jquery actions won't try to run
until the document is ready?
Thanks again for looking.
Jeremiah
On Sunday, November 30, 2014 9:42:59 AM UTC-6, Jeremiah Peterson wrote:
>
> I don't believe so. In my app that I'm working on where the .
0 AM UTC-6, Anthony wrote:
>
> Do you accidentally load jQuery twice?
>
> On Sunday, November 30, 2014 9:28:38 AM UTC-5, Jeremiah Peterson wrote:
>>
>> I did load the example in a new dummy app and it works like it should.
>> Any idea what would have changed, or what I
ething extremely wrong is going on with your javascript. the "ready"
> call is pretty much the default way of handling events once the document
> has been loaded.
>
> On Sunday, November 30, 2014 7:16:04 AM UTC+1, Jeremiah Peterson wrote:
>>
>> Here's the exam
Here's the example from the book, which isn't working for me.
Hello
World
jQuery(document).ready(function(){
jQuery('.one').click(function(){jQuery('.two').slideToggle()});
});
This code does work, just removing the ready.
Hello
World
jQuery('.one').click(function(){jQuery('.two').s
that there is an issue with show_if
> https://groups.google.com/forum/#!topic/web2py/dnbPyALwZKE
>
>
> On Friday, November 7, 2014 5:37:27 PM UTC-5, Jeremiah Peterson wrote:
>>
>> Thank you very much, I really appreciate it. That worked perfectly!
>>
>> On Frid
ot the
> whole row (AFAIK).
>
> But, you can get it work by including an element with the same id as the
> row that is being hidden, e.g.
>
> Link: {{=form.custom.widget.link}}
>
> Denes.
>
> On Thursday, November 6, 2014 8:56:10 PM UTC-5, Jeremiah Peterson wro
ustom.end}}
On Thursday, November 6, 2014 7:35:57 PM UTC-6, Massimo Di Pierro wrote:
>
> Can you show us your form? Do you use {{=form.custom.widget[field]}} or
> . The latter is not supposed to work
>
> On Thursday, 6 November 2014 09:45:10 UTC-6, Jeremiah Peterson wrote:
On Thursday, November 6, 2014 7:35:57 PM UTC-6, Massimo Di Pierro wrote:
>
> Can you show us your form? Do you use {{=form.custom.widget[field]}} or
> . The latter is not supposed to work
>
> On Thursday, 6 November 2014 09:45:10 UTC-6, Jeremiah Peterson wrote:
>
in my controller I have
db.news.link.show_if = (db.news.category==1)
In my view if I just use {{=form}} then it will only show the 'link' field
if the category field is set to 1.
However if I use {{=form.custom.begin}} so can I can place my form fields
in the order I want, it doesn't make
12 matches
Mail list logo