1
Liger
XFSection
  • 2006/2/2 21:36

  • Liger

  • Just popping in

  • Posts: 77

  • Since: 2006/1/26


Does anyone know if it is possible to remove the "Popular" and "Rated" sub menu links off of the main menu under XfSection? And if so how?

I am using XFSection 1.10

Regards,
JP
Americans for Fair Taxation http://www.fairtax.org

2
Liger
Re: XFSection
  • 2006/2/12 5:13

  • Liger

  • Just popping in

  • Posts: 77

  • Since: 2006/1/26


Gentle Bump

JP
Americans for Fair Taxation http://www.fairtax.org

3
Jharis
Re: XFSection
  • 2006/2/12 5:28

  • Jharis

  • Just can't stay away

  • Posts: 488

  • Since: 2005/2/13


Hi Liger,
You'll have to edit the template. You can find the templates for XFsection under the XOOPS template section.

I'm not sure what version of XOOPS your using, but in 2.2.x look here

admin
misc tools
templates

Before you can edit a template you'll need to clone it. I'm not sure which template you'll need to edit so your on your own. After making changes upload the modified template and under preferences select the cloned template as defualt.

I hope this helps some.


don (el paso)
motto - green chili for everything!

4
owenjh
Re: XFSection
  • 2006/2/12 16:29

  • owenjh

  • Just popping in

  • Posts: 19

  • Since: 2006/1/2 2


I believe you could just do the following.

in xoops_version.php change:

$modversion['sub'][2]['name'] = _MI_XFS_POPULAR;
$modversion['sub'][2]['url'] = "topten.php?counter=1";
$modversion['sub'][3]['name'] = _MI_XFS_RATEFILE;
$modversion['sub'][3]['url'] = "topten.php?rate=1";


to
/*
$modversion['sub'][2]['name'] = _MI_XFS_POPULAR;
$modversion['sub'][2]['url'] = "topten.php?counter=1";
$modversion['sub'][3]['name'] = _MI_XFS_RATEFILE;
$modversion['sub'][3]['url'] = "topten.php?rate=1";
*/


Not sure if this is the correct way to do it but it worked for me.

5
Liger
Re: XFSection
  • 2006/2/12 22:12

  • Liger

  • Just popping in

  • Posts: 77

  • Since: 2006/1/26


Thank you both for the replies. owenjh I tried what you said and it worked perfect. By commenting out that section of code it no longer shows up in the main menu. Agian thank you both for the quick response

Best Regards,
JP
Americans for Fair Taxation http://www.fairtax.org

Login

Who's Online

396 user(s) are online (293 user(s) are browsing Support Forums)


Members: 0


Guests: 396


more...

Donat-O-Meter

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

Latest GitHub Commits