1
javadiva
Question: How do I delete Submenus?
  • 2006/8/16 5:34

  • javadiva

  • Just popping in

  • Posts: 20

  • Since: 2006/2/2 9


The site I designed is for my Algebra class. In the download section I do not need the submenu "Submit", "Popular" "Top Rated." I would like to eliminate them or hide them. Can someone tell me how to do that. I know I have the modify the template. I am tempted to delete the line of code that calls out the "submenus" but I am sure that will probably affect other things. I am really good at hmtl, but unfamiliar with the templates of XOOPS so if you explain to me how to do it, I can probably figure it out.

Also I was wondering how to get rid of the extraneous info on the actual page so it doesn't look so junkie. I just want the categories and the download options. I know I how to nix the graphic but what about the "notification" area stuff and the "various options"?

2
wcrwcr
Re: Question: How do I delete Submenus?
  • 2006/8/16 5:50

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


hi javadiva

Open your modules/mydownloads/xoops_version.php file and look for those lines (around 74):

// Menu
$modversion['hasMain'] = 1;
$modversion['sub'][1]['name'] = _MI_MYDOWNLOADS_SMNAME1;
$modversion['sub'][1]['url'] = "submit.php";
$modversion['sub'][2]['name'] = _MI_MYDOWNLOADS_SMNAME2;
$modversion['sub'][2]['url'] = "topten.php?hit=1";
$modversion['sub'][3]['name'] = _MI_MYDOWNLOADS_SMNAME3;
$modversion['sub'][3]['url'] = "topten.php?rate=1";


Just use a // to comment out what you don?t want.

hope that helps

see you

Login

Who's Online

499 user(s) are online (446 user(s) are browsing Support Forums)


Members: 0


Guests: 499


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