[Nulled] » Nulled Warez Scripts » CMS (Site management systems) » DataLife Engine » DLE hacks » We remove unnecessary items from the {sort} tag, customize it for ourselves.
December 26 2022

We remove unnecessary items from the {sort} tag, customize it for



We customize the news sorting items on the main page for ourselves.
The {sort} tag is responsible for displaying the user's choice of the news sorting order.
How do I delete unnecessary items in the news sorting tag?

1. Open the file engine/modules/functions.php and we are looking for the string:
function news_sort($do)
Under this line are all the items from the {sort} tag We find unnecessary ones and delete them.
For example, we will remove the news sorting item by popularity (rating). To do this, delete the line:
'rating' => array (
    'name' => $lang['sort_by_rating'], 'value' => "rating", 'direction' => "desc", 'image' => "" ),
etc..

2. Configure the name of the items in the file language/russian/website.lng
'sort_main'          => "Sort articles by:",
'sort_by_date'       => "date",
'sort_by_rating'     => "popularity",
'sort_by_read'       => "attendance",
'sort_by_title' => "alphabet",
'sort_by_comm' => "comments",

Information

Visitors who are in the group Guests they can't download files.
Log in to the site under your login and password or if you are a new user go through the process registrations on the website.

Comments:

This publication has no comments yet. You can be the first!

Information the publication:

Related News

16 November 2022
Discuz! script / Modules Discuz!
The "Comment

In the "Comment Thread Displaying" tab, you can find all the necessary options to manage the functions

Read more
26 December 2022
DLE modules
Dle Filter 1.2.7

The DLE Filter module for DataLife Engine organizes a news filter on your site by additional fields and news

Read more
23 November 2022
WordPress / WordPress Plugins
Admin Menu Editor Pro

Admin Menu Editor Pro - the admin menu editor allows you to customize the WordPress admin menu for yourself, for

Read more
12 November 2022
PrestaShop script / Modules PrestaShop
Prestashop Tidy v1.3.12

This module will help you keep your store nice and clean.

Read more
26 December 2022
DLE modules
Grabber Parser TMDB

MultiLanguage: Multilingual grabber-parser based on films and TV series TMDB - an analogue of Kinopoisk and IMDB

Read more

Information

Users of visitor are not allowed to comment this publication.

Site Search

Site Menu


☑ Scripts Software

Calendar

«    May 2024    »
MonTueWedThuFriSatSun
 12345
6789101112
13141516171819
20212223242526
2728293031 

Advertisement

Survey on the website

Evaluate the work of the site
 

Statistics

  • +6 Total articles 5598
  • +21 Comments 3088
  • +41 Users : 3999