posting_editor template : display text only for "new topic"

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
nexum
I've Been Banned!
Posts: 156
Joined: Tue May 25, 2004 8:36 pm

posting_editor template : display text only for "new topic"

Post by nexum »

i have added a text inside posting_editor.html template

i want to display this text only for the "new topic" page (posting.php?mode=post)

but the text is also displaying when the user write a new reply (posting.php?mode=reply)

how can i display a text inside posting_editor.html only when the mode is set to post ?

thanks a lot !!
ameeck
Former Team Member
Posts: 6559
Joined: Mon Mar 21, 2005 6:57 pm

Re: posting_editor template : display text only for "new top

Post by ameeck »

Put the text between:

Code: Select all

<!-- IF S_NEW_MESSAGE -->
and

Code: Select all

<!-- ENDIF -->
nexum
I've Been Banned!
Posts: 156
Joined: Tue May 25, 2004 8:36 pm

Re: posting_editor template : display text only for "new top

Post by nexum »

thanks !!
Locked

Return to “[3.0.x] Support Forum”