Discuz: the discuz Forum configured by xampp is used for typographical display error. However, the layout of the post is abnormal after posting, and the layout of the active Post is not aligned; the username, the landlord, and the elevator are blocked. how can this problem be solved? Please help me solve this problem!
Reply to discussion (solution)
Update the cache or change the browser.
If not, you have to adjust the style yourself.
I tried it. I don't know where to adjust it...
Dz \ template \ default \ forum \ viewthread_node.htm
Line 3, with the following code
Style = "height: 48px" >
Change
Try modifying style = "height: 48px". remember to change the original php code back.
Dz \ template \ default \ forum \ viewthread_node.htm
Line 3, with the following code
Style = "height: 48px" >
Change
Try modifying style = "height: 48px". remember to change the original php code back.
I know the reason. it is because I saved the common/header_common in the template file as UTF-8. why? in this case, my title cannot be changed to Chinese, is there a two-way solution?
It is best not to write Chinese directly on header_common. you should use language packs
And the title is changed. $ navtitle is based on the php page variable, and each page is different.
If you really want to write it directly, you have to transcode it.
It is best not to write Chinese directly on header_common. you should use language packs
And the title is changed. $ navtitle is based on the php page variable, and each page is different.
If you really want to write it directly, you have to transcode it.
I will change the height value of viewthread_node.htm according to your statement, but it has no effect.
Do you mean to directly deploy the forum source file for the UTF-8? However, I used to release a discuz UTF-8 version. garbled characters occurred during database configuration. I don't know why, but I switched back to GBK.
Another reason is that I have changed the header_common title on other computers. saving it as a UTF-8 file will not cause layout errors. is it also related to the computer's configuration environment?
Code in header_common $ Navtitle- $ _ G ['setting'] ['bbname']- Powered by Discuz!--> Is navtitle the default "Forum" in the lang file in the title?
1. change the height value to a smaller value and refresh it several times. I have a local effect.
2. try to use UTF-8 or there will be many gbk encoding problems later. especially during the secondary development, the database garbled characters should be incorrect or the data inserted encoding is incorrect.
3. this may be related to your declared charset.
Final Solution: We recommend that you define $ navtitle on the php page, and do not modify the title as the $ navtitle changes.
1. change the height value to a smaller value and refresh it several times. I have a local effect.
2. try to use UTF-8 or there will be many gbk encoding problems later. especially during the secondary development, the database garbled characters should be incorrect or the data inserted encoding is incorrect.
3. this may be related to your declared charset.
Final Solution: We recommend that you define $ navtitle on the php page, and do not modify the title as the $ navtitle changes.
Thank you!