Welcome, Guest
Username: Password: Remember me

TOPIC: [SOLVED] Grid link to go to Collection of a different table

[SOLVED] Grid link to go to Collection of a different table 30 Nov 2012 12:47 #5693

  • gdpodesta
  • gdpodesta's Avatar
  • Offline
  • Senior Member
  • Posts: 75
  • Thank you received: 8
  • Karma: -42
I *think* this has been discussed elsewhere, but not sure of the version and sort of got lost in the discussions.

Using Joomla Categories and Articles as my example. On the Frontend, I'd like to make each Category in my grid be a link which goes to collection of my Articles with that Category assigned . That grid, then, would have links to view the article.

It seems simple enough, but I have to admit, I can't figure it out. There's a "Reuse" attribute in the toolbar that seems to fit into my thinking, but I just can't put it together in my head or my project.
Last Edit: 30 Nov 2012 13:03 by gdpodesta. Reason: Clarified question is for front end view
The administrator has disabled public write access.

Re: Grid link to go to Collection of a different table 02 Dec 2012 10:49 #5713

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Condiderating Articles and Categories have been generated with Cook (not the Joomla native, not handled yet) :

1. Articles tables must contain a 'Category' filter.
2. Call your page with
index.php...&filter_category=###

### is the id of your category
That's it.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Grid link to go to Collection of a different table 02 Dec 2012 10:53 #5714

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
And for Joomla native
index.php?option=com_content&filter_category_id=###
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Grid link to go to Collection of a different table 23 Jun 2013 20:34 #7618

  • vivek
  • vivek's Avatar
  • Offline
  • Premium Member
  • Posts: 123
  • Thank you received: 2
  • Karma: 2
For some reason this approach is not working in joomla 3.0.

Regards
Vivek.
The administrator has disabled public write access.
Time to create page: 0.062 seconds

Get Started