Start Online Training

Get access to all our video classes and support. That's 1818 training sessions in Joomla, Drupal, WordPress, Coding and SEO.
Prices start only at only 25 USD per month

Testimonials

Testimonials OSTrainingYou guys rock!"

~ Cheryl

 

Start a FREE 7 day trial! Get training videos and books, plus expert support:  

TOPIC: Is there a way to hide Notice messages from Users

Is there a way to hide Notice messages from Users 2 years 1 month ago #39809

I was just logged in as a user (who is not an admin) and posted a comment on a page. Once I hit post (or save) the comment posted, but at the top of the page they got a notice message. Is there a way to hide notice messages from all except admins?
Please become a member of OSTraining to reply to this post.

Is there a way to hide Notice messages from Users 2 years 1 month ago #39879

  • steve
  • steve's Avatar
  • OFFLINE
  • Posts: 5860
  • Thank you received: 262
Hi Kcoonce

Yes, although the downside is that you'll also hide some important messages such as "your password was incorrect" when people try to login.

Do you remember exactly what the message was that you wanted to hide? I'll write a tutorial and show you how.

Ask. We'll help. It's as simple as that.

Follow us on Twitter - twitter.com/ostraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Is there a way to hide Notice messages from Users 2 years 1 month ago #39982

It gives this message when people post comments:


Notice: Trying to get property of non-object in marinelli_preprocess_comment() (line 204 of E:\Intranet\sites\all\themes\marinelli\template.php).

Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of E:\Intranet\includes\entity.inc).


It repeats each error message 8 times.
Please become a member of OSTraining to reply to this post.

Is there a way to hide Notice messages from Users 2 years 1 month ago #39990

  • steve
  • steve's Avatar
  • OFFLINE
  • Posts: 5860
  • Thank you received: 262
Ah, OK. That's an error specific to your template. You're using Marinelli, right?
drupal.org/project/marinelli

I see that error has been encountered by several other people: drupal.org/node/1027804

You mentioned in another thread that you're updating your site. Could you also consider updating your Marinelli version? They claim that will fix the bug.

If you don't want to update the whole theme, drupal.org/node/1027804 has some suggestions for code fixes that should solve this problem.
Ask. We'll help. It's as simple as that.

Follow us on Twitter - twitter.com/ostraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Is there a way to hide Notice messages from Users 2 years 1 month ago #39995

How do I know if there is an update to the Marinelli theme? Do I just have to download it again / Check their website? Or does it say somewhere in Drupal (similar to modules)?
Please become a member of OSTraining to reply to this post.

Is there a way to hide Notice messages from Users 2 years 1 month ago #39997

  • steve
  • steve's Avatar
  • OFFLINE
  • Posts: 5860
  • Thank you received: 262
Hi Kcoonce

Go to the Appearance link in your site and check to see which version of Marinelli you're using.

If it's not 7.x-3.0-beta11, then there's an update for you.

Ask. We'll help. It's as simple as that.

Follow us on Twitter - twitter.com/ostraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Is there a way to hide Notice messages from Users 2 years 1 month ago #40054

I have 7.x.3.0-beta11. When a new update does come out would it tell me? and if so, where would it say?
Please become a member of OSTraining to reply to this post.

Is there a way to hide Notice messages from Users 2 years 1 month ago #40061

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • Posts: 3094
  • Thank you received: 7
HI Koonce,

In your drupal admin go to "Reports" and you will see the link for available updates. Just click that and it will give you a list of everything installed and what updates are available. This would include themes as well as modules.

You also get some good information from running a Status Report. Check it out and you'll see what I mean.

Cheers,
Ed
Please become a member of OSTraining to reply to this post.

 

Start a FREE 7 day trial! Get training videos and books, plus expert support: