Welcome, Guest
Username: Password: Remember me

TOPIC: Joined datas counter

Joined datas counter 09 Jan 2012 19:06 #922

  • hvus
  • hvus's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
I created a table with Countries and Flags and a field with number of users (noUsers) belonging to the specific country.
I would like to populate the last field (noUsers) with a query as select country,count(*) from table1 group by country and show in front the country-name, flag and nousers belonging to each country and then link the country-name to show the cities and noUsers belonging to this city... If the user click on a City field, then shows the users of this city.

Is this possible to do with this nice tool you have?

Please give me an idea how to do this?

Thank you very much
The administrator has disabled public write access.

Joined datas counter 10 Jan 2012 08:57 #925

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
It is very specific request.

If you want to do this, just complete your query in the model, and then show the result in the template.

The more options we'll have in Cook, the more complex will be the interface.

So, for practical reason, I don't add this feature to the roadmap.

It is nice to open your component and write inside a little bit.
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.086 seconds

Get Started