Welcome, Guest
Username: Password: Remember me

TOPIC:

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
And if you want to force an explicit query ONLY on published :
$modelFoodbudgets->addWhere('a.published = 1');
Coding is now a piece of cake

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

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

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

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

Thanks again!!!

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

Last edit: by dyvel.

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

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
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!!!

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

Time to create page: 0.080 seconds

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started