$this->widget("Widget_Contents_Page_List") -> to($pages);
the above code can get open independent pages, but can not get hidden independent pages, how to get all independent pages?
$this->widget("Widget_Contents_Page_List") -> to($pages);
the above code can get open independent pages, but can not get hidden independent pages, how to get all independent pages?
use $pages- > status to determine whether a page is hidden or publish