Keyword

Philosophical question - item retrieval/display?

  • Brian
  • Brian's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 9 months ago #135183 by Brian
I have been reading about bootstrap. Seems very promising. So now the question is, how to retrieve K2 items and render in the tabs? I am trying to avoid adding menus. I am hoping to just do function calls. But I don't understand the K2 API well enough to visualize how to do that. For instance, here is what I am trying to do:

1. Loop through categories
2. Loop through item types, loading params for the item type. I was thinking I could create a module for each item type just for the purposes of setting params and then read params from module.
3. If items are retrieved, create a tab, render items based on settings in the item type module (again, I don't want to actually create modules for all the item types across all the group categories (though that is what I did to get things working for now), just plan to have item type module templates so to speak)

It is the particulars that are confusing me. I just don't know what sort of function calls 3 above would entail...

Thanks!

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


Powered by Kunena Forum