[RESOLVED] module/function/id -> to -> module/function/title ? |
[eluser]Wattswing[/eluser]
Hi everybody, I'm pretty new in CI's practice. I read a lot of topics that nearly approach my expectations but none directly explain the howto. My site's URI work like that : Quote:http://localhost/ci_test_base/portfolio/work/29 I ever put off the index.php with the .htaccess, and it works perfectly in local for now. So I have a controller/function/id way of accessing the data. But I'd like to catch the ID element's title, parse it (myabe with the url_title()'s URL helper) and rewrite it instead of the ID's segment like : Quote:http://localhost/ci_test_base/portfolio/work/title_of_the_item_29 The more I read about URL rewriting through .htaccess, the more I think my "title_of_the_29_item" data is near of my model/controller methods. So is there any way of retrieving this $title and send it to .htaccess in order to rewrite the URI properly ? Thanks very much. I hope my question is out of any trouble, and don't hesitate to ask me more for anything. |
Messages In This Thread |
[RESOLVED] module/function/id -> to -> module/function/title ? - by El Forum - 03-21-2011, 05:52 PM
[RESOLVED] module/function/id -> to -> module/function/title ? - by El Forum - 03-21-2011, 05:58 PM
[RESOLVED] module/function/id -> to -> module/function/title ? - by El Forum - 03-21-2011, 08:37 PM
[RESOLVED] module/function/id -> to -> module/function/title ? - by El Forum - 03-22-2011, 01:44 AM
[RESOLVED] module/function/id -> to -> module/function/title ? - by El Forum - 03-22-2011, 06:44 PM
|