현재 문하우스 버젼 2로 작업중입니다. 먼저 이런 좋은 레이아웃을 공개해주셔서 감사드립니다.
다름이 아니고 로고부분에 플래시 파일로 올리려고 하는데 업로드가 안되네요. 혹시 플래시로는 로고부분을 할 수가 없는건가요?
만약 가능하다면 어떻게 해야 하는지요?
사실, 로고 옆 부분에 배너를 넣으려고 하는데 그 방법도 몰라 저렇게 편법으로 (플래시를 가로로 길게 해서 왼쪽에는 로고를, 오른쪽에는 배너를 한번에 해서 로고로 올리는 무식한(?) 방법을 써보려고 합니다.) 해보는데 플래시가 안올라가니 대략 난감이네요..;;;
죄송하지만 답변 부탁드려봅니다. 건강하세요..^^
댓글 8
-
팔공산님 안녕하세요. 팔공산님께서 말씀 해주신대로 layout.html 파일을 수정해서 올려봤는데 역시나 깨지네요..;;;
무슨 문제인지 도통 모르겠네요..;;
<div id="logo">
<!--@if(!$layout_info->logo_image)-->
<a href="/{$layout_info->index_url}" class="t"><script type="text/javascript">displayMultimedia("플래시경로", "가로크기","세로크기",false);</script>
<!--@end--></a>
</div>
이게 말씀 해주신건데... 대략 난감입니다...;;;;
-
풍경님이 올리신 이미지로 보아서는
("플래시경로", "가로크기","세로크기",false) 이 부분을 수정하시지 않으신 것 같군요.
플래시파일은 레이아웃설정에서 올리는 것이 아니라 ftp로 직접 올리신 후 그 경로를 직접 적어주셔야 합니다.
그리고 소스도 아래와 같이 수정해 보세요.
<div class="logo">
<a href="/{$layout_info->index_url}" class="t>
<!--@if(!$layout_info->logo_image)-->
<script type="text/javascript">displayMultimedia("http://도메인/플래시경로/xxx.swf", "200","50",false);</script> <!--@else-->
<img src="/{$layout_info->logo_image}" alt="logo" border="0" class="iePngFix" />
<!--@end--></a>
</div>
-
플래시경로와 가로, 세로는 제대로 입력했습니다. 그런데도 저렇게 깨진다는거죠...;;;
레이아웃에서 직접 수정해서 ftp로 입력했는데도 그러네요. 혹시 제가 뭔가 실수한게 있나 찾아보려고 해도 답이 안나오네요..
자꾸 질문 던져서 죄송합니다...;;;
-
혹시 레이아웃편집을 홈페이지상에서 한번이라도 하셨다면 레이아웃직접 수정해서 ftp로 올리면 적용이 되지를 않습니다.
해당 레이아웃편집창에 들어가서 해당 코드가 적용이 되어 있는지 확인해 보세요.
-
layout.html파일수정
<!-- 로고이미지 -->
<div id="logo">
<!--@if(!$layout_info->logo_image)-->
<a href="/{$layout_info->index_url}" class="text">{$layout_info->logo_text}</a><!--@else--><a href="/{$layout_info->index_url}"><img src="/{$layout_info->logo_image}" alt="Logo" class="iePngFix" /></a><!--@end-->
<!--@if(!$layout_info->logo_flash)--><!--@else-->
<li class="flash"><script type="text/javascript">displayMultimedia("{$layout_info->logo_flash}", "200","50",false);</script></li>
<!--@end-->
</div>info.xml에 추가
<var name="logo_text" type="text">
<title xml:lang="ko">1-2. 로고문구</title>
<description xml:lang="ko">레이아웃의 상단에 표시될 로고문구를 입력하세요.(이미지나 문구중 하나 선택)</description>
</var>
<var name="logo_flash" type="text">
<title xml:lang="ko">1-3. 로고플래시</title>
<description xml:lang="ko">레이아웃의 상단에 표시될 로고플래시의 경로를 적어주세요.</description>
</var>common.css에 추가
#logo img { position:absolute; top:60px; left:20px; z-index:1; }
#logo .flash { position:absolute; top:50px; left:30px; z-index:1;}위와 같이 편집하시면 레이아웃설정에서 플래시파일을 지정할 수 있습니다.
-
이렇게 신경써주시니 정말 감사드립니다. 사실, 플래시는 포기하고 있었답니다..;;; 다시 한번 팔공산님이 저에게 힘내라고 하시는 듯 하네요. 그런데 또 여기서 막히는 것이 버젼3에는 common.css 파일이 있지만 v2버젼에서는 common.css 파일이 없다는 건데요. 제가 임의로 이 파일을 만들어 올려야 하나요?
신경써주시는데 비해 제가 너무 못쫓아가는 거같네요. 죄송합니다. 그리고 감사드립니다..^^
-
왼쪽서브메뉴가 있는 형태사용시 normal.css파일에 추가하시고,
본문만 있는 형태사용시는 simple.css파일에 추가하세요.
풍경님 반갑습니다.
댓글 내용글이 잘 올라가지를 않아서 파일로 남깁니다.
댓글.txt