How to tidy up filenames in browser tab

Articles and Information - phpBB 3.0 modifications and tweaks

How to tidy up filenames in browser tab

Postby Mick » Sun Mar 19, 2017 12:50 pm

How to place filenames in correct order in browser tabs etc. and remove unnecessary stuff like 'viewtopic' etc.

Open viewtopic.php and find:
Code: Select all
page_header($user->lang['VIEW_TOPIC'] .' - ' . $topic_data['topic_title']);

change that to:
Code: Select all
page_header($topic_data['topic_title']);

Open viewforum.php and find:
Code: Select all
page_header($user->lang['VIEW_FORUM'] . ' - ' . $forum_data['forum_name']);

change that to:
Code: Select all
page_header($forum_data['forum_name']);


Then, if you want to: (I don't)

Open overall_header.html and 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>


and change it to:
Code: Select all
<title><!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE} &bull; {SITENAME}</title>


Refresh theme & template
"The more connected we get the more alone we become" - Kyle Broflovski
User avatar
Mick
 
Posts: 24
Joined: Wed Mar 15, 2017 9:14 am

Return to Articles and information

Who is online

Users browsing this forum: No registered users and 2 guests

cron