• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with linking categories

So my catalog example should also do the trick.
The rest of the pages could remain manual pages.

An example of a catalog:
class Catalog extends CI_Controller {
    public function __construct() {

    public function index() {
        //In this function you call the function to get all your categories

    public function category() {
        //In this function you get the items/sub categories for the request category
        $param1 = $this->uri->segment(3);
        $param2 = $this->uri->segment(4);

But it is worth looking into the fallback system! How great CI is, it does come with alot of copy paste work when using it out of the box. When using this, the copy paste goes away!

OK ill give this a go

much appreciated...

so param1 & 2 would go where in the code

Indeed, the download does not work.

Lucky for you I have and use this file.

Download here

You legend!!! PM sent

See previous post. Updated with download link.

k thanks for that sent you Pm anyhow

I did see it Smile

But this is better for other people, so they can also use it

Good luck and you can always call for help!

Fully understand, was just saying PM'd you anyhow...before you'd updated your previous post.

Still not sure if the Router class you just sent is what I need. Time for bed I think been a long day!!!

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.