1. Log in to the management background, enter content model management and import the model. Be careful to modify the first line of the following code to avoid conflicts with other models. The URL in the 13th line of code can be changed to your website address. The Chinese characters in the 15th line of code are the introduction of the website. Please modify it.
6 url URL module #@__archives #@__addonurl archives_add.php content_list.php archives_edit.php archives_add.php content_list.php archives_edit.php
0 1 1 -1 0 0 0 0 URL 0 0 2. Download the module, decompress it and upload it to the
dedecms root directory (no overwriting files)
Attachment without rating module: URL module (without rating).rar
Attachment containing rating module (modified from mood expression): URL module (including rating).rar
Before using the rating template, please run the following sql statement in the dedecms background (webmasters who have installed mood emoticons please skip this step): CREATE TABLE `dede_mood` (
`id` int(11) NOT NULL auto_increment,
`aid` int(11) NOT NULL,
`mood1` int(10) NOT NULL default 0,
`mood2` int(10) NOT NULL default 0,
`mood3` int(10) NOT NULL default 0,
`mood4` int(10) NOT NULL default 0,
`mood5` int(10) NOT NULL default 0,
`mood6` int(10) NOT NULL default 0,
`mood7` int(10) NOT NULL default 0,
`mood8` int(10) NOT NULL default 0,
PRIMARY KEY (`id`)
) ENGINE=MyISAM;
CREATE TABLE `dede_mood_ranking` (
`id` int(11) NOT NULL auto_increment,
`aid` int(10) NOT NULL,
`mood` int(1) NOT NULL,
`time` int(11) NOT NULL,
`ip` varchar(15) NOT NULL,
PRIMARY KEY (`id`),
KEY `aid` (`mood`,`aid`,`time`,`ip`)
) ENGINE=MyISAM;
Copy code
3. The website column template is not added, sorry (you can refer to the article template to modify), the column article template is set to /templets/at1.cn/article_url.htm
4. Just publish an article under the URL column
The collection model is being established, please stay tuned...