For change Archives base on Joomla Blog. follow these step :
Open archive.php files in your editor /components/com_content/models/archive.php
Search here code around line no. 125
if ($year = $this->getState('filter.year')) {
$query->where('YEAR('. $queryDate . ') = ' . $year);
}
And replace it with this.
//if ($year = $this->getState('filter.year')) {
$query->where('a.catid=' . InsertBolgItemID);
//}
Open helper.php file (modules/mod_articles_archive/helper.php) and search around line no. 21
$query->where('state = 1 AND checked_out = 0');
Replace it with this code
$query->where('state = 1 AND catid=InsertBlogCatID AND checked_out = 0');
Thats All!
Enjoy code
Ich hab online mehr als 2 Stunden gesurft ,aber selten Artikel gefunden, die so interessant wie
deine waren. Das ist echt wunderbar fuer mich!
Hello there! I know this is kinda off topic however , I’d figured I’d ask.
Would you be interested in exchanging links or maybe guest authoring a blog
post or vice-versa? My blog addresses a lot of the
same topics as yours and I think we could greatly benefit
from each other. If you are interested feel free to shoot me an email.
I look forward to hearing from you! Great blog by the way!
Hi you have a nice website over here! Thanks for posting this interesting information for us! If you keep up the great work I’ll visit your website again. Thanks!