You are not logged in.
Pages: 1
Is it possible to add a custom route using the createPage command?
$this->newpage->createPage([
"parent" => 1,
"nav_title" => $xmlitem->ItemDesc . " | " . $xmlitem->SimpleColor,
"in_nav" => "on",
"template" => "Products",
"new_window" => "new",
"entry" => "new",
"max_age" => 0,
"route" => 'articleblablabla',
Offline
Yes, if you pass in "route" it will override the auto generated route. If the route is already used, it will add a number to the end.
Offline
Is it possible to add slashes to the route? without using a parent (or routed template)
`productcat/cars/model/ford`
Offline
No, slashes indicate to BigTree's router that it's a child of another page so they aren't allowed in an individual route.
Offline
Pages: 1