E107 - how to swap sitename with pagetitle

all kinds of tutorials and guides. how, where, why, step-by-step stuff and more. also support for those tutorials and guides. ONLY post step-by-step guides/tutorials here OR reply with question if you have any.
Post Reply
User avatar
Sethioz
Admin
Admin
Posts: 4762
Joined: Fri Jul 27, 2007 5:11 pm
Custom: Gaming YT > https://youtube.com/SethiozEntertainment
Game Hacking YT > https://youtube.com/sethioz
Game Hacks Store > https://sethioz.com/shopz
Location: unknown
Contact:

E107 - how to swap sitename with pagetitle

Post by Sethioz »

It is specified in "header_default.php" located in "e107_themes\templates"
not sure about versions, but as far as i know in every version it is located on line 92
replace it with the one you like.

Sitename first

Code: Select all

<title>".SITENAME.(defined("e_PAGETITLE") ? " : ".e_PAGETITLE : (defined("PAGE_NAME") ? " : ".PAGE_NAME : ""))."</title>\n
Page title first

Code: Select all

<title>".(defined("e_PAGETITLE") ? e_PAGETITLE." - " : (defined("PAGE_NAME") ? PAGE_NAME." - " : "")).SITENAME."</title>\n
Post Reply