Results 1 to 4 of 4

Thread: How to add a Menu Item to Custom Menu?

  1. #1
    cpowers
    Guest

    Default How to add a Menu Item to Custom Menu?

    In the Custom Menu, I want to add a link "View Member's Photos". I added a language file entry called _Member photos and gave it a value "View Member's Photos".

    Then I opened menu_design.php and added:

    Code:
    $ret .= MenuItem( _t('_Member photos'), 'photos_gallery.php?ID=' . $p_arr['ID'], '', '', '_blank' );
    just above:

    Code:
    $ret .= MenuItem( _t('_get_media'), 'media_gallery.php?ID=' . $p_arr['ID'], '', '', '_blank' );
    That didn't do squat! Maybe all you real programmers are having a good laugh right now reading about what I did, but if someone can tell me what to do for this let me know.

    Thanks!

  2. #2
    CodyT's Avatar
    Join Date
    Feb 2007
    Posts
    288

    Default

    Haha yes.. were laughing a bit.

    Ok, you need to open menu_content.inc.php in your root inc folder

    And edit what you need in there. Thats the real menu content. I believe what you were trying to edit only edits the header menu.
    SocialEngine 2.81 Nulled

  3. #3

    Join Date
    Mar 2007
    Posts
    154

    Default

    Quote Originally Posted by CodyT View Post
    Haha yes.. were laughing a bit.

    Ok, you need to open menu_content.inc.php in your root inc folder

    And edit what you need in there. Thats the real menu content. I believe what you were trying to edit only edits the header menu.
    Aha Cody, and how is that when i create a new Member Menu Link and i want to have an Icon infront of it ? ...as all the regular Menu Links have Icons infront, at the custom menu link i created is only a red X infront ...what do i have to edit to give the menu link an icon infront ?

    Thx 4 Info.

  4. #4
    cpowers
    Guest

    Default

    Quote Originally Posted by CodyT View Post
    Haha yes.. were laughing a bit.
    Well I aim to please. Thanks, will try it when I get home.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Removing a top menu item
    By coolmac in forum Dolphin General Discussion v6.00 and above
    Replies: 1
    Last Post: 08-16-2008, 06:51 AM
  2. Member Credit system Menu item...
    By bigal0228 in forum Free Mod Exchange
    Replies: 4
    Last Post: 02-10-2008, 06:51 PM
  3. Member Menu Item Active/Inactive
    By elusuario in forum General Troubleshooting
    Replies: 5
    Last Post: 04-23-2007, 05:14 AM
  4. Member menu item addition
    By elusuario in forum Dolphin General Discussion v5.3 to v5.6.5
    Replies: 2
    Last Post: 03-12-2007, 10:07 PM
  5. Custom Menu - Profile Menu - Question
    By Zaphieon in forum General Issues, Comments, Questions
    Replies: 1
    Last Post: 02-10-2007, 03:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •