https://sir.kr/qa/310396 안녕하세요. 첨부파일 용량을 늘리고싶은데 카페24에서 post_max_size, upload_max_filesize를 변경할 수 없다는...
pc에선 3줄, 모바일에선 2줄로 조정됩니다.
자세한건 링크와 스크린샷을 참고해주세요
사용법은
[code]
<div class="latest_masonry" style="width:100%;">
<?php
echo latest('theme/masonry', 'free' 6, 24);
?>
<script src="//masonry.desandro.com/masonry.pkgd.min.js"> </script>
<script>
$(document).ready(function() {
$('.latest_masonry').masonry({
itemSelector: '.lat_masonry',
//horizontalOrder: true,
});
});
</script>
</div>
[/code]
로 해주시면 됩니다.
데모 사이트와 같게 하고 싶다면 아래의 소스를 참조해주세요
[code]
<div class="latest_masonry" style="width:100%;">
<?php
// 최신글
$sql = " select bo_table
from `{$g5['board_table']}` a left join `{$g5['group_table']}` b on (a.gr_id=b.gr_id)
where a.bo_device <> 'mobile' ";
if(!$is_admin)
{
$sql .= " and a.bo_use_cert = '' ";
}
$sql .= " and a.bo_table not in ('notice', 'gallery')"; //공지사항과 갤러리 게시판은 제외
$sql .= " order by b.gr_order, a.bo_order ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
?>
<?php
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
// 사용방법 : latest(스킨, 게시판아이디, 출력라인, 글자수);
// 테마의 스킨을 사용하려면 theme/basic 과 같이 지정
echo latest('theme/masonry', $row['bo_table'], 6, 24);
?>
<?php
}
?>
</div>
<script src="//masonry.desandro.com/masonry.pkgd.min.js"> </script>
<script>
$(document).ready(function() {
$('.latest_masonry').masonry({
itemSelector: '.lat_masonry',
//horizontalOrder: true,
});
});
</script>
[/code]
첨부파일
그누보드5 스킨
2,757건좋은 댓글과 좋아요는 제작자에게 큰힘이 됩니다.
https://sir.kr/qa/310152 비회원 주문 조회 같은 개념인데요 게시판 리스트엔 아무것도 안 나오고, 이름과 이메일을 입력해 검색하면 거기에 해당하는 글을 목록에 노...
버전 : Owl Carousel v2.3.4 포트폴리용으로 쓸려고 만든것을 필요하신 분이 있을거 같아 나눔해드립니다.^^.. 디자인은 저희에 맞춘거 그대로 올린것이니 알아서 쓰...
구찬아 노출 이미지 정하기 첩부 파일을 여러게 넣고 그중에서 원하는 것을 리스트에 노출시키는것 --------추신---------- 첫번 째 첩부파일이 0 입니다. ...
pc에선 3줄, 모바일에선 2줄로 조정됩니다. 자세한건 링크와 스크린샷을 참고해주세요 사용법은 [code] <div class="latest_masonry" style="wid...
폴더안에 css js파일 같이 두었습니다. 출력하고자하는곳에 <?php echo latest('스킨명', '게시판명', 8, 23); ?>...
2019-05-30 수정내용 비밀글의 경우 list.skin.php 에서 본문내용이 출력되지 않도록 수정처리 되었습니다. "비밀글입니다" 등의 문구를 출력하고자 하시는 경우 lis...
댓글 25개
감사합니다.
테스트해봐야겠네요.
감사합니다!