
This module included:
- Top articles
- Newest articles in this month
- Random articles
9 - August - 2009
Fix error : link of news have multiple category (SEO type = 2)
- Download:
You must register before you can view this text.
- INSTALL
1. Copy file 3news.php to engine/modules
2. Open file index.php
Find
$tpl->load_template ( 'main.tpl' );
BELOW add
You must register before you can view this text.
Next find
$tpl->set ( '{calendar}', $tpl->result['calendar'] );
BELOW add:
You must register before you can view this text.
3. Open file main.tpl in current template, add below tags
{top_news}
{last_news}
{rand_news}
4. Finish!
--------------------------
Some options in file 3news.php:
- $linklength = 200; if the length of title more than 200 characters, then reduce number of characters on the left heading 200 characters
$limittop = 10; // number of news in top block
$limitlast = 10; // number of news in last block
$limitran = 10; // number of news in random block
$showviews = false; // Show number of views at preffix of news link
Some options in file 3news.php:
- $linklength = 200; if the length of title more than 200 characters, then reduce number of characters on the left heading 200 characters
$limittop = 10; // number of news in top block
$limitlast = 10; // number of news in last block
$limitran = 10; // number of news in random block
$showviews = false; // Show number of views at preffix of news link

Updates
Dle templates English


