- Posts: 2
- Thank you received: 0
event title doesn't show in browser tab
- lucia
- Topic Author
- Offline
- New Member
-
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.
- sescha
- Offline
- New Member
-
- Posts: 3
- Thank you received: 0
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.
- sescha
- Offline
- New Member
-
- Posts: 3
- Thank you received: 0
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.
- Cynthia
- Offline
- Senior Member
-
- Posts: 61
- Thank you received: 0
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.
- Tuan Pham Ngoc
- Offline
- Administrator
-
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.
- Cynthia
- Offline
- Senior Member
-
- Posts: 61
- Thank you received: 0
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.
- Tuan Pham Ngoc
- Offline
- Administrator
-
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.
- Cynthia
- Offline
- Senior Member
-
- Posts: 61
- Thank you received: 0
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.
- Tuan Pham Ngoc
- Offline
- Administrator
-
Thanks again Cynthia.
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.