V
V
Viktor Moroz2015-02-23 14:15:59
DLE
Viktor Moroz, 2015-02-23 14:15:59

Second topnews dle 10.4 not working?

Hello.
Someone can help figure it out.
I used to have two topnews dle after updating to version 10.4, unfortunately the second topnews stopped working, did anyone encounter this?
Did so.
1. Find topnews.php in engine/modules/
2. Copy it to the engine/modules/ folder with the name topnews1.php
3. Next, go to the topnews1.php file, look for all topnews and rename it to topnews1
4. Go to your template and create a file : topnews1.tpl
5. Next, go to index.php and look for:
require_once ROOT_DIR . '/engine/init.php';
Paste below:
require_once ENGINE_DIR.'/modules/topnews1.php';
Look for below:
$tpl->set ( '{speedbar}', $tpl->result['speedbar'] );
$tpl->set ( '{topnews1}', $tpl->result['topnews1'] );
6. In the main.tpl template, the
{topnews1} tag will be responsible for displaying top news

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Belousov, 2015-04-02
@PafNutY

bp.pafnuty.name
if you want a free version:
bp3.pafnuty.name but it is no longer supported.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question