Jump to content
Taking LAB
Sign in to follow this  
taking

[팁] 글 상단에 메시지 추가하기

Taking LAB은 현재 공사중입니다.

Recommended Posts

IPS Community Suite 4.2.x 버전에서 진행하였습니다.


Version : IPS Community Suite v4.2.6
Genre : Tutorials

 


게시물 상단에 메시지 추가하기 (Add Message before the First post)

scr_01.png

 

찾기

scr_02.png

scr_03.png

[수정] 경로 : 'topic' 검색 → forums/front/topics

 

수정 전

<div data-controller='core.front.core.commentFeed,forums.front.topic.view, core.front.core.ignoredComments' {{if settings.auto_polling_enabled}}data-autoPoll{{endif}} data-baseURL='{$topic->url()}' {{if $topic->isLastPage() and !$topic->isQuestion()}}data-lastPage{{endif}} data-feedID='topic-{$topic->tid}' class='cTopic ipsClear ipsSpacer_top'>
    {{if $topic->isQuestion() && $question}}
        <div class='ipsAreaBackground ipsPad'>
            <h2 class='ipsType_sectionHead ipsType_reset ipsSpacer_bottom'>{lang="question_title"}</h2>
            {template="postContainer" group="topics" app="forums" params="$topic, $question, $votes, 'cPostQuestion'"}
        </div>

수정 후

    <div class='ipsMessage ipsMessage_information'>
		Taking LAB은 현재 공사중입니다.
	</div>
<div data-controller='core.front.core.commentFeed,forums.front.topic.view, core.front.core.ignoredComments' {{if settings.auto_polling_enabled}}data-autoPoll{{endif}} data-baseURL='{$topic->url()}' {{if $topic->isLastPage() and !$topic->isQuestion()}}data-lastPage{{endif}} data-feedID='topic-{$topic->tid}' class='cTopic ipsClear ipsSpacer_top'>
	{{if $topic->isQuestion() && $question}}
		<div class='ipsAreaBackground ipsPad'>
			<h2 class='ipsType_sectionHead ipsType_reset ipsSpacer_bottom'>{lang="question_title"}</h2>
			{template="postContainer" group="topics" app="forums" params="$topic, $question, $votes, 'cPostQuestion'"}
		</div>

 

Warning

Taking LAB은 현재 공사중입니다.
<div class='ipsMessage ipsMessage_warning'>
Taking LAB은 현재 공사중입니다.
</div>

Success

Taking LAB은 현재 공사중입니다.
<div class='ipsMessage ipsMessage_success'>
Taking LAB은 현재 공사중입니다.
</div>

Information

Taking LAB은 현재 공사중입니다.
<div class='ipsMessage ipsMessage_information'>
Taking LAB은 현재 공사중입니다.
</div>

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

포럼 소개

'Taking LAB'은 개인이 운영하는 포럼입니다.

사이트 정보

소셜 네트워크

×
×
  • Create New...