최신글 최신댓글에 특정게시판의 글은 제외하는 방법이 있을까요?
본문
여러개의 게시판 중에서 1개의 게시판은 유저와 운영자의 소통을 위한 게시판입니다.
그래서 다른 유저는 그 게시 내용을 알수 없게 비밀글과 비밀댓글을 사용합니다.
그러다 보니 최신글과 최신댓글에 [비밀글입니다] [비밀댓글입니다]라고 자주 뜨느데요.
최신글과 최신댓글에 특정게시판의 글과 댓글은 모두 제외하는 방법이 있을까요?
답변 3
"비밀댓글입니다" 이런식으로 뜬다면 별도의 함수를 사용하는 것 같은데
일단은 여기에서 검색 사용 옵션을 해제해보세요.
최신글이면
lastest() 호출하는 건가요?
해결했습니다.
저는 이윰빌더를 쓰고 있는데.... g5\eyoom\theme\basic2\layout 폴더안의
side_bs.html파일 안에 아래 소스를 아래와 같이 변경하니까 되네요....^^
변경전
{latest->latest_newpost('tab_newpost', 'count=5||cut_subject=30||photo=y')}
변경후
{latest->latest_newpost('tab_newpost', 'bo_exclude=mem_up||count=5||cut_subject=30||photo=y')}
(mem_up은 게시판 아이디입니다)
답변을 작성하시기 전에 로그인 해주세요.