How to add separator in tilte | General Support | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
How to add separator in tilte
Avatar
Aniruddh Nishad
Member
Members
Forum Posts: 4
Member Since:
April 22, 2019
sp_UserOfflineSmall Offline
1
August 27, 2019 - 4:01 pm
sp_Permalink sp_Print

hello sir, I want to know how to add separator in each title. like resgister - domain.com or register | domain.com, and login and each page. thanks

Avatar
redwine
Admin
Forum Posts: 357
Member Since:
February 21, 2018
sp_UserOfflineSmall Offline
2
August 27, 2019 - 4:18 pm
sp_Permalink sp_Print

You mean in the title tag that is in the head section or the story title?

Avatar
Aniruddh Nishad
Member
Members
Forum Posts: 4
Member Since:
April 22, 2019
sp_UserOfflineSmall Offline
3
August 28, 2019 - 9:18 am
sp_Permalink sp_Print

the title tag in the head section

Avatar
redwine
Admin
Forum Posts: 357
Member Since:
February 21, 2018
sp_UserOfflineSmall Offline
4
August 29, 2019 - 4:50 pm
sp_Permalink sp_Print

Okay, but sorry I can't explain to you how to modify this because I am having a personal emergency and will be back around September 10, 2019

Thank you for your patience!

Avatar
Aniruddh Nishad
Member
Members
Forum Posts: 4
Member Since:
April 22, 2019
sp_UserOfflineSmall Offline
5
August 30, 2019 - 11:51 am
sp_Permalink sp_Print

no problem, I will wait.

Avatar
redwine
Admin
Forum Posts: 357
Member Since:
February 21, 2018
sp_UserOfflineSmall Offline
6
September 4, 2019 - 3:24 pm
sp_Permalink sp_Print

On the index (published page), the title is displayed with a dash separator, like so:
<title>Plikli CMS - Your Source for Social News and Networking</title>
to display it with the pipe (|), like so:
<title>Plikli CMS | Your Source for Social News and Networking</title>

1- Open /templates/bootstrap/title.tpl
2- on LINE 12
change this:
<title>{#PLIKLI_Visual_Name#} - {#PLIKLI_Visual_RSS_Description#}</title>

to:
<title>{#PLIKLI_Visual_Name#} | {#PLIKLI_Visual_RSS_Description#}</title>

The only other place to also fix is the title when you view th story on the story page:

<title>Testing Limit Edit Time Plikli CMS</title>

1- in the same title.tpl file go to LINE 77
2- change this:
<title>{if !empty($posttitle)}{$posttitle}{/if} {if !empty($pretitle)} | {$pretitle}{/if} {#PLIKLI_Visual_Name#}</title>

to:
<title>{if !empty($posttitle)}{$posttitle}{/if} {if !empty($pretitle)} | {$pretitle}{/if}| {#PLIKLI_Visual_Name#}</title>

Forum Timezone: Asia/Beirut

Most Users Ever Online: 118

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

john: 47

Nishant kumar: 33

Mosage: 25

Punk: 23

Martin Gold: 22

Felipe: 22

Phelix: 17

yami: 14

StaticMove: 13

Hiro: 13

Newest Members:

Riya

Daniel

Rutika Patil

Mazharul Islam

Bright

Croma

Arohi Kashyap

gopal krishna

John_1

ariananesbitt

Forum Stats:

Groups: 1

Forums: 8

Topics: 122

Posts: 722

 

Member Stats:

Guest Posters: 0

Members: 154

Moderators: 0

Admins: 1

Administrators: redwine