1
psindia
How to merge Mainmenu and usermenu ?
  • 2005/9/1 14:51

  • psindia

  • Not too shy to talk

  • Posts: 171

  • Since: 2005/3/31


I want to know how to merge the usermenu and mainmenu to one block .. So that the user can select controls from one block.

Another question is that can i make any option( or suboption) in mainmenu ,so that it is available to registered user's only.I had seen it in many sites like xoops-tips.com , that the "submitnews" suboption is available only when the user logs in ..

Please help me ...
Thanks in advance ...
Please don't visit ==>tenthstone.com!
==>vinodsr.com!

2
psindia
Re: How to merge Mainmenu and usermenu ?
  • 2005/9/2 1:50

  • psindia

  • Not too shy to talk

  • Posts: 171

  • Since: 2005/3/31


no reponse why ???
Please don't visit ==>tenthstone.com!
==>vinodsr.com!

3
LazyBadger
Re: How to merge Mainmenu and usermenu ?

Select best suites answer:
1. Nobody know how to to it
2. Nobody seen your topic
3. Everybody hate you
4. All are to lazy to answer obvious question
5. Nobody must answer, and just ingore you...

Okay?!
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

4
Bassman
Re: How to merge Mainmenu and usermenu ?
  • 2005/9/2 2:11

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


why? Probably because nobody had the answer while your question was visible in the first page of the forum.

Best suggestion for your first question, would be to clone the default template and then join the templates for the user menu and main menu into one. I tried it and it works, but you'll have to do some fiddling with CSS to get it to look right.

5
Lance_
Re: How to merge Mainmenu and usermenu ?
  • 2005/9/2 2:13

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


I liked LB's answer more.
GDL-Web.com :: Website development.
Xoopslance.com::Freelancing and Projects
thelionsden-arena.net:: Clan/League/Ladder Hosting

6
LazyBadger
Re: How to merge Mainmenu and usermenu ?

OOPS... forgot to answer...
No easy ways to do it, because you aren't in any way PHР-coder and know nothing about XOOOPS
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

7
LazyBadger
Re: How to merge Mainmenu and usermenu ?

Quote:

Bassman wrote:
Best suggestion for your first question, would be to clone the default template and then join the templates for the user menu and main menu into one.

Sorry, nothing personal, but I can't trust such solution, because it must not work (i.e isn't 100% bullet-proof, thus - not functional).
I can show my logic, if you want...
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

8
Bassman
Re: How to merge Mainmenu and usermenu ?
  • 2005/9/2 2:22

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


*shrugs*
It doesn't worry me, I was just offering a suggestion. It's up to him if he wants to try it or not.

9
Jharis
Re: How to merge Mainmenu and usermenu ?
  • 2005/9/2 2:44

  • Jharis

  • Just can't stay away

  • Posts: 488

  • Since: 2005/2/13


I know I should be ignoring you like the rest , but would the module multimenu work?

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

10
adrock
Re: How to merge Mainmenu and usermenu ?
  • 2005/9/2 3:26

  • adrock

  • Quite a regular

  • Posts: 291

  • Since: 2004/12/7


lol! way to treat the new people!

Bassmans idea is the one that will work...no matter what LB says....

You WILL of course need to add some more code etc in there...but EVERYTHING can be controlled based on a users status (logged in or not logged in)

one look at the code and you can see that for your self...

<{if $xoops_isuser}> is the key to what you need done.

Don't mind LB he doesn't 'play well with others' on occasion (my personal guess is that it is the language barrier)

Happy Xoopsing, and my apologies for the non-hospitality of the others!
Affordable Web Hosting - Family - Fun!...and not always in that order!

Login

Who's Online

165 user(s) are online (108 user(s) are browsing Support Forums)


Members: 0


Guests: 165


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