Welcome, Guest
Username: Password: Remember me

TOPIC: €25 for help:all records from related table @ item

Re: €25 for help:all records from related table @ item 26 Sep 2012 12:04 #4022

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
And if you want to force an explicit query ONLY on published :
$modelFoodbudgets->addWhere('a.published = 1');
Coding is now a piece of cake
The administrator has disabled public write access.

Re: €25 for help:all records from related table @ item 26 Sep 2012 12:06 #4023

  • dyvel
  • dyvel's Avatar
  • Offline
  • Elite Member
  • Posts: 200
  • Thank you received: 11
  • Karma: 10
To this goes into my model or view???

EDIT: model, and $modelFoodbudgets->addWhere('a.published = 1'); did the trick :-)

Thanks again!!!
Last Edit: 26 Sep 2012 12:09 by dyvel.
The administrator has disabled public write access.

Re: €25 for help:all records from related table @ item 12 Feb 2013 09:12 #6698

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
N.B. You can now see an example of this in action, with notes (English & French), code changes required as well as a downloadable, editable component at: j-cook.pro/docs/tutorials

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.
Time to create page: 0.183 seconds

Get Started