Dede Dream Background page and function modification and streamline operation method

Source: Internet
Author: User

Let's take a look at what pages control the functionality and display of the background. Below is the system default background interface diagram, in order to facilitate the following instructions I have some of the various parts marked. Total of A, B, C, D, E five regions.

Common : A area "top logo line" corresponding file:/dede/templets/index2.htm"common" and /dede/templets/index_top2.htm

B area "Top logo black background line" corresponding file: Ibid.

C Region "principal left" corresponding file:/dede/templets/index_menu2.htm"main link on the left" and /dede/inc/inc_menu.php"secondary link under common main link",/ dede/inc/inc_menu_map.php"Secondary link under primary link",/dede/inc/inc_menu_module.php"module and plug-in secondary navigation"

D Region "Main Zone section" counterpart file:/dede/templets/index_body.htm

E-zone "background common bottom" corresponding file: Ibid.

In addition, there are three background template files are "not used":

/dede/templets/index_body_move.htm corresponding to the D region, the main area of the background home template "not used"

/dede/templets/index_body_showad.htm corresponding to the background of the main body of the first part of the red "Dedecms Security Tips" section, such as prompting the data directory transfer.

/dede/templets/index_body_showauth.htm corresponding to the background home page program author Information section

① Modify the background logo image, the picture location:/dede/images/style1/admin_top_logo.gif Modify the picture for the content you want, cover can, the following is my simple production.

Modify the Picture Alt attribute: Find the following code in index2.htm:

<div class= "Top_logo" >

/admin_top_logo.gif "width=" "height=" PNs "alt=" Dedecms logo "title=" Welcome use Dedecms "id=" Topdedelogo "/>

</div>

Change the values in the alt= "Dedecms Logo" and title= "Welcome use Dedecms" to what you want, respectively, as follows:

alt= "T9 Freeman R9" title= "Welcome to T9 Freeman R9 backstage Management System"

② Modify Area A to the right part of the section and the B area section. Make the changes in the index2.htm file. Both the welcome language and the navigation can be modified here.

If you want to be more convenient for customers here such as:

Add the column name to allow the customer to click on the bottom of the subject directly below the list of articles under this column, such as,

<li>

<a href= "#" onclick= "Jumpframe (' index_menu.php ', ' catalog_do.php?cid=1&dopost=listarchives ');" style= "color : #FFFFFF; " >

"Industry News"

</a>

</li>

When you put other columns directly above the cid=1 value of 1 to replace the new column ID value, the link name can be modified.

An article content editing page, for example.

<li>

<a href= "#" onclick= "Jumpframe (' index_menu.php ', ' archives_do.php?aid=8&dopost=editarchives ');" style= " Color: #FFFFFF; " >

Bukkake

</a>

</li>

Modify, directly modify the above aid=5 section, change 5 for the ID value of the article you want, the link name can be replaced.

The difference between the two is mainly on the link address:

Column: ' catalog_do.php?cid= column ID value &dopost=listarchives

Article or stand-alone page: archives_do.php?aid= Article ID value &dopost=editarchives

Other useless such as "Member Center" "Shortcut", and b area of all can be deleted or commented out. Note: "Feature map for easy operation later"

③ left side modification, the leftmost column of the main navigation in the/dede/templets/index_menu2.htm modified, secondary links in/dede/inc/inc_menu.php and/dede/inc/inc_menu_module.php modified

Enterprise Station general type commonly used modification.

1. "Module" is modified to "product". and secondary navigation modifications.

Main navigation: Modify file and Location: index_menu2.htm "module" to "Product", "build" to "case"

Secondary navigation: Modify the file and location/dede/inc/inc_menu_module.php, in the Code <m:top name= ' module Management ' c= ' 6, ' display= ' block ' > before adding the code below:

<m:top mapitem= ' 6 ' name= ' products large assortment One ' c= ' 6, ' display= ' block ' >

<m:item name= ' small class ' link= ' catalog_do.php?cid=3&dopost=listarchives ' target= ' main '/>

</m:top>

If you need to add more than one large categorical copy of the entire code above, and modify the corresponding name and CID values. If you want to add multiple small categories under a large category, copy and add the code below.

<m:item name= ' small class ' link= ' catalog_do.php?cid=3&dopost=listarchives ' target= ' main '/>

Code Description: Name= ' column name '; link within the cid= column ID value;

If it's an article, use the code below:

<m:item name= ' Company profile ' link= ' archives_do.php?aid=8&dopost=editarchives ' target= ' main '/>

Code Description: Name= article name; link's aid= article ID value.

The "Build" modification name is in index_menu2.htm, and the secondary navigation is modified in inc_menu.php. The other modification methods are the same.

2, commented out in the index_menu2.htm: "Collect" "Member" "template" these items.

3, the following part of the code:

<m:top item= ' 1_ ' name= ' common operation ' display= ' block ' >

<m:item name= ' website column management ' link= ' catalog_main.php ' ischannel= ' 1 ' addalt= ' Create column ' linkadd= ' Catalog_add.php?listtype=all ' rank= ' t_list,t_acclist ' target= ' main '/>

<m:item name= ' All Files list ' link= ' content_list.php ' rank= ' a_list,a_acclist ' target= ' main '/>

<m:item Name= ' and other audited Archives ' link= ' content_list.php?arcrank=-1 ' rank= ' a_check,a_acccheck ' target= ' main '/>

<m:item name= ' I published the document ' link= ' content_list.php?mid= '. $cuserLogin->getuserid (). "' Rank= ' A_list,a_acclist,a_ MyList ' target= ' main '/>

<m:item name= ' comment management ' link= ' feedback_main.php ' rank= ' sys_feedback ' target= ' main '/>

<m:item name= ' content Recycle Bin ' link= ' recycling.php ' ischannel= ' 1 ' addalt= ' emptying Recycle Bin ' addico= ' images/gtk-del.png ' linkadd= ' Archives_do.php?dopost=clear&aid=no&recycle=1 ' rank= ' a_list,a_acclist,a_mylist ' target= ' main '/>

</m:top>

Change to:

<m:top item= ' 1_ ' name= ' common functions ' display= ' block ' >

<m:item name= ' "Backstage Home" ' link= ' index_body.php ' rank= ' sys_arcbatch ' target= ' main '/>

<m:item name= ' "front page" ' link= '. /' rank= ' sys_arcbatch ' target= ' _blank '/>

<m:item name= ' industry News ' link= ' catalog_do.php?cid=1&dopost=listarchives ' linkadd= ' spec_add.php ' rank= ' Tsys_ Arcbatch ' target= ' main '/>

<m:item name= ' Contact us ' link= ' templets_one_edit.php?aid=3&dopost=edit ' rank= ' sys_arcbatch ' target= ' main '/>

<m:item name= ' Company profile ' link= ' archives_do.php?aid=8&dopost=editarchives ' target= ' main '/>

<m:item name= ' slideshow ' link= ' catalog_do.php?cid=5&dopost=listarchives ' rank= ' sys_arcbatch ' target= ' main '/>

<m:item name= ' "Links" ' link= ' friendlink_main.php ' rank= ' sys_arcbatch ' target= ' main '/>

<m:item Name= ' "Company comprehensive Information" ' link= ' sys_info.php ' rank= ' sys_arcbatch ' target= ' main '/>

<m:item name= ' website column management ' link= ' catalog_main.php ' ischannel= ' 1 ' addalt= ' Create column ' linkadd= ' Catalog_add.php?listtype=all ' rank= ' t_list,t_acclist ' target= ' main '/>

</m:top>

Change or increase or decrease according to the situation.

Then the following code:

<m:top item= ' 5_ ' name= ' automatic task ' notshowall= ' 1 ' display= ' block ' rank= ' sys_makehtml ' >

<m:item name= ' One-click Update website ' link= ' makehtml_all.php ' rank= ' sys_makehtml ' target= ' main '/>

<m:item name= ' update system cache ' link= ' sys_cache_up.php ' rank= ' sys_arcbatch ' target= ' main '/>

{$remoteMenu}

</m:top>

Replace with "Multiple copies can be done for case classification, or other classifications":

<m:top item= ' 5_ ' name= ' case category ' notshowall= ' 1 ' display= ' block ' >

<m:item name= ' case classification 1 ' link= ' catalog_do.php?cid=3&dopost=listarchives ' target= ' main '/>

</m:top>

4. Delete the following groups:

<m:top item= ' 5_ ' name= ' HTML update ' notshowall= ' 1 ' display= ' none ' rank= ' sys_makehtml ' >

<m:top item= ' 1_10_7_ ' name= ' System help ' display= ' None ' >

<m:top item= ' 1_3_3 ' name= ' batch maintenance ' display= ' block ' >

<m:top item= ' 1_ ' name= ' attachment management ' display= ' none ' rank= ' sys_upload,sys_myupload,plus_ File Manager ' >

<m:top item= ' 1_ ' name= ' content management ' display= ' block ' >

<m:top item= ' 1_ ' name= ' channel model ' display= ' block ' rank= ' T_list,t_acclist,c_list,temp_one ' >

<m:top item= ' 10_6_ ' name= ' payment tool ' display= ' none ' rank= ' Sys_data ' >

and inc_menu_module.php

5, the following set of code:

<m:top item= ' 10_ ' name= ' system settings ' display= ' None ' rank= ' Sys_user,sys_group,sys_edit,sys_log,sys_data ' >

To be replaced by:

<m:top item= ' 1_ ' name= ' common settings ' display= ' block ' >

<m:item name= ' "Backstage Home" ' link= ' index_body.php ' rank= ' sys_arcbatch ' target= ' main '/>

<m:item name= ' "front page" ' link= '. /' rank= ' sys_arcbatch ' target= ' _blank '/>

<m:item name= ' "Links" ' link= ' friendlink_main.php ' rank= ' sys_arcbatch ' target= ' main '/>

<m:item Name= ' "Company comprehensive Information" ' link= ' sys_info.php ' rank= ' sys_arcbatch ' target= ' main '/>

<m:item name= ' website column management ' link= ' catalog_main.php ' ischannel= ' 1 ' addalt= ' Create column ' linkadd= ' Catalog_add.php?listtype=all ' rank= ' t_list,t_acclist ' target= ' main '/>

</m:top>

<m:top item= ' 1_ ' name= ' common columns ' display= ' block ' >

<m:item name= ' industry News ' link= ' catalog_do.php?cid=1&dopost=listarchives ' linkadd= ' spec_add.php ' rank= ' Tsys_ Arcbatch ' target= ' main '/>

<m:item name= ' Contact us ' link= ' templets_one_edit.php?aid=3&dopost=edit ' rank= ' sys_arcbatch ' target= ' main '/>

<m:item name= ' Company profile ' link= ' archives_do.php?aid=8&dopost=editarchives ' target= ' main '/>

<m:item name= ' slideshow ' link= ' catalog_do.php?cid=5&dopost=listarchives ' rank= ' sys_arcbatch ' target= ' main '/>

</m:top>

<m:top item= ' 1_ ' name= ' system settings ' display= ' block ' rank= ' sys_user,sys_group,sys_edit,sys_log,sys_data ' >

<m:item name= ' system basic parameters ' link= ' sys_info.php ' rank= ' sys_edit ' target= ' main '/>

<m:item name= ' System User Management ' link= ' sys_admin_user.php ' rank= ' sys_user ' target= ' main '/>

<m:item name= ' System log Management ' link= ' log_list.php ' rank= ' sys_log ' target= ' main '/>

<m:item name= ' picture watermark Settings ' link= ' sys_info_mark.php ' rank= ' sys_edit ' target= ' main '/>

</m:top

Dede Dream Background page and function modification and streamline operation method

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.