Custom the view of existed widget
Hi everyone,
We are developing a multi-languages website by the sitefinity with database MySQL(ver5.5.35).
We used the log in widget and log out widget provided by sitefinity in our pages.
(attachment: widget_we_used.png)
Here is the view of the Simplified Chinese version in our site(attachment: login_widget_&_logout_widget_zh_chs_ver.png)
Here is the view of the English version in our site(attachment: login_widget_&_logout_widget_en_ver.png)
We know that it is easy to change the label of username, the label of password and the text on the button in log in widget. Also, we want to change the label , which is on the right hand side of check box in log in widget. (Problem 1)
Furthermore, we want to change the text of the log out widget. (Problem 2)
Here is the view we wanted in the Simplified Chinese Pages (attachment: the_view_of_widget_we_want.png)
The questions are below:
1) Is there any method to achieve both problem 1 & 2 in the sitefinity pages only?
2) What is the simple way (apart from create a new custom widget) to achieve both of problem 1 & 2 ? and How?
Regards,
Wing
You can easily edit labels for these widgets in the following way:
1. Navigate to Administration =>Labels & Messages
2. Look for Resource keys: RememberMe, LogInText, LogOutText
3. Click on the label and edit it with your custom text.
4. Make sure you restart your app afterwards for it to take effect.
Here a link for more detailed documentation which you can find also useful:
http://www.sitefinity.com/documentation/documentationarticles/installation-and-administration-guide/backend-labels/editing-labels