You are not logged in.
Pages: 1
hi itried this CMS and i think this is awesome. but there is something i confused about routing.
how to make routing based on title? i tried it automatically create using ID and on the first post the routes is empty.
Offline
You can use the "Generated Route" field type to specify which fields from your form are used to create the route. The route is then stored in the column you specify as the Generated Route field. The News module in the demo/example site has a good example of using routing in a routed template.
Offline
+----+------------+----------+-------+
| id | name | position | route |
+----+------------+----------+-------+
| 4 | erer | 1 | |
| 5 | erer32 | 2 | -2 |
| 6 | dfgd34545 | 0 | -3 |
| 7 | dfg121212 | 0 | -4 |
+----+------------+----------+-------+
sorry, i tried it but still didnt understand. maybe there is some step i missed ?
above is my DB table when i make modules based on related table that i made before.
when i post modules, its automatically create number on route column and on the first row (first post) is empty.
my question is,
- how to make the route on first column doesn't empty ?
- how to make the route column based on title ? so when i clicked the single page, the url will be like this ?
http://localhost/blablabla/news/details/ dfgd34545/
Last edited by big jimi (December 6, 2018 3:42am)
Offline
Did you click the settings icon next to your route field and specify that you wanted it to generate a route based on the Name column?
Offline
oh thanks, it works..
i missed that step.
Last edited by big jimi (December 6, 2018 10:15pm)
Offline
Pages: 1