1
dilbert166
Change "Homepage" Entry in mainmenu
  • 2004/10/25 21:07

  • dilbert166

  • Just popping in

  • Posts: 74

  • Since: 2004/6/4 1


hi folks,

every module can have a different name. this can be changed in the module section of the admin area. is there any possibility to change the first menu entry from "homepage" to something else?

2
ackbarr
Re:Change

A couple of ways to do this one:
change the language declaration in modules/system/language/english/blocks.php
define("_MB_SYSTEM_HOME","Home"); // link to home page in main menu block


Modify the system_block_mainmenu.html template in Administration Menu -> System -> Templates to output your desired text.

3
Stewdio
Re:Change
  • 2004/10/25 21:18

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


ackbarrs first suggestion would be the quickest and less dirty. Thanks ackbarr, I was just looking at both options as you made the post.

Language defines are so much faster to change and don't require template rebuilds so they can be viewed immediately.

4
dilbert166
Re:Change
  • 2004/10/25 21:23

  • dilbert166

  • Just popping in

  • Posts: 74

  • Since: 2004/6/4 1


oh, thanks to both of you. i think the language-file is indeed the quickest way. I´ll give that a try.

Login

Who's Online

191 user(s) are online (21 user(s) are browsing Support Forums)


Members: 0


Guests: 191


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