1
dunkin
mypage question regarding global.php
  • 2005/3/17 20:19

  • dunkin

  • Just popping in

  • Posts: 47

  • Since: 2005/3/15


in the mypage module for adding content...

it allows you to create a submenu off of a page you create...
says...

//$modversion['sub'][1]['name'] = _MI_MYPAGE_SMNAME1;//define in language/english/global.php
//$modversion['sub'][1]['url'] = "../../modules/ipboard/";
//$modversion['sub'][2]['name'] = _MI_MYPAGE_SMNAME2;//define in language/english/global.php
//$modversion['sub'][2]['url'] = "../../modules/weblog/";


How do I define these in globals.php.... where do I put the defines? and can someone give me an example of the way I would define them?

like so?!?

define('_MI_MYPAGE_SMNAME1', 'NAME-OF-SUBPAGE');

and if so... can I just put them anywhere on the bottom above the ending ?>

2
m0nty
Re: mypage question regarding global.php
  • 2005/3/17 20:24

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


i'm not familiar with the module but from reading your post, then yes i would think that would work ok.. as long as you don't put them inside a function :)

just add them directly above the ?>

Login

Who's Online

152 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 152


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