Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Capabilty to define LIMIT 0,30 in Grid Properties 11 Aug 2012 19:38 #3100

Actually in Collection Definition Layout there is no capability to define LIMIT in the SQL call.
So by default the full database table is dumped by JCOOK collection layout.
How do you define this in COOK ... I mean what the way to setup this limit ?

SELECT *
FROM `joomla_table1`
LIMIT 0 , 30

Please Log in or Create an account to join the conversation.

Last edit: by admin.

Re: Capabilty to define LIMIT 0,30 in Grid Properties 12 Aug 2012 00:57 #3101

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
If you really want to do that, try the "models" directory

Please Log in or Create an account to join the conversation.

Re: Capabilty to define LIMIT 0,30 in Grid Properties 12 Aug 2012 06:47 #3103

Can you give a little more details?
What do you mean ? By coding .. I know..
But I mean from the interface adding this as a property if not already existing.
This is a thing to put on the TODO list.
Best case is to avoid most of edits after generation...

Please Log in or Create an account to join the conversation.

Last edit: by e-struct.

Re: Capabilty to define LIMIT 0,30 in Grid Properties 12 Aug 2012 07:43 #3104

You Can Specify a field value range in Cook
In filters the { } filter = range
it is not configurable as part of the design process
but the range is then configurable in collection layouts
perhaps you could pre define the limits in the respective model

+1 for me
to specify the range / limit values in cook, perhaps in properties where we specify the range label...

Please Log in or Create an account to join the conversation.

Last edit: by BTB300.

Re: Capabilty to define LIMIT 0,30 in Grid Properties 12 Aug 2012 08:33 #3106

OK Thanks.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.063 seconds

I'm playing around with the new mvc and the FORK feature is FANTASTIC!!! it's saving me a lot of time! you are doing a very good job!!

Tomaselli (Forum)  

Get Started