1
DonPatricio
Main Menu - Big PROBLEM

Hello,

I have installed XOOPS today without having any problems!

But when I tried to link a file to my XOOPS Site, nothing changed!

I did that:

1)

I got a file:

include("../mainfile.php");
include(
XOOPS_ROOT_PATH."/header.php");
?>


Hallo Welt


include(XOOPS_ROOT_PATH."/footer.php");
?>


saved it as whatever.php and put the file under:

htdocs/ on my webspace

I opened:

/modules/system/templates/blocks/system_block_mainmenu.html

changed it like this:

<table cellspacing="0">
<
tr>
<
td id="mainmenu">
<
class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}>a>

<{foreach 
item=module from=$block.modules}>
<
class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}>a> <{foreach item=sublink from=$module.sublinks}>
<
class="menuSub" href="<{$sublink.url}>"><{$sublink.name}>a>
<{/foreach}>
<{/foreach}>

<
class="menuMain" href="<{$xoops_url}>/whatever.php">WHATEVERa>
tdtr>
table>


Then I went into the Administartion panel --> Modules and updated the database by clicking on the picture!

The result: NOTHING CHANGED

I dont know what I should do and I really hope someone of you can help me...

Thank you in advance

2
rabideau
Re: Main Menu - Big PROBLEM
  • 2007/2/8 17:19

  • rabideau

  • Home away from home

  • Posts: 1042

  • Since: 2003/4/25


What exactly is the problem. Your explanation doesn't help me much... sorry.

Why did you install the software in htdocs????? The user instructions tell you to use public_html. have you looked at these?
http://xoopsdocs.net/modules/docs/
Pax vobiscum,
...mark

may the road rise to meet your feet!

http://treemagic.org

3
DonPatricio
Re: Main Menu - Big PROBLEM

well, i had to install XOOPS someplace! So, I just uploaded the whole htdocs directory on my webspace!

Yes I looked at the docs, but they dont really help me!

What do you mean with public_html.

And my problem is that i cant put a link into the main menu


i might not express myself good because i come from austria..

i still hope that you can help me

4
Lance_
Re: Main Menu - Big PROBLEM
  • 2007/2/8 17:35

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


Delete all files except the index.html from the /templates_c folder.
GDL-Web.com :: Website development.
Xoopslance.com::Freelancing and Projects
thelionsden-arena.net:: Clan/League/Ladder Hosting

5
DonPatricio
Re: Main Menu - Big PROBLEM

Hey, IT WORKED!

How did you know that?

I am soo glad it worked! Thank you very much! But, I think I will have many more questions...

6
DonPatricio
Re: Main Menu - Big PROBLEM

One more question mayby..I am sure it is explained somewhere, but there is so much to read through..

I have now have this link "Whatever" in my Main Menu on my site! But what do i have to do, that only registered Users can see this link in the Main Menu?

Thak you once more for all your help...

Login

Who's Online

396 user(s) are online (255 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