This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hello!
I'm displaying a list of all static pages via:
$theme = Cms\Classes\Theme::getEditTheme();
$pageList = new RainLab\Pages\Classes\PageList($theme);
$this['pagesList'] = $pageList->listPages();
Is possible to display them with the drag n drop order as in static pages?
Last updated
Hello Farao,
Take a look at how it is done with the JS in the backend and you could copy it to your own theme to make it sortable.
Otherwise, this is would require a very detailed answer!
daftspunk said:
Hello Farao,
Take a look at how it is done with the JS in the backend and you could copy it to your own theme to make it sortable.
Otherwise, this is would require a very detailed answer!
Thank you!
Last updated
1-3 of 3