How can I modify the dedecms homepage? I personally don't like dedecms's default homepage layout. I can see a good template on the Internet, but I don't know how to replace it. In addition, replace the link in the new template with what I need. If you know something, give it a thought. The more detailed, the better. thank you !, I will discuss my personal dislike of dedecms's default homepage layout. I can see a good template on the Internet, but I don't know how to replace it. And how can I modify the dedecms homepage?
I personally don't like dedecms's default homepage layout. I can see a good template on the Internet, but I don't know how to replace it. In addition, replace the link in the new template with what I need. If you know something, give it a thought. The more detailed, the better. thank you!
------ Solution --------------------
Discussion
I personally don't like dedecms's default homepage layout. I can see a good template on the Internet, but I don't know how to replace it. In addition, replace the link in the new template with what I need. If you know something, give it a thought. The more detailed, the better. thank you!
------ Solution --------------------
Zhimeng dedeCMS modify the number of entries displayed in the list» Zhimeng dedeCMS tips and methods for modifying homepage headlines
1. add a background image to the homepage headlines
In \ templets \ style \ page.css, find:
. Index. bignews. onenews {
Padding: 8px 12px;
Border-bottom: 1px solid # EBEBEB;
To:
. Index. bignews. onenews {
Padding: 8px 12px;
Background: url (../images/bignews_bg.gif) top center no-repeat; // This is where the background image is added. you can slightly tune the padding according to the appearance.
Border-bottom: 1px solid # EBEBEB;
2. center headers on the homepage:
In \ templets \ default \ index.html
Find [field: title/]
Change to [field: title/] to center
3. Title length of the homepage headlines:
Open index.htm
Find the following content:
{Dede: arclist flag = 'h' limit = '0, 1 '}
[Field: title/]
[Field: description/]... [View Full Text]
{/Dede: arclist}
Find this line: {dede: arclist flag = 'h' limit = '0, 1 '}
Add titlelen = 'expected number'. if you want to display 20 Chinese characters, add titlelen = '40'
That is: {dede: arclist titlelen = '40' flag = 'h' limit = '0, 1 '}
Each 2 characters is equal to one Chinese character!
4. advertisement 420X60 on the top of the homepage headlines:
Find this code in the index.htm template,
Insert the advertisement code here. you can use the div for easy positioning.
------ Solution --------------------
In \ dedecms \ templets \ default, this is the default template file of Zhimeng.
After logging on to the background, click "system" on the left"
System> Site Settings> default template style
The specific modification of the dream template tag is not clear in a few words. go to the official website to find the help documentation.