Announcement

Collapse
No announcement yet.

Passing Variables to postbit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Passing Variables to postbit

    I'm having a bit of trouble with passing a variable to the postbit template... something tells me because it is called as a subsituary to 'showthread' (in showthread.php) than it doesn't like variables. I even tryied making the variable a part of $post but still didn't pass it..

    I just want to know.. is this a known limitation of nested templates?
    Cons

  • #2
    No.. It is a problem of passing a non-global variable in the wrong place. The post bit is built in admin/functions.php and therefore you should do any variable parsing for it in the proper function within that file.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X