Disallowing periods etc in url_title() - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Disallowing periods etc in url_title() (/showthread.php?tid=18464) |
Disallowing periods etc in url_title() - El Forum - 05-07-2009 [eluser]rt30000[/eluser] How should I go about removing periods (and preferably empty trailing spaces as well) with the CI url_title() helper function? Below is the CI helper function code. Also, shouldn't I create my own helper rather than modify the system one? I have seen references to this, but have yet to extend or modify core files. I will have to look up this, if so. Thanks!! Code: // ------------------------------------------------------------------------ |