1
seenuraja
Add Submenu in the Main menu
  • 2005/7/8 14:52

  • seenuraja

  • Just popping in

  • Posts: 2

  • Since: 2005/7/8 1


Hi all!
Am new to Xoops. Thanks in advance for those who helps me in building a site.
There is System block called "Main menu" which has default link "Home". I want to add submenu's for this home link.
How can I do this. I created many menus in the main menu, like "about us", "projects" below Home, and also submenus for those menua like "About us". But I am struck up in creating submenu for "Home".
Also, Under contact us page, I don't want any forms. But I want to add two or three contact addresses. (simple HTML). Is it possible? If so, then how?

2
psindia
Re: Add Submenu in the Main menu
  • 2005/7/8 15:48

  • psindia

  • Not too shy to talk

  • Posts: 171

  • Since: 2005/3/31


i think you should use contact module for this if you are using conact module then open the xoops_version.php in the conact folder in modules...
yo will find a line like this ..
// Menu
$modversion['hasMain'] = 1;

change it to

// Menu
$modversion['hasMain'] = 1;
$modversion['sub'][1]['name'] = "sub menu1";
$modversion['sub'][1]['url'] = 'file.php';
$modversion['sub'][2]['name'] = "sub menu2";
$modversion['sub'][2]['url'] = 'file1.php';

Or if try the multimenu module from XOOPS !
Please don't visit ==>tenthstone.com!
==>vinodsr.com!

3
seenuraja
Re: Add Submenu in the Main menu
  • 2005/7/11 7:36

  • seenuraja

  • Just popping in

  • Posts: 2

  • Since: 2005/7/8 1


Thanks a lot.
But i need to add contents in the contact us page. I Don't want any forms. How to do that?

Rajesh.S

4
Frano
Re: Add Submenu in the Main menu
  • 2005/7/11 7:55

  • Frano

  • Just popping in

  • Posts: 13

  • Since: 2004/12/16


I'm not sure, but U can try to add something to this form in /modules/contact/templates/contact_contactusform.html.
(Make a backup first !)

But only before or below

U can also put there some email addresses instead of existing form by removing :
<form>
    ...
    ...
    ...
form>
(not tested)


...and then update your Contact module.

Login

Who's Online

173 user(s) are online (105 user(s) are browsing Support Forums)


Members: 0


Guests: 173


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