Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7747105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:26:54+00:00 2026-06-01T10:26:54+00:00

$block[‘content’] .='<span style=display:none class=tc_msg>YOU ARE NOW LOGGED OFF</span>’; $block[‘content’] .='</span>’; return $block; I see

  • 0
    $block['content'] .='<span style="display:none" class="tc_msg">YOU ARE NOW LOGGED OFF</span>';
  $block['content'] .='</span>';
  return $block;

I see nothing on screen

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T10:26:56+00:00Added an answer on June 1, 2026 at 10:26 am

    For one thing, you are closing the span twice.
    Second, the style=”display:none;” hides that whole span.

    Since you are returning html, I assume you are placing this inside the hook_block_view()
    http://api.drupal.org/api/drupal/modules%21block%21block.api.php/function/hook_block_view/7

    If the above code is all that is going into $block[‘content’] then try removing the . from the first .= so there is no question as to what ‘content’ contains.

    Have you assigned this block to a region of your site, or is it sitting in the Disabled section of your block management? That would also cause you to not see it on the site.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a block of HTML: <ul> <li>a</li> <li>b</li> <li class=nav>c</li> <li class=nav>d</li> </ul>
This @try-@catch block in my viewDidLoad crashes with EXC_BAD_ACCESS when the return; is executed
Following HTML block: <html> <body> <div style=background-color: #fecfff;> <div style=float:left;> <div style=height:40px; width:40px; background-color:Red>
I want a block that is available throughout a class, so it can be
The new display:inline-block attribute seemed like a useful alternative to doing display:block + float:left/right
I've got this block of code: date_counter = Time.mktime(2011,01,01,00,00,00,+05:00) @weeks = Array.new (date_counter..Time.now).step(1.week) do
this is snippet of Block class : class Block { public: //size satu blok(dalam
'Block' in the sense that the user is shown the Workflow is starting page
I block certain referers in my .htacccess file to avoid serving images to warez
Data Block 119 122 140 141 155 163 170 179 203 226 232 233

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.