게시판확장변수를 이미지로 나타내게 게시판스킨 수정법 올려주신거 보고
이거랑 그닥 관련없지만 ㅠㅠ 질문 올려요
게시판에다가 확장변수를 써서 링크 게시판을 만들고 있는데요
스킨은 현재 최신버전 기본 게시판입니다.
목록형으로 했을때는 확장변수가 잘 불러와지는데
웹진형으로 했을때는 확장변수가 게시판에 보이질 않아요
그래서 웹진형 게시판을 수정해서 새로 웹진형 목록에 확장변수를 따로 추가했더니
우측으로 넘어갔어요..
그래서 이제 추천수..를 홈페이지 확장변수로 치환하는 방법을 써볼까 하는데요
다른분들 팁 봐도 어떻게 해야할지를 몰라서요 ㅠㅠ
너무 무작정 질문한건 아닌지 모르겠네요;;
댓글 7
-
감사합니다.
그런데 처음에 $module_info->display_Permalink == 'Y'
이부분 작동하려면 skin.xml에 코드를 넣어줘야 하는건지요?
-
어 다 잘돼는데
확장변수 제목이 안나오네요?
확장변수 제목이 "홈페이지 주소" 인데 게시판 제목에 공백으로 뜨는건 어딜 손봐야하는거죠?ㅠㅠ
-
<!--@if($module_info->display_Permalink != 'N')--><th class="recommend" scope="col"><div> {$lang->permalink} </div></th><!--@end-->
부분이 게시판상단 제목나오는 부분인데 저는 언어팩에 넣어 놓았습니다.
{$lang->permalink} 이부분에 넣고 싶은 제목 넣어시면 됩니다.
-
죄송합니다만 제가 아직 이해가 깊지 못하여
잘 이해를 못하겠어요;;
확장변수의 제목(ex:홈페이지 주소)과 확장변수명(ex:extra_var_hpaddr)이 있는데
이게 저장되는(아니면 이걸처리하는) 파일은 어디이며
언어팩.에 넣어놓으셨다는게 어디인지도 잘 모르겠네요..
$lang->permalink이게 permalink에 들어있는걸 출력하는것같은 느낌이 드는데;;
style.webzine_edit.html이외에선 permalink라는 변수를 사용하지도 않는데..
permalink변수의 기능도 알려주시면 좋겠어요..ㅠㅠ
-
어렵게 생각하지 마시고 {$lang->permalink}이자리에 "홈페이지 주소"라고 적어 넣으시면 됩니다.
-
켁..그러네요...
어제 해봤을땐 오류나던데..다시해보니까 되네요^^
너무 감사합니다
PTLW님 반갑습니다.
제가 사용중인 링크게시판을 첨부합니다.
display_display_Permalink 부분이 링크를 가져오는 부분입니다.