How do I modify the topic title bar?

Discussion forum for MOD Writers regarding MOD Development.
Locked
User avatar
sb_stefan
Registered User
Posts: 94
Joined: Fri Feb 19, 2010 2:26 am
Location: London, UK

How do I modify the topic title bar?

Post by sb_stefan »

How do I modify the text in the title bar when I'm viewing a topic? If I view a topic, I want the title bar to say "Name of the topic" - "Name of my board".
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: How do I modify the topic title bar?

Post by tumba25 »

open styles/your_style/template/overall_header.html
Find

Code: Select all

<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
Replace with

Code: Select all

<title><!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE} &bull; {SITENAME}</title>
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net
User avatar
sb_stefan
Registered User
Posts: 94
Joined: Fri Feb 19, 2010 2:26 am
Location: London, UK

Re: How do I modify the topic title bar?

Post by sb_stefan »

That works, but it still says "View topic" before the actual topic title. How do I get rid of that? And while I'm at it, I also want to get rid of "View forum" in the title bar when viewing a forum

EDIT: Nevermind, I found the answer here: http://www.phpbb.com/kb/article/remove- ... om-titles/
Locked

Return to “[3.0.x] MOD Writers Discussion”