안녕하세요!
https://www.cosmosfarm.com/threads/document/64997
이전게시글에 알려주신 링크들에서 해결을 하지못해 다시 글작성해봅니다ㅜ
<div class="content">
<?php echo $content->content?>
</div>
이 코드를 어디위치에 넣어야하나요?
kboard-list-title 다음에도 넣어보고 다른데도 넣어봤는데
나오지가 않았습니다..
<!-- 리스트 시작 -->
<div class="kboard-list">
<table>
<thead>
<tr>
<td class="kboard-list-uid"><div class="right-line"><?php echo __('Number', 'kboard')?></div></td>
<?php if($board->use_category && $board->initCategory1()):?>
<td class="kboard-list-category1">
<div class="right-line"><?php echo __('지역', 'kboard')?></div>
</td>
<?php endif?>
<td class="kboard-list-title"><div class="right-line"><?php echo __('Title', 'kboard')?></div></td>
<?php if($board->use_category && $board->initCategory2()):?>
<td class="kboard-list-category2">
<div class="right-line"><?php echo __('Source', 'kboard-cross-link')?></div>
</td>
<?php endif?>
<td class="kboard-list-date"><div class="right-line"><?php echo __('Date', 'kboard-cross-link')?></div></td>
<td class="kboard-list-shortcuts"><?php echo __('Link', 'kboard-cross-link')?></td>
</tr>
</thead>
<tbody>
<?php while($content = $list->hasNextNotice()):?>
<tr class="top-fixing<?php if($content->uid == kboard_uid()):?> kboard-list-selected<?php endif?>">
<td class="kboard-list-uid">※</td>
<?php if($board->use_category && $board->initCategory1()):?>
<td class="kboard-list-category1">
<?php if($board->initCategory1() && $content->category1):?>
<a href="<?php echo $url->set('category1', $content->category1)->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->toString()?>" title="<?php echo $content->category1?>"><div class="category1-wrap"><?php echo $content->category1?></div></a>
<?php endif?>
</td>
<?php endif?>
<td class="kboard-list-title">
<?php if($content->option->link):?>
<a href="<?php echo kboard_cross_link_print($content->option->link)?>" onclick="return kboard_cross_link_shortcut(this, '<?php echo $content->uid?>', '<?php echo $content->option->link_target?>')" title="<?php echo $content->title?>">
<div class="kboard-cross-link-cut-strings">
<?php if($content->isNew()):?><span class="kboard-cross-link-new-notify">New</span><?php endif?>
<?php echo $content->title?>
</div>
</a>
<?php else:?>
<a href="<?php echo $url->getDocumentURLWithUID($content->uid)?>" title="<?php echo $content->title?>">
<div class="kboard-cross-link-cut-strings">
<?php if($content->isNew()):?><span class="kboard-cross-link-new-notify">New</span><?php endif?>
<?php echo $content->title?>
</div>
</a>
<?php endif?>
<?php if($content->isEditor() || $board->permission_write=='all'):?>
<div class="separator">
<span class="kboard-edit">
<a href="<?php echo $url->getContentEditor($content->uid)?>" title="<?php echo __('Edit Link', 'kboard-cross-link')?>"><?php echo __('Edit Link', 'kboard-cross-link')?></a>
</span>
<span class="kboard-remove">‧</span>
<span class="kboard-remove">
<a href="<?php echo $url->getContentRemove($content->uid)?>" class="" onclick="return confirm('<?php echo __('Are you sure you want to delete?', 'kboard')?>');" title="<?php echo __('Delete Link', 'kboard-cross-link')?>"><?php echo __('Delete Link', 'kboard-cross-link')?></a>
</span>
</div>
<?php endif?>
<div class="kboard-mobile-contents">
<?php if($content->category2):?>
<span class="contents-item kboard-category2"><a href="<?php echo $url->set('category2', $content->category2)->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->toString()?>" title="<?php echo $content->category2?>"><?php echo $content->category2?></a></span>
<span class="contents-separator kboard-date">‧</span>
<?php endif?>
<span class="contents-item kboard-date"><?php echo $content->getDate()?></span>
<?php if($content->isEditor() || $board->permission_write=='all'):?>
<span class="contents-separator kboard-edit">‧</span>
<span class="contents-item kboard-edit"><a href="<?php echo $url->getContentEditor($content->uid)?>" title="<?php echo __('Edit Link', 'kboard-cross-link')?>"><?php echo __('Edit Link', 'kboard-cross-link')?></a></span>
<span class="contents-separator kboard-remove">‧</span>
<span class="contents-item kboard-remove"><a href="<?php echo $url->getContentRemove($content->uid)?>" onclick="return confirm('<?php echo __('Are you sure you want to delete?', 'kboard')?>');" title="<?php echo __('Delete Link', 'kboard-cross-link')?>"><?php echo __('Delete Link', 'kboard-cross-link')?></a></span>
<?php endif?>
</div>
</td>
<?php if($board->use_category && $board->initCategory2()):?>
<td class="kboard-list-category2">
<?php if($board->initCategory2() && $content->category2):?>
<a href="<?php echo $url->set('category2', $content->category2)->set('pageid', '1')->set('target', '')->set('keyword', '')->set('mod', 'list')->toString()?>" title="<?php echo $content->category2?>"><?php echo $content->category2?></a>
<?php endif?>
</td>
<?php endif?>
<td class="kboard-list-date"><?php echo $content->getDate()?></td>
<td class="kboard-list-shortcuts">
<?php if($content->option->link):?>
<a href="<?php echo kboard_cross_link_print($content->option->link)?>" onclick="return kboard_cross_link_shortcut(this, '<?php echo $content->uid?>', '<?php echo $content->option->link_target?>')" title="<?php echo __('Link', 'kboard-cross-link')?>">
<img src="<?php echo $skin_path?>/images/icon-link.png" onmouseover="this.src='<?php echo $skin_path?>/images/icon-link-hover.png'" onmouseout="this.src='<?php echo $skin_path?>/images/icon-link.png'" alt="">
</a>
<?php else:?>
<a href="<?php echo $url->getDocumentURLWithUID($content->uid)?>" title="<?php echo __('Link', 'kboard-cross-link')?>">
<img src="<?php echo $skin_path?>/images/icon-link.png" onmouseover="this.src='<?php echo $skin_path?>/images/icon-link-hover.png'" onmouseout="this.src='<?php echo $skin_path?>/images/icon-link.png'" alt="">
</a>
<?php endif?>
</td>
</tr>
<?php endwhile?>
이미지 첨부드린것처럼 제목 오른쪽에 본문내용을 노출시키고싶습니다.
본문내용이 pc하고 모바일화면에 나오기만한다면 나머지는 css를통해 조절할수있을거같아서..
번거로우시겠지만 다시 한번 도움요청드립니다.
스레드봇님 너무 잘됩니다.
감사인사드립니다!
안녕하세요~^^
plugins/kboard/skin/cross-link/list.php 파일에서
아래 코드를 찾아서
<tr>
<td class="kboard-list-uid"><div class="right-line"><?php echo __('Number', 'kboard')?></div></td>
<?php if($board->use_category && $board->initCategory1()):?>
<td class="kboard-list-category1">
<div class="right-line"><?php echo __('Category', 'kboard')?></div>
</td>
<?php endif?>
<td class="kboard-list-title"><div class="right-line"><?php echo __('Title', 'kboard')?></div></td>
<?php if($board->use_category && $board->initCategory2()):?>
<td class="kboard-list-category2">
<div class="right-line"><?php echo __('Source', 'kboard-cross-link')?></div>
</td>
<?php endif?>
<td class="kboard-list-date"><div class="right-line"><?php echo __('Date', 'kboard-cross-link')?></div></td>
<td class="kboard-list-shortcuts"><?php echo __('Link', 'kboard-cross-link')?></td>
</tr>
이렇게 바꾸신 후
<tr>
<td class="kboard-list-uid"><div class="right-line"><?php echo __('Number', 'kboard')?></div></td>
<?php if($board->use_category && $board->initCategory1()):?>
<td class="kboard-list-category1">
<div class="right-line"><?php echo __('Category', 'kboard')?></div>
</td>
<?php endif?>
<td class="kboard-list-title"><div class="right-line"><?php echo __('Title', 'kboard')?></div></td>
<?php if($board->use_category && $board->initCategory2()):?>
<td class="kboard-list-category2">
<div class="right-line"><?php echo __('Source', 'kboard-cross-link')?></div>
</td>
<?php endif?>
<td class="kboard-list-date"><div class="right-line"><?php echo __('Date', 'kboard-cross-link')?></div></td>
<td class="kboard-list-shortcuts"><?php echo __('Link', 'kboard-cross-link')?></td>
<td class="kboard-list-content"><?php echo __('내용', 'kboard-cross-link')?></td>
</tr>
plugins/kboard/skin/cross-link/list.php,list.php2,list.php3 파일에서
아래 코드를 찾아서
<td class="kboard-list-shortcuts">
<?php if($content->option->link):?>
<a href="<?php echo kboard_cross_link_print($content->option->link)?>" onclick="return kboard_cross_link_shortcut(this, '<?php echo $content->uid?>', '<?php echo $content->option->link_target?>')" title="<?php echo __('Shortcuts', 'kboard-cross-link')?>">
<img src="<?php echo $skin_path?>/images/icon-link.png" onmouseover="this.src='<?php echo $skin_path?>/images/icon-link-hover.png'" onmouseout="this.src='<?php echo $skin_path?>/images/icon-link.png'" alt="<?php echo __('Shortcuts', 'kboard-cross-link')?>">
</a>
<?php else:?>
<a href="<?php echo $url->getDocumentURLWithUID($content->uid)?>" title="<?php echo __('Shortcuts', 'kboard-cross-link')?>">
<img src="<?php echo $skin_path?>/images/icon-link.png" onmouseover="this.src='<?php echo $skin_path?>/images/icon-link-hover.png'" onmouseout="this.src='<?php echo $skin_path?>/images/icon-link.png'" alt="<?php echo __('Shortcuts', 'kboard-cross-link')?>">
</a>
<?php endif?>
</td>
찾은 코드 밑에 아래 코드를 추가해보시겠어요?
<td class="kboard-list-content"><?php echo $content->content?></td>
추가하신후 원하시는대로 css를 추가해서 커스터마이징 해보시겠어요?
고맙습니다.