게시판정보..
유저 이미지
분쟁제로
- 2017.04.17
- 조회수 424
- 댓글수 1
item url 이 "board-free"인 게시판 정보를 불러들이고자 합니다.
1. Document 모델에서 직접 부르는 방법은 없는지요?
Document::all();
2. menu_item table에서 instanceID를 직접 확인한 후
$documents = XeDocument::getModel("7970165b")->limit(10)->get();
이렇게 부르려 했더니
Call to undefined method Proxy_Xpressengine_Document_DocumentHandler::getModel()
에러가 뜨네요..
3. 스킨에서
@foreach ($documents as $document)
<a href="">{{ $document->title }}</a>
@endforeach
했습니다.
href 에는 어떤값이 들어가야 할까요??
(/board-free/show/150ef9a4-e122-4f0e-a65d-d1d5866ea648) 이런 형식의 값인가요..?
4. 보드 생성시 item url 에
siteurl.com/board/bbb 방식은 정녕 불가능할까요?
질문폭탄 송구합니다. 감사합니다
0개 댓글