I am trying to solve the same problem as the original poster.
I am trying to extend Page with HomePage (home.php), but neither does the extended url() function return the new url style, nor does an additional function test() return anything.
For the reasons stated above, my impression is the page model /models/home.php is not executed, but if I include an deliberate syntax error, I do get an error (debugging enabled).
What can I do to correctly override the url function in the model? Thank you so very much!
The home.php model only overwrites the URL when used regarding the home page. This is probably not what you want, because you want this to affect the child pages, not the home page itself. So you would have to create the model for the child pages, i.e. create a model called article.php?