view 스킨에 해당 문구를 list 스킨으로 불러오고 싶은데
막상 불러오면 아무것도 출력이 안되는데 혹시 이유를 알 수 있을까요~?
<div id="bo_v_con" style="color:#333;">
<?php echo get_view_thumbnail($view['content']); ?>
</div>
|
답변 1개 / 댓글 4개
채택된 답변
+20 포인트
7년 전
Copy
$view['content'] //이부분을
$list[$i]['content'] //이렇게 하면요?
그리고 get_view_thumbnail 쓰실려면 상단에 아래내용 추가
Copy
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
답변에 대한 댓글 4개
7년 전
수정했어요^^
[code]
//상단에 이거 넣고
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
[/code]
[code]
<div id="bo_v_con" style="color:#333;">
<?php
$html = 0;
if (strstr($list[$i]['wr_option'], 'html1'))
$html = 1;
else if (strstr($list[$i]['wr_option'], 'html2'))
$html = 2;
$list[$i]['content'] = conv_content($list[$i]['wr_content'], $html);
echo get_view_thumbnail($list[$i]['content']);
?>
</div>
[/code]
[code]
//상단에 이거 넣고
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
[/code]
[code]
<div id="bo_v_con" style="color:#333;">
<?php
$html = 0;
if (strstr($list[$i]['wr_option'], 'html1'))
$html = 1;
else if (strstr($list[$i]['wr_option'], 'html2'))
$html = 2;
$list[$i]['content'] = conv_content($list[$i]['wr_content'], $html);
echo get_view_thumbnail($list[$i]['content']);
?>
</div>
[/code]
답변을 작성하려면 로그인이 필요합니다.