Cs2.0 Chinese Transformation notes

Source: Internet
Author: User

1. contraopanel/tabs. config
change UTF-8 to gb2312 and the title should be in Chinese.
2. controlpanel/blogadmin/options/generaloptions. set aspx here to enable blog registration

3. Blog access/controlpanel
4. Add "<? XML version = "1.0" encoding = "gb2312"?> ", Binghua
5. Add a line of "personal Settings" in the controlpanel/TAB. xml file and add a link.
6. Add "my blog" and other links to siteurls. config. Pay attention to the problem of the relative path (IIS must be restarted to take effect)
7. Fixed the issue of album Display error after Skin-CategoryDetails-Sidebar.ascx and Skin-GalleryDetails-Sidebar.ascx (search? Garbled characters)
8. Currently, folders do not support Chinese characters. If you enter Chinese characters, an error will be reported. (For the solution, see: why an error occurred when adding an album with a Chinese name and how to modify it !!. Htm)
9. Add the quick login box in default. aspx without the default skin-loginsmall.acsx, because the Default Login key cannot be solved
Solution: Save the skin-login.aspx as mylogin. aspx and make a style modification call with reference to the skin-loginsmall.acsx
10. added "set as Homepage" and modified the CSS style to make the font display normal.
11. Add the following to the Forum "floor display" in the appropriate position of \ WEB \ themes \ Default \ skins \ View-PostFlatView.ascxCode:
Floor <% # container. itemindex %>
12. Fixed that keyword filling does not support Chinese verification.
13. On the home page, I modified the album display mode and controlled the number of words.
\ Themes \ Default \ skins \ galleries \ Skin-AggegatePortalPictureListing.ascx
\ Album project file \ controls \ aggregateportalpicturelisting. CS

14. Remove the configuration text in the upper left corner of the homepage and modify the file.

\ Themes \ Default \ skins \ Skin-TitleBar.ascx (13)
 
Note: If you put your logo in the upper left corner, it will conflict with the title text, so you can remove it after configuration.

15. Remove "control panle" in the upper left corner of the control panel.
 
Blocked from \ themes \ Default \ masters \ controlpanelmaster. ascx (26)

< H1 Class = " Commontitlebartitle " > < CS: mpregion ID = " Paneltitle " Runat = " Server "   > < CP: resourcecontrol ID = " Resourcecontrol2 " Runat = " Server " Resourcename = " CP "   /> </ CS: mpregion > </ H1 >

17. Change the weekly format "Monday" in the blog to "1"
 
Find the project communityserverblogs. Controls. weblogcalendar. CS
 

Public Weblogcalendar ()
{
String [] Weekdayary =   New   String [] { " Day " , " I " , " II " , " 3. " , " Thu " , " V. " , " Sat. " } ;
System. Globalization. cultureinfo info =   New System. Globalization. cultureinfo ( " Zh-CN " );
Info. datetimeformat. abbreviateddaynames = Weekdayary;
System. Threading. thread. currentthread. currentculture = Info;
}

Then, in postcalendar = findcontrol ("postcalendar") as calendar;
Add postcalendar. daynameformat = daynameformat. short;

18. Questions about title display (changed to more conducive to search engine optimization)
Modify the \ controls \ basecontrols \ weblogthemedcontrol. CS file, "{0 }:{ 1}" to "{1 }"

19. Menu Bar of the "super administrator" in hanhua
Change \ controlpanel \ setupnavbar. config

Tip: Search for keywords text, value, headingtext,> * <

20. Modify site copyright and other information components \ Components \ sitestatics. CS and controls \ utility \ footer. CS
21. Modify the announcement call and related styles in communityserver. config.
22. Modify the English title on the second-level page
\ Blogs \ controls \ aggregateblogcontrols \ aggresponpostlist. CS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.