The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Title of tagged topic in notifications

View previous topic View next topic Go down

In progress Title of tagged topic in notifications

Post by Kami-sama on October 25th 2015, 6:21 pm

Hello!

I was working recently to translate all English text of the toolbar to my forum language (Lithuanian). Thank you, @"Agne Tuteur" for great tutorials! I have two questions about one of them. Tutorial:
http://help.forumotion.com/t137560-title-of-watched-topics-in-notifications

1. Is it possible to leave the special characters like "ą, č, ę,..." in the link?
2. How can I add to this code, so that "PERSON tagged you in a topic" would also show the name of the topic? If it is possible of course.

Kami-sama
Forumember

Female Posts : 86
Reputation : 3
Language : English, Russian, German, Lithuanian

http://hogas.huhohi.com/

Back to top Go down

In progress Re: Title of tagged topic in notifications

Post by Ange Tuteur on October 25th 2015, 6:30 pm

Hi @Kami-sama,

Unfortunately accented charcters can't be preserved since the topic name is retrieved via the topic URL. ( accents and special characters in URLs don't go well )

You might be able to do this via the language script.

For example, replace a topic by %(topic_name)s ( and the same for in a watched topic ), and it should display the topic name. However, it'll contain dashes as that's the topic URL value.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Title of tagged topic in notifications

Post by Kami-sama on October 26th 2015, 4:53 am

Ah alright Smile I had a feeling that's how the tittles were got.

Yes, I already used that tutorial, but it doesn't work in the notifications page itself. So I was wondering if such script like in the the tutorial, link by me, is possible.

Kami-sama
Forumember

Female Posts : 86
Reputation : 3
Language : English, Russian, German, Lithuanian

http://hogas.huhohi.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum