1
daibt
How to new item in Menu
  • 2005/3/26 19:14

  • daibt

  • Not too shy to talk

  • Posts: 191

  • Since: 2005/3/26


Dear all,

I am new for Xoops, Could you tell me how to make new item in main menu? (e.g in this site, how to make All About XOOPS in Community menu?)

Thanks in advance,
Truong Dai - Vietnam

2
Damn2Death
Re: How to new item in Menu
  • 2005/3/26 19:35

  • Damn2Death

  • Just popping in

  • Posts: 3

  • Since: 2005/3/26


for the new menu item on the standart codes with xoops, you have to be create a module. when you activate it, you will see the menu item.

the second one is, creating new blog with name called as main menu(etc.) then try to modify it.

3
daibt
Re: How to new item in Menu
  • 2005/3/27 8:41

  • daibt

  • Not too shy to talk

  • Posts: 191

  • Since: 2005/3/26


Thanks for your information.

I would like to make a menu as
Development
Module Dev Forge
Report Module Bug
----

How to make it? Please help me

4
gruessle
Re: How to new item in Menu
  • 2005/3/27 9:07

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


Just like Damn2Death sad

Go to the admin area
click on System Admin
then click on Blocks
Go to the bottom of the page
In Title enter "Menu Plus" or "Sub menu" or what ever you like to call the menu.

at "Visible in" select "All pages"
at "Block Type" select "Side Block Left"
in "Content" click on Resized Image
enter your link

then click on submit

See what happend on your site.

5
daibt
Re: How to new item in Menu
  • 2005/3/30 2:59

  • daibt

  • Not too shy to talk

  • Posts: 191

  • Since: 2005/3/26


Thanks for your information.
Today, I would like to make a new link for About Us. I cannot do it in Xoops. Could you help me to do it?

6
tjnemez
Re: How to new item in Menu
  • 2005/3/30 3:21

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


to simply add to main menu you will need to edit your system_block_mainmenu.html template to look like this:

<table cellspacing="0">
<tr>
<td id="mainmenu">
<a class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a>
<!-- start module menu loop -->
<{foreach item=module from=$block.modules}>
<a class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}></a> <{foreach item=sublink from=$module.sublinks}>
<a class="menuSub" href="<{$sublink.url}>"><{$sublink.name}></a>
<{/foreach}>
<{/foreach}>
<!-- end module menu loop -->
<a class="menuMain" href="<{$xoops_url}>/">yourtext</a>
</td> </tr>
</table>

add as many as you like

7
gruessle
Re: How to new item in Menu
  • 2005/3/30 4:43

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


There is a good module for about us you could install.

Click here

8
tjnemez
Re: How to new item in Menu
  • 2005/3/30 6:52

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


you could add a static page like this:

<?php
include("mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 0;
?>
<html>
<body>
<div style="padding: 5px;">
<h4>ABOUT MY SITE</h4>
</div>
</body>
</html>
<?
include(XOOPS_ROOT_PATH.'/footer.php');
?>

save this as about.php and upload to XOOPS root directory

add a link as indicated in my prior post

9
daibt
Re: How to new item in Menu
  • 2005/3/30 8:04

  • daibt

  • Not too shy to talk

  • Posts: 191

  • Since: 2005/3/26


Quote:

gruessle wrote:
There is a good module for about us you could install.

Click here


Thanks you - it is very good for me, but I think that the .zip file has some problem. I cannot unzip the file. Could you help me to get it? please send to me by mail erp9119@yahoo.com

Thanks for support.
Truong Dai - Vietnam

10
gruessle
Re: How to new item in Menu
  • 2005/3/30 10:50

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


You can get it from here:


click here

You can also find older versions there if this one doen't work

Login

Who's Online

140 user(s) are online (58 user(s) are browsing Support Forums)


Members: 0


Guests: 140


more...

Donat-O-Meter

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

Latest GitHub Commits