Please upgrade here. These earlier versions are no longer being updated and have security issues.

greate plugin

This discussion is related to the Add Menu Item addon.
sarowlwpsarowlwp New
edited May 2012 in Vanilla 2.0 - 2.8

i hope you can give one plugin for friendlink

that useful too and same simple like this

Comments

  • peregrineperegrine MVP
    edited May 2012

    not sure what you mean.

    greate plugin - what does this mean.

    sarowlwp said:
    i hope you can give one plugin for friendlink

    that useful too and same simple like this

    ting bu dong!  :)
    
    
    我听不懂 
    

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    UnderDog
  • peregrine said:
    not sure what you mean.

    greate plugin - what does this mean.

    sarowlwp said:
    i hope you can give one plugin for friendlink

    that useful too and same simple like this

    ting bu dong!  :)
    

    我听不懂

    wrong word spell

    great plugin you made , i just hope another plugin same like this

    mange friend link

  • fh111fh111 Vanilla Padawan ✭✭

    也许写入在中国。然后我们翻译

  • peregrineperegrine MVP
    edited May 2012

    fh111 said:
    也许写入在中国。然后我们翻译>

    and the above means in english

    sarowlwp said:
    great plugin you made , i just hope another plugin same like this

    mange friend link>

    thanks

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • 422422 Developer MVP

    @Peregrine it means:

    Chicken Chowmein and two fried rice please !

    peregrine
  • I didn't think I would ever use pmsl

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    422
  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    Love this plugin too !! yay it's icon time for this puppy

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    now I'm hungry for chinese food ... go figure

  • links added via addlink in plugins such as this one.

    are controlled via

    {custom_menu}

    if {custom_menu} is in your tpl theme you will see theadded menu items.

    and you can order the placement in your tpl.

    e.g. to place in very front

       {custom_menu}
       {dashboard_link}
       {discussions_link}
       {activity_link}
       {inbox_link}
       {profile_link}
       {signinout_link}
    

    or after discussuions e.g.

       {dashboard_link}
       {discussions_link}
      {custom_menu}
      {activity_link}
       {inbox_link}
       {profile_link}
       {signinout_link}
    

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • LincLinc Director of Development Detroit Vanilla Staff
    edited May 2014

    @peregrine try $MenuItems = C('Plugins.AddMenuitem'); to just have 1 config read. C will return an array if you call a higher level key.

    //edit: added to docs!

    peregrinehgtonight
  • peregrineperegrine MVP
    edited May 2014

    will update plugin later today.. thx. for the tip, Linc something new learned.

    it will be nanoseconds faster :)

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • LincLinc Director of Development Detroit Vanilla Staff

    It's not the nanoseconds, it's the lines of code you get to delete :)

    peregrine
Sign In or Register to comment.