Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
  1.  # 1
    I have been messing around with a few extensions in an effort to figure out a way to display information in the account page... to the right of the original information just as the ip map does and other extensions... does anyone know of a way this can be done right now I was trying an echo but thats about as much php as i know...
    •  
      CommentAuthorPol
    • CommentTimeNov 25th 2006
     # 2
    You have to subclass Control. Here's how. To add your control to the account page, you'll do something like this:
    if ($Context->SelfUrl == 'account.php' && ForceIncomingString('PostBackAction', '') == '') {
    $Page->AddRenderControl($Context->ObjectFactory->NewContextObject($Context, 'MyControlName'), $Configuration['CONTROL_POSITION_BODY_ITEM']);
    }
    (Substituting your Control subclass's name for 'MyControlName', of course).
Add your comments
    Username Password
  • Format comments as