2
Concrete5 (CMS)의 코드를 통해 페이지를 추가하려고합니다.Concrete5에 페이지 추가
$parentPage = Page::getByPath("/hotel");
$ct = CollectionType::getByHandle("products");
$data = array();
$data['cName'] = 'New Page';
$data['cDescription'] = 'Description here';
$newPage = $parentPage->add($ct, $data);
하지만 MySQL의 오류를 얻을 : 페이지를 만들 때
mysql error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1] in EXECUTE("select max(cDisplayOrder) from Pages where cParentID = LIMIT 1")
또한 어떻게 속성을 추가 할 수 있습니다?
당신은 내가 그것을 해결했습니다. 문제가 상위 URL에있었습니다. – Froxz