hi,

i use this pagination component, in combination with
admin routing

http://bakery.cakephp.org/articles/view/65

i had to change

            if ($this->paramStyle=="get")
            {
                $this->url = str_replace($this->controller-
>webroot,"/",$this->controller->here);
            }

into

            if ($this->paramStyle=="get")
            {
                $this->url = str_replace($this->controller-
>webroot,"/",$this->controller->here);
                $this->url = str_replace('admin',"",$this->url);
            }

(method _initURL(), line 347ff.)

which cuts out the word "admin" out of

"/admintransactions/index".

in order to get the correct base url for the paging helper.

did anybody experience the same ? hmm,,

regards,
jyrgen


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to