IP.Board Support

how to change title of forum front page

Submitted by Utsav, , Thread ID: 178606

Thread Closed
Utsav
Novice
Level:
0
Reputation:
0
Posts:
21
Likes:
0
Credits:
1
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

mvpcurtis
#!/bin/bash
Level:
1
Reputation:
2
Posts:
90
Likes:
10
Credits:
30
14-08-2020, 04:31 PM
#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

Utsav
Novice
Level:
0
Reputation:
0
Posts:
21
Likes:
0
Credits:
1
OP
15-08-2020, 10:47 AM
#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: 1 Guest(s)