IP.Board Support

how to change title of forum front page

Submitted by Utsav, , Thread ID: 178606

Thread Closed
14-08-2020, 11:08 AM
#1
i want to change the title of my website home page. for now it says Forums - site name. i just want site name to appear as title in front page.

i tried changing the global template but it change the title for ever page. like if i try to open a thread it still shows site name as title. this issue occurs when i create multiple sections.

[Image: Capture.png]

if i remove xyz section the title changes to "bug bounty - site name "

please help.

RE: how to change title of forum front page

#2
That's part of your breadcrumb navigation if I'm not mistaken. It's been a while since I last used to IPS so I can't remember the templates.

RE: how to change title of forum front page

OP
#3
14-08-2020, 04:31 PM
mvpcurtis Wrote:
That's part of your breadcrumb navigation if I'm not mistaken. It's been a while since I last used to IPS so I can't remember the templates.

i tried understanding globat template and it does call for another template that is breadcrumb. But yet i am unable to understand what changes should i make.
i tired changing
Quote:<ul data-role="breadcrumbList">
<li>
<a title="{lang="home"}" href='{setting="base_url"}'>
But it does not work.

PHP Code:
<nav class='ipsBreadcrumb ipsBreadcrumb_{$position} ipsFaded_withHover'>
{{if 
$position == 'bottom'}}
{
template="rssMenu" group="global" app="core" params=""}
{{endif}}

<
ul class='ipsList_inline ipsPos_right'>
{{
$defaultStream = \IPS\core\Stream::defaultStream();}}
<
li {{if !\IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get'core''discover' ) ) }} class='ipsHide'{{endif}}>
<
a data-action="defaultStream" class='ipsType_light {{if ! $defaultStream}}ipsHide{{endif}}' href='{{if $defaultStream}}{$defaultStream->url()}{{endif}}'><class="far fa-newspaper"></i> <span>{{if $defaultStream}}{$defaultStream->_title}{{endif}}</span></a>
</
li>
{{if 
$markRead && \IPS\Member::loggedIn()->member_id}}
<
li>
<
a data-action="markSiteRead" class='ipsType_light' data-controller="core.front.core.markRead" href='{url="app=core&module=system&controller=markread" seoTemplate="mark_site_as_read" csrf="true" ref="(string) \IPS\Request::i()->url()"}' title='{lang="mark_site_read"}' data-ipsTooltip><class='fa fa-check'></i> {lang="mark_site_read_button"}</a>
</
li>
{{endif}}
</
ul>

<
ul data-role="breadcrumbList">
<
li>
<
a title="{lang="home"}" href='{setting="base_url"}'>
<
span><class='fa fa-home'></i> {lang="home"}{{if \count( \IPS\Output::i()->breadcrumb )}} <class='fa fa-angle-right'></i>{{endif}}</span>
</
a>
</
li>
{{
$last end(\IPS\Output::i()->breadcrumb);}}
{{foreach \
IPS\Output::i()->breadcrumb as $k => $b}}
<
li>
{{if 
$b[0] === NULL}}
{
$b[1]}
{{else}}
<
a href='{$b[0]}'>
<
span>{$b[1]} {{if $b != $last}}<class='fa fa-angle-right'></i>{{endif}}</span>
</
a>
{{endif}}
</
li>
{{endforeach}}
</
ul>
</
nav

Users browsing this thread: 3 Guest(s)