Jump to content

Add Message before the First post

Recommended Posts

Comendator    71

Add Message before the First post




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'"}

Add above this:

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

You can also change the Styles of messages.


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


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


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


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