Jump to content
Comendator

Add Message before the First post

Recommended Posts

Comendator    71

Add Message before the First post

Preview

59d71d3cd8c77_SemTtulo.thumb.png.9dfbae38eb051198f766e74ad1bc146c.png

 

Well this tutorial I did to assist a Member, so come on.

AdminCP >> Skin Theme >> Edit Html & Css >> search for topic in forums/front/topics/ and search for

<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>

Add above this:

<div class='ipsMessage ipsMessage_error'>
Make a constructive comment.
</div>

You can also change the Styles of messages.

Warning

<div class='ipsMessage ipsMessage_warning'>
Make a constructive comment.
</div>

Success

<div class='ipsMessage ipsMessage_success'>
Make a constructive comment.
</div>

Information

<div class='ipsMessage ipsMessage_information'>
Make a constructive comment.
</div>

1.png.888cb3a612be279d506b7289c137f311.png

  • Like 2

Share this post


Link to post
Share on other sites
What do you think? Remember the human.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×