CodeExtinguisher 2.0 Release Candidate 14.2 |
[eluser]abmcr[/eluser]
[quote author="jTaby" date="1212758338"]i had this functionality built into CodeExtinguisher. It was called 'extra_uri_segments' and they would be carried around the system until they were replaced. However, I deprecated that when query_strings were introduced since query_strings are a more robust solution. But to answer your question. Don't forget that all the links that codex uses are set in codexcontroller:etConfig() so if you want to modify them so that they always maintain the extra uri segments, it's very easy to do so. Here's what you would have to do: 1) Add $this->extra_uri_segment = implode('/',$this->uri->uri_to_assoc(3)); in codexcontroller:etConfig() 2) Append .'/'.$this->extra_uri_segments to all the links and form actions in codexcontroller:etConfig[/quote] I have made this change as you suggest to setConfig Code: function setConfig($config){ Code: Fatal error: Call to undefined method Example::3() in /Applications/MAMP/htdocs/lastcodex/codex/application/controllers/codexcontroller.php on line 36 |
Welcome Guest, Not a member yet? Register Sign In |