_read.html은 아래와 같이 수정을 했습니다.
<!--// Header -->
<!--// 본문 게시판 제목과 카테고리 출력 시작-->
<a href="{getUrl('category',$category_list[$oDocument->get('category_srl')]->parent_srl, 'document_srl', '')}">
<!--// 본문 게시판 제목 출력 시작-->
{$oDocument->getBrowserTitle()}
<!--// 본문 게시판 제목 출력 끝-->
</a>
>
{$category_list[$category_list[$oDocument->get('category_srl')]->parent_srl]->title}</a><span cond="$category_list[$category_list[$oDocument->get('category_srl')]->parent_srl]->title"> > </span>
<!--// 본문 게시판 제목과 카테고리 링크 연결 시작-->
<a href="{getUrl('category',$oDocument->get('module_srl'), 'document_srl', '')}" > {$category_list[$oDocument->get('module_srl')]->title}</a>
<a href="{getUrl('category',$oDocument->get('category_srl'), 'document_srl', '')}" > {$category_list[$oDocument->get('category_srl')]->title}</a>
<!--// 본문 게시판 제목과 카테고리 출력 끝 -->
이에 따라 결과물은 원하는데로 나왔는데요.
첫번째 분류인 '일반'을 누르면 해당 분류로 이동이 잘되는데
게시판 제목인 '대나무숲'을 누르면 게시판의 첫 화면으로 이동을 하는게 아니라 '분류 미선택' 화면으로 이동이 됩니다.
게시판 제목을 누르면 뜨는 화면
https://blinkarea.synology.me/xe/board_free/category/0
무엇이 잘못됐는지 수정을 어떻게 해야되는지 알려주실분 계신가요?
진행사항 | 해결 |
---|
<a href="{getUrl('', 'mid', $mid)}">{$oDocument->getBrowserTitle()}</a> >
<a href="{getUrl('category',$category_list[$oDocument->get('category_srl')]->parent_srl, 'document_srl', '')}">{$category_list[$category_list[$oDocument->get('category_srl')]->parent_srl]->title}</a>
<span cond="$category_list[$category_list[$oDocument->get('category_srl')]->parent_srl]->title"> > </span>
<a href="{getUrl('category',$oDocument->get('category_srl'), 'document_srl', '')}" >{$category_list[$oDocument->get('category_srl')]->title}</a>
이렇게 적용해 보세요