×
K5.1.1 is released (10 Jun 2018)

The Kunena team is pleased to announce Kunena 5.1.1 [K 5.1.1].
Please read the blog post for information:

× Please note: The Kunena project team takes NO responsibility for maintaining nor supporting anything in this category.

Question Removing (1/1) fomr Browser Titles

More
3 years 2 weeks ago #1 by GeoffAU
Hi,

Is there a way to remove the page number from the browser title created by Kenuna?

I have looked over the setTitle function in libraries/kunena/view.php but I can not find anything there about page numbers.

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

More
3 years 2 weeks ago #2 by 810
look in components/com_kunena/views/topic/view.html.php

search for . " ({$page}/{$pages})" and remove them
The following user(s) said Thank You: GeoffAU

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

More
3 years 2 weeks ago #3 by GeoffAU
Thank you! That is exactly what I was looking for. Very much appreciated.

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

More
2 years 11 months ago #4 by nissilaws
I tried this and it did not work. When I click on a topic thereafter, it gives me 500 internal server error. I have kunena 4.0.3

Kindly, what could be the problem?

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

More
2 years 11 months ago #5 by 810
Then you have removed to much, or to less.

make sure you delete:

({$page}/{$pages})

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

More
2 years 11 months ago #6 by nissilaws
I removed ({$page}/{$pages}), but this time I did not remove the accompanying quotation marks. When I click on a topic, it no more gives 500 internal server error. However, I discoved (1/1) is still part of the browser title.

This is what my browser title looks like: Topic: 8 Things parents should know about raising boys (1/1)

Please I want to know how to remove Topic and (1/1). Why is this retained after removing ({$page}/{$pages}).

Thanks for your help.

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

More
2 years 11 months ago #7 by 810
if you use crypsis:

components/com_kunena/controller/topic/item/display.php

see here all locations:
github.com/Kunena/Kunena-Forum/search?l=...D%29+&utf8=%E2%9C%93

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.078 seconds