1
trenskow
WF-Section and artindex page
  • 2005/2/6 2:18

  • trenskow

  • Just popping in

  • Posts: 14

  • Since: 2005/1/30


Hi all

I have been playing around with this module a lot now, and i love it.
I just have one question.

I have this module a as section on ots own, and not i main menu.When i press a link, it opens the catindex file, and list all the articles, in all of the Sections, and i have in section management said, that it should use artindex, sp it only lists the articles in that section.

What can i do, to make it only show the articles en the section i press, and not all of them?

2
kerrysl
Re: WF-Section and artindex page
  • 2005/2/7 6:31

  • kerrysl

  • Just popping in

  • Posts: 21

  • Since: 2003/9/9 6


It took me a while to duplicate the problem. Yes it does produce a full listing and is probably not what most people would want.

Here is a fix:
Go to modules\wfsection\blocks\wfs_menu.php.
At line 49 find this line;
$wfsmenu['ctitle'] = "<a class="menuMain" href='".WFS_ROOT_URL."/index.php?category=".intval($myrow["id"])."'>".$myts->htmlSpecialChars(stripslashes($myrow["title"]))."</a>";

Change the "/index.php?category=" to "/viewarticles.php?category="

Save the file and upload. Your menu items should now take you to the sections list of articles only without any of the other sections showing.

Login

Who's Online

224 user(s) are online (138 user(s) are browsing Support Forums)


Members: 0


Guests: 224


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits