HTML sitemap Module for DLE
- views: 3 798
- date: 7 July 2011
- posted by: LibreX

HTML sitemap Module for DLE
Module html site map, which the authors believe meets the requirements of seo, it is also extremely easy to install, no unnecessary files and records in the database.
The module is fully cached, uses API DLE, the card does not appear publications that have not been moderated, as well as planned for the future. Take into account the presence / absence of NC, as well as the type of machines (this is perhaps the most important). The same has been provided for such subtlety - if someone has long worked with the engine Dle, then remember that early versions did not have machines, and then he appeared, but only one type, such as it is now formed by Type 3. So this is also provided in this module: new publications are displayed with a URL type that is selected in the admin, and the old, respectively, with a URL of the old type.

Description and specifications of the module HTML sitemap for DLE:
* Purpose of the module - a conclusion with the unordered list site map - links to all publications, categories and static pages. Can the detailed configuration of the module for controlling the output of information and its quantity.
* The module is inserted into the template with a tag main.tpl inslude {file = "engine / modules / sitemap.php? Param1 = value1 & param2 = value2"}
* To create a separate page with the output of the module, the tag must be enclosed in [aviable = sitemap] [/ aviable], and the tag {} sontent - sign in a [not-aviable = sitemap] [/ not-aviable] - then the page with the module will be available at "http://site.ru/index.php?do=sitemap"
* "? Param1 = value1 & param2 = value2" - module settings after a sign? and are separated by the sign &
* Example of inserting (Displays a site map with a list of static pages, and news of the categories with IDs 2, 3 and 4):
[Not-aviable = sitemap] {content} [/ not-aviable]
[Sitemap aviable =] {include file = "engine / modules / sitemap.php? Show_static = 1 & need_cats = 2,3,4"} [/ aviable]
The module parameters that are passed through tpl when inserting:
* Need_cats - list of categories separated by commas id to display in the map
* Exc_cats - id list of categories separated by commas, to be excluded from the map
* These options are pointless at the same time point
* Need_news - a list of items separated by commas id to display in the map
* Exc_news - id list items separated by commas, to be excluded from the map
* These options are pointless at the same time point
* Need_static - id list of static pages to display a comma in the map
* Exc_static - list of id static pages, separated by commas, to be excluded from the map
* These options are pointless at the same time point
* Cats_as_links - show category names as links (1 or 0)
* Show_static - display a map of static pages (1 or 0)
* Cats_sort - Sort the category list (the field from the table dle_category)
* Cats_msort - direction of sorting the list of categories (ASC or DESC)
* News_sort - sort field, a list of articles (the field from the table dle_post)
* News_msort - direction of sorting a list of articles (ASC or DESC)
* Static_sort - Sort the list of static pages (the field from the table dle_static)
* Static_msort - direction of sorting a list of static pages (ASC or DESC)
* There are 2 variants of sort direction:
ASC - ascending (alphabetical)
DESC - in ascending order (in reverse)
* If the field and sort order is not specified - using presets for standard categories or parameters DLE
* Cats_limit - the maximum number of displayed sub-
* News_limit - the maximum number of displayed items from a category
* Static_limit - the maximum number of displayed static pages
Note that none of the above options is not mandatory, you can not specify anything at all (simply insert the tag {inslude file = "engine / modules / sitemap.php"}), then will use the default settings.
Tested on Dle 9.0 and 9.3
We need your support!
Make a donation to help us stay online
Bitcoin (BTC)
bc1q08g9d22cxkawsjlf8etuek2pc9n2a3hs4cdrld
Bitcoin Cash (BCH)
qqvwexzhvgauxq2apgc4j0ewvcak6hh6lsnzmvtkem
Ethereum (ETH)
0xb55513D2c91A6e3c497621644ec99e206CDaf239
Litecoin (LTC)
ltc1qt6g2trfv9tjs4qj68sqc4uf0ukvc9jpnsyt59u
USDT (ERC20)
0xb55513D2c91A6e3c497621644ec99e206CDaf239
USDT (TRC20)
TYdPNrz7v1P9riWBWZ317oBgJueheGjATm
Information |
|||
![]() |
Users of GUESTS are not allowed to comment this publication. | ||









