× If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html

How to display a sub set of records in a catalog

More
7 years 2 months ago #4343 by GuiGuy
As it is not possible to display SQL VIEWS in catalogs or lists (AFAIK) how can I display a subset of records from a link?

By example, my table consists of `ID`, `Company_Name`,'category`

I'd like a set of links on a page prompting the user to select a category (button). Clicking the button would then display a catalog of records belonging to the respective category.

Thanks

Please Log in to join the conversation.

More
7 years 2 months ago #4344 by Dirk
Of course It is possible to display sql views.
Just take the name of the view instead of a table as joodb maintable.

But you would not be able to add or edit such entries.

Mysql Views do not have auto-increment indexes!

Please Log in to join the conversation.

More
7 years 2 months ago #4348 by GuiGuy

dirk wrote: Of course It is possible to display sql views.
Just take the name of the view instead of a table as joodb maintable.

But you would not be able to add or edit such entries.

Mysql Views do not have auto-increment indexes!


I think we had this discussion a couple of years ago, Dirk.

If I do that I cannot get past the second step (See attachment)

But maybe I misunderstand. Is there another way to create a catalog from a SQL view

This message has an attachment image.
Please log in or register to see it.

Please Log in to join the conversation.

Moderators: Dirkjoest