marketplace 장터에서 상품을 등록한 후, 작성된 글은 수정할 수 없게끔 되어 있는데 , 관리자는 내용 수정이나 아니면 , 아예 게시글을 삭제할 수 있게 하려면 어떻게 해야 하나요?
댓글 6
-
네, 감사합니다. ^^;
-
본문수정, 글삭제 버턴 출력하는 방법
/modules/marketplace/skins/default/_read.html 파일에서 빨간색 부분 추가하시면 간단하게나마 본문수정과 삭제 버턴 출력됩니다.
<p class="btn_dscription">상품을 더이상 판매하지 않습니다.</p>
</li>
<li>
<a href="{getUrl('page','','act','dispMarketplaceNoticeWrite')}" class="w_type">
<i class="xe-pen"></i>
<span class="btn_txt">수정</span>
</a>
<a href="{getUrl('','document_srl',$document_srl,'act','dispMarketplaceDelete')}" class="w_type">
<i class="xe-close"></i>
<span class="btn_txt">삭제</span>
</a>
</li> -
와~대박!! 관리자님 정말 최고십니다!!!!!!!!!!!!!!!
-
주신코드로 수정이 됩니다. ^^ 그런데, 수정하면 공지사항으로 같이 등록이 되네요 ㅜ
-
dispMarketplaceNoticeWrite부분을
dispMarketplaceWrite으로 바꾸면 되기는 하는데 거의 재등록 수준입니다.
그 이상은 저도 잘 모르겠네요.
Marketplace 최신버전을 설치해 보니 수정이며 삭제도 모두 가능한데요.
수정은 본문글 아래에 "상품정보수정"하시면 되고,
삭제는 목록에서 우측 라디오버턴 체크해서 "게시글 관리"열어서 삭제하시면 됩니다.