Keyword

K2 Item title

More
12 years 3 months ago #66974 by Nikos
K2 Item title was created by Nikos
Hi all,

I am developping my 1st K2 website and I seem to have a specific problem that I will describe:

Let's say we have created an Item called : "Item test"
And our website is called "Website"

I want the browser to show the webpage title when viewing that item as: Item test - Website

It currently only shows up the item's name and not the website name in a page title, I used to be able to do that with a plugin called Title Manager, but it doesn't work in K2 as it just shows ONLY the website name on every article.

Is there any workaround?

Thanks in advance,
Nikos

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #66975 by Kit
Replied by Kit on topic Re: K2 Item title
First check this:
go to site -> Global Configuration -> site

on the right hand side, you will see a box labeled "SEO Settings"

in the box, find the option named "Include Site Name in Page Titles" and make sure it's set to "after."

Good luck!

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #66976 by Nikos
Replied by Nikos on topic Re: K2 Item title
Thanks for the answer, unfortunately I think you mention an option not available to J1.5 websites (I should have said that in my original post, apologies)

Any workaround for 1.5 ? (I assume your solution works for 2.5 ones)

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #66977 by Nikos
Replied by Nikos on topic Re: K2 Item title
For anyone interested I found how to make this work!
Add this code at the beginning of your template's index.php and voila ! :D
Log in  or Create an account to join the conversation.