한 영역에 include 삽입시 다른영역의 스킨이 영향을 받습니다.

· 2013-11-17 (일) 21:10:21 · 1613 · 1
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 : http://sk82.cafe24.com

인덱스 소스 제일 하단에
<?php echo latest("default_text",g4b1,6,80)?> 구문을

<?php include "$g4[path]/plugin/family_tab/family_tab.php"; ?> 구문으로 변경하면

홈페이지 중간에 위치한 방명록 스킨 사이즈까지 변경됩니다.
영향 받는 소스는 중간에
<?php echo latest("paging_write", g4b1, 5, 100, "0/on/on/on/820"); ?>

완전히 분리된것으로 보이는데 왜 영향을 받는지 모르겠네요. div id 까지 다른데...
테이블 아이디 g4b1 이 방명록 게시판입니다. 기존 방명록 호출 구문을 다른것으로 바꾸는데
영향을 주는거 보니 다른 연결고리가 있는걸까요..


==============================================================
<?php
if(!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once($g4['path'].'/lib/latest.lib.php');
include_once($g4['path'].'/lib/new_comment.lib.php');
?>
<div id="slider_block">
<?php //메인 이미지 출력 하는 부분입니다. 슬라이더와 최신글 슬라이더로 변경하시려면 아래줄을 변경하시면 됩니다. ?>
<!-- <img src="<?php echo $theme_skin_path;?>/img/image2.jpg" border=0 width="<?=$wrap_width;?>"> -->
<?php echo latest("FullscreenSlitSlider",g4b2,4,80)?>
</div>
<div class="horizontal_line"></div>
<div id="notice_block">
<?php // 메인 슬라이더 아랫쪽에 섬네일 4개와 내용을 출력하는 최신글 부분입니다. ?>
<table align=center cellpadding=0 cellspacing=0 border=0 >
<tr>
<td width='940' valign='top' ><?=latest(zoom_open, "g1b1", 10, 10);?></td>
</tr>
</table>
</div>
<div class="horizontal_line"></div>
<div id="notice_block2">
<?php // 메인 슬라이더 아랫쪽에 섬네일 4개와 내용을 출력하는 최신글 부분입니다. ?>
<table align=center cellpadding=0 cellspacing=0 border=0 >
<tr>
<td width='300' valign='top' ><?php include "$g4[path]/skin/latest/tab_rolling/tab_rolling.php"; ?></td>
<td width='640' valign='top' style='padding-left:20px;' ><?php echo latest("paging_write", g4b1, 5, 100, "0/on/on/on/820"); ?></td>
</tr>
</table>
</div>
<div class="horizontal_line"></div>
<div id="gallery_block">
<?php //최신글 이미지 섬네일 6개를 출력하는 최신글 부분입니다. ?>
<div style=" float:left; width:680px; margin-bottom:15px;"><?=latest(column, "g1b2", 6, 42);?></div>
<?php //회원프로필 사진과 최신 코멘트를 출력하는 부분입니다.. ?>
<div style=" margin-left:720px; width:220px;"><?php echo new_comment("default_new_comment",g1b4,4,60)?></div>
</div>
<div class="horizontal_line"></div>
<div id="latest_block">
<!-- 메인화면 최신글 시작 -->
<<table align=center cellpadding=0 cellspacing=0 border=0 ><tr>
<tr>
<td width='100%' valign='top'><?php echo latest("timeline",g2b1,7,80);?></td>
</tr>
</table>
</div>
<div id="latest_block">
<!-- 메인화면 최신글 시작 -->
<table align=center cellpadding=0 cellspacing=0 border=0 >
<tr>
<td width='940' valign='top' ><?php echo latest("default_text",g4b1,6,80)?></td>
</tr>
</table>
</div>
|

댓글 1개

오... 찾아냈습니다.

방명록 스킨과 링크페이지 스킨에서 공통된 css class id가 있었네요..
새글등록시 보이는 new 아이콘 속성 class id가 똑같아서 변경했더니 됩니다.ㅠㅠ 감격
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
13-11-18 조회 2,502
13-11-18 조회 1,820
13-11-18 조회 1,926
13-11-17 조회 1,329
13-11-17 조회 1,759
13-11-17 조회 7,692
13-11-17 조회 2,086
13-11-17 조회 1,614
13-11-17 조회 1,804
13-11-17 조회 2,308
13-11-17 조회 1,725
13-11-17 조회 2,085
13-11-17 조회 1,801
13-11-17 조회 1,366
13-11-17 조회 1,226
13-11-17 조회 2,936
13-11-17 조회 1,295
13-11-17 조회 1,313
13-11-17 조회 2,189
13-11-17 조회 1,360