-
AuthorPosts
-
willylord Friend
willylord
- Join date:
- July 2007
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 2
- Thanked:
- 8 times in 1 posts
February 13, 2013 at 11:48 am #184927Hi,
sorry for my english.
In my website, I show only articles in the last 6 months. The others all are marked as “stored”.Most of subcategories is not longer valid, because they’s categories of the old archived articles, not longer visible.
Can I hiding the subcategories that have NO articles, yet?See attachment.
Thanks
steinar Friendsteinar
- Join date:
- July 2007
- Posts:
- 319
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 11
- Thanked:
- 98 times in 84 posts
February 13, 2013 at 3:00 pm #483311Hello willylord,
Try Extensions >> Module manager >> JA News Pro >> Basic options >> Content settings. Here you can select the categories you want to show (and even set a time range).
Ciao!willylord Friendwillylord
- Join date:
- July 2007
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 2
- Thanked:
- 8 times in 1 posts
February 13, 2013 at 3:28 pm #483312Thanks, but does not work. When I select a main category still see ALL the subcategories.
HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
February 14, 2013 at 3:43 am #483361Hi Willylord,
If you want to hide category which has no article, plz disable those categories in categories management.
Regards
willylord Friendwillylord
- Join date:
- July 2007
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 2
- Thanked:
- 8 times in 1 posts
February 18, 2013 at 3:02 pm #483805Not works 🙁
If enabling each category individually, on the frontend, I see all the subcategories like many master category.
willylord Friendwillylord
- Join date:
- July 2007
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 2
- Thanked:
- 8 times in 1 posts
February 18, 2013 at 5:50 pm #483818The real problem is that JA News Pro show the trashed and archived categories, too.
Otherwise, could I store or trashing these without problem, for not showing yet 🙁
I have discovered that “linear” layout using a caching sytem for store the subcategories.Can you help me?
HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
February 19, 2013 at 2:45 am #483862Hi Willylord,
Plz pm me ftp info, url and admin account for further checking and I will try to help you out.
Regards
willylord Friendwillylord
- Join date:
- July 2007
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 2
- Thanked:
- 8 times in 1 posts
February 19, 2013 at 12:26 pm #483920Hi, I sent you all the access info 😉
I have discovered that the problem (when I move the categories in the Archive) is the caching of this module, but via FTP in can’t delete the files on cache/mod_janewspro/*Can you help me?
MoonSailor FriendMoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
February 20, 2013 at 2:42 am #483963Hi willylord,
Pls check PM.
Regards.
willylord Friendwillylord
- Join date:
- July 2007
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 2
- Thanked:
- 8 times in 1 posts
February 20, 2013 at 1:43 pm #484061sent PM 🙂
willylord Friendwillylord
- Join date:
- July 2007
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 2
- Thanked:
- 8 times in 1 posts
February 21, 2013 at 9:16 am #484141Hi, have you got any news?
willylord Friendwillylord
- Join date:
- July 2007
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 2
- Thanked:
- 8 times in 1 posts
February 27, 2013 at 11:12 am #484753Up . Up . Up . :((
MoonSailor FriendMoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
February 28, 2013 at 7:47 am #484867Hi willylord,
I tried to edit file but it seems that the account you gave doesn’t have permission to edit. You can fix as following:
– Open file “/modules/mod_janewspro/helpers/adapter/content.php”
– Go to line 166 :
[PHP]
165 : $articles = $this->getArticles($catids, $helper, $params_cat);
166 : }
[/PHP]
add code after “}” :
[PHP]
$categoriespush = array();
foreach($_categories_org AS $cat){
if($this->getArticles($cat->id, $helper, $params_cat)){
array_push($categoriespush,$cat);
}
}
[/PHP]find code
[PHP]
$helper->_categories_org[$catid] = $_categories_org;
[/PHP]
change to :
[PHP]
$helper->_categories_org[$catid] = $categoriespush;
[/PHP]You can see images attachment 🙂
willylord Friendwillylord
- Join date:
- July 2007
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 2
- Thanked:
- 8 times in 1 posts
February 28, 2013 at 10:32 am #484905Thanks. I have some problems with server, too. :((
Later, I try to modify the page and unlock the permission.
Thanks!
willylord Friendwillylord
- Join date:
- July 2007
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 2
- Thanked:
- 8 times in 1 posts
February 28, 2013 at 2:57 pm #484924(Excuse me, but this Ftp I can upload that file without problems.)
Ok. I have take the modify but cannot works 🙁
Have you got any problem with Ftp permission ? (I have modify the file owner, too)
AuthorPostsThis topic contains 17 replies, has 4 voices, and was last updated by willylord 11 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum