Welcome Guest, Not a member yet? Register   Sign In
PyroCMS v0.9.7.4 - an open-source modular general purpose CMS

[eluser]Phil Sturgeon[/eluser]
[quote author="hugle" date="1262536035"]
I also tried creating >
application/core_modules/pages/config/routes.php file with:
Code:
$route['London'] = "pages/index";
$route['London'] = "pages/index/1";
$route['London'] = "pages/view/1";
$route['London'] = "pages/1";
$route['London'] = "pages"; // as a default controller
same again Sad

still I have no luck, I get redirected to error_404 controller.
Anyone can help me? where should I put this code, or use different appraoch? Smile

I tried creating the controller: Cities,
and route to it - it works. but How do I call the default page or page by ID from it ?

Thank you !Smile[/quote]

You may or may not be happy with the result of this, but it's the best I could do. I have added a feature into v0.9.8-dev to allow you to add routes to your global routes.php file like so:

Code:
$route['London'] = "pages/view/home";

This would have been to tricky to implement into v0.9.7.3 as the whole page system is rather different now. The v0.9.8-dev branch is pretty much ready to go so it might be worth giving that a try.

As for the forms problem I REALLY dont have the time to look into it right now I am very sorry. Perhaps you could prepare a "here are the links, this is how you install and this is my exact test-case to re-create the problem"?


Messages In This Thread
PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - by El Forum - 01-03-2010, 08:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB