Could you tell me how to do allCatArticles?

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
marco.chan
Posts: 12
Joined: Wed Sep 29, 2010 2:13 pm
Location: china
Contact:

Could you tell me how to do allCatArticles?

Post by marco.chan »

hi sir, I would like to output the 20 record about "allCatArticles" in right box?

Could you tell me how to do it?

index.php:

Code: Select all

$tpl->processTemplate('rightBox', array(
    'writeTopTenHeader'   => $PMF_LANG['msgTopTen'],
    'writeNewestHeader'   => $PMF_LANG['msgLatestArticles'],
    'writeTagCloudHeader' => $PMF_LANG['msg_tags'],
    'writeTags'           => $oTag->printHTMLTagsCloud(),
    'msgAllCatArticles'   => $PMF_LANG['msgAllCatArticles'],
    'allCatArticles'      => $faq->showAllRecordsWoPaging($cat))
allCatArticles
China Futures FAQ:期货入门www.qhfaq.com
Thorsten
Posts: 15565
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Could you tell me how to do allCatArticles?

Post by Thorsten »

HI,

you have to add the template variable {allCatArticles} in startpage.tpl, too.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
marco.chan
Posts: 12
Joined: Wed Sep 29, 2010 2:13 pm
Location: china
Contact:

Re: Could you tell me how to do allCatArticles?

Post by marco.chan »

Thorsten,thank you for your attention and reply to my question.But your reply was not what I want.

like this page:click HERE.

Note that the rightbox,more than 100+ record title in the rightbox of categories list.List of record too much.So the page is very ugly.

I hope I can decide the number of outputs in categories list.For example, the number of 20 or 30, or other...

You can do it?I hope you can help me solve this problem,thanks a lot.
China Futures FAQ:期货入门www.qhfaq.com
marco.chan
Posts: 12
Joined: Wed Sep 29, 2010 2:13 pm
Location: china
Contact:

Re: Could you tell me how to do allCatArticles?

Post by marco.chan »

Thorsten,help me~ :D
China Futures FAQ:期货入门www.qhfaq.com
Thorsten
Posts: 15565
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Could you tell me how to do allCatArticles?

Post by Thorsten »

Hi,

I have to look into the code how to do this without breaking nothing else.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply