Announcement

Collapse
No announcement yet.

Custom Block in Sidebar not working

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

  • [Forum] Custom Block in Sidebar not working

    Hello,
    I've added a simple a very simple custom Block in the sidebar and it's not working as expected. The code in PHP is:
    Code:
    echo("test");
    On the forum home I'm seeing the word text at the top left of the screen (img attached).

    Any help appreciated.
    Attached Files

  • #2
    Code:
    return 'test';

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment


    • #3
      Thanks for that Lynne.

      Comment


      • #4
        I wanna show a variable value $tla_ads inside the php block which is being assigned in a plugin, also used
        vB_Template:reRegister('block_html',array('tla_ads' => $tla_ads));
        In that plugin but cannot be shown using return $tla_ads; statement
        D'Street Community For Traders And Investors

        Comment

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