Jump to content

fdib

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • First Name
    Federico
  • Last Name
    Dib

fdib's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hi, sorry to bring back this old thread, but I was wondering if anyone got this issue solved?
  2. Hi, I've created a custom module with a controller that I would like it to read the last segment of the URL as variables. Without SEO friendly URL it will look like this: mysite.com/module/modulename/controller?paremeter=something But I want it to look like this: mysite.com/module/modulename/controller/parameter How can I do this on PS 1.6 I've tried working with the SCHEMA of URLS but I just can't seem to understand how it works. I can't even manage to make URL work with or without a slash at the end. (It's either one or the other). I've hacked (just for testing) the Dispatcher file but can't make it work either. So I'm just giving up and asking for help. Any ideas? For example in codeigniter it will be something like this: class MyModuleController extends CI_Controller { public function shoes($var) //this $var is comes from the last URI segment { echo $var } }
×
×
  • Create New...