Hmm.. odd question about /class/function - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Hmm.. odd question about /class/function (/showthread.php?tid=1942) |
Hmm.. odd question about /class/function - El Forum - 07-06-2007 [eluser]SlasherX[/eluser] Ok, I need a hand here from someone a bit more able with the internals of CI then I am. The issue is a site I am working on has categories stored in a table. Getting those categories to show up in the navigation is easy, but I would like to link to the categories like this: http://www.examples.com/category/video Now normally just tossing a video function into the controller would handle the issue, but because the categories could be ANYTHING and are dynamic.. Any one have an idea of a simple way to make a call to the category controller always call ONE function so that I can pull out the segment 2 and use that? TIA Hmm.. odd question about /class/function - El Forum - 07-06-2007 [eluser]gunter[/eluser] what you need is described exactly here: routing class Hmm.. odd question about /class/function - El Forum - 07-06-2007 [eluser]SlasherX[/eluser] Have spent many hours in the documentation looking at different functions and somehow I missed that one. Thank you |