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

TOPIC:

Filter does not filter a group? 10 Feb 2013 18:47 #6691

  • etc
  • etc's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 132
  • Thank you received: 19
Hi everyone

I am struggling with filtering a group.
I have one table with Authors, second table with Books. In table books is FK Authors.
Then I am able to filter Books by Authors. This works perfect.

But I have third table Mybooks with FK Authors and FK Books where I can not filter Mybooks by Authors.
Actually it is not working as I need. I checked ajax loading and Submit all groups in filter.
Then I will select one of the Authors but nothing will be filtered, only next filter list will dynamically
load with Books and after I selected one of the Book in the filter then book is loaded.
I attached some screenshots that shows each filtering steps.

Summary: I need to select one book to get filter working, but I need only group(author)

First I select author


Here author is selected but nothing was rendered


Here I had to select some book to get it work


thanks for help

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

Last edit: by etc.

Re: Filter does not filter a group? 12 Feb 2013 09:38 #6699

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
Hi @etc,

This is a known gremlin that will be updated in the forthcoming release of cook v2.0.

If you want to get your hands dirty, you could adapt the ajax call to join your data however, I've not looked at this for some time. From memory, you'll need to look at the displayAjax() function in your template for a 1-off modification or alternatively, you could take an entire copy of the JDom class for ckcombo and adjust the calls to suit in your newly copied & renamed class. Then, adjust the JDom calls to your new class as required.

Hope it helps,

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.

Re: Filter does not filter a group? 12 Feb 2013 09:55 #6700

  • etc
  • etc's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 132
  • Thank you received: 19
Thanx for your reply. I just was not sure what wrong is.
I have one completed component in previous j-cook version (before V2.0 beta) that works correctly.

So now I am sad.

thanx anyway

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

Re: Filter does not filter a group? 12 Feb 2013 10:00 #6701

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
No probs!

It shouldn't be too difficult for you to fix...

etc wrote: I have one completed component in previous j-cook version (before V2.0 beta) that works correctly.

Are you sure that the submission of each combo worked in cook 1.5? I've very limited experience as I always use 2.0 beta, so I may be wrong but I didn't think it worked there...

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.

Re: Filter does not filter a group? 16 Feb 2013 23:16 #6792

  • etc
  • etc's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 132
  • Thank you received: 19
It was generated approximately in April or May 2012 and works perfect.

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

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

WOW.. WOW... WOW... This is awesome... in less than 3 hours of work I have my application done... this is simply the best tool I ever tried to generate Joomla Components... Thank you very much for this tool and your answer.. it helped me a lot... My friends here in Brazil are going nuts with this...
Griiettner (Forum)

Get Started