event title doesn't show in browser tab

More
12 years 11 months ago #16038 by lucia
Hello,

I am using the latest version of Events Booking. When I go to the detail page of an event, the browser tab doesn't show the event title, but EB_EVENT_PAGE_TITLE. How can I fix this please?

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

More
12 years 11 months ago #16044 by sescha
Replied by sescha on topic Re: event title doesn't show in browser tab
I have the same issue here. Using latest version 1.4.4

The title "EB_EVENT_PAGE_TITLE" will also be displayed as Facebook post title when posting an event to Facebook with the default facebook link on the event detail page.

A hint on how to fix this would be very much appreciated!

Best,
Sebastian

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

More
12 years 11 months ago #16049 by sescha
Replied by sescha on topic Re: event title doesn't show in browser tab
I was able to fix it.
The reason was because I was using another language file, not the default english language file.

In my (German) language file the following line was missing:
EB_EVENT_PAGE_TITLE="[EVENT_TITLE]-[CATEGORY_NAME]"

Try adding this line to your file at
/language/de-DE/de-DE.com_eventbooking.ini
(substitute the "de_DE" for the locale setting of your language here)

and see if it fixes your problem.

Best,
Sebastian

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

More
12 years 3 months ago #24863 by Cynthia
Replied by Cynthia on topic Re: event title doesn't show in browser tab
A little addition to sescha's message:

If you remove the " " it works. Add this to your translation file:

EB_CATEGORY_PAGE_TITLE=[CATEGORY_NAME]
EB_EVENT_PAGE_TITLE=[EVENT_TITLE]-[CATEGORY_NAME]

This will only work when you adjust the file itself in the language folder, e.g. public_html/language/nl-NL/nl-NL.com_eventbooking.ini
If you try to do this at joomla backend in 'event booking > translation' it will not work, as the " " are automatically added there.

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

More
12 years 3 months ago #24875 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: event title doesn't show in browser tab

Cynthia wrote: A little addition to sescha's message:

If you remove the " " it works. Add this to your translation file:

EB_CATEGORY_PAGE_TITLE=[CATEGORY_NAME]
EB_EVENT_PAGE_TITLE=[EVENT_TITLE]-[CATEGORY_NAME]

This will only work when you adjust the file itself in the language folder, e.g. public_html/language/nl-NL/nl-NL.com_eventbooking.ini
If you try to do this at joomla backend in 'event booking > translation' it will not work, as the " " are automatically added there.


=> This only works for Joomla 1.5. For Joomla 2.5 and future release of Joomla, you need the " " characters surround the string to make it works.

Tuan

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

More
12 years 3 months ago #24918 by Cynthia
Replied by Cynthia on topic Re: event title doesn't show in browser tab
I work with Joomla 2.5.8. Maybe it is because it is not meant as text, but as a placeholder for the category name and event name in the browser tab.
I tried both (with and without " "), but only without " " it works. When I place " " around it, the browser tab shows [CATEGORY_NAME]

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

More
12 years 3 months ago #24919 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: event title doesn't show in browser tab
It seems you are using none-english language file, correct ? Are other language items in the language file surrounded by " " character? Maybe the other language items in your language file are not surrounded by " " and your syntax is correct ?

Normally, the correct syntax for Joomla 2.5 system is each language string must be surrounded by " " character. (please view the english language file to see the correct structure/syntax)

Tuan

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

More
12 years 3 months ago #24925 by Cynthia
Replied by Cynthia on topic Re: event title doesn't show in browser tab
Yes Tuan, I used a Dutch language file. Other texts are surrounded with "". I attach the language file so you can see.

File Attachment:

File Name: Dutchtranslation.zip
File Size:6 KB


See row 420 and further.

I made quite some changes in the Dutch text to correct the grammar and make it more 'Dutch' instead of a literal translation. Maybe this file is of use to other Dutch customers, so feel free to share it.
Attachments:

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

More
12 years 3 months ago #24962 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: event title doesn't show in browser tab
Great. Thanks Cynthia for sharing the language file. I am very happy to add it to download package so that other Dutch customers can use it.

Thanks again Cynthia.

Tuan

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

Moderators: Tuan Pham Ngoc