Closed (duplicate)
Project:
Galleria
Version:
6.x-1.0-beta2
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2009 at 21:30 UTC
Updated:
3 Feb 2009 at 10:22 UTC
Jump to comment: Most recent file
Comments
Comment #1
isaacbowman.com commentedI have attached a crude PHP edit where I have removed the error messages. I would still rather it test to display only when Admin is logged into the site.
Comment #2
Mark Theunissen commentedThe messages are there to tell you that something's wrong. If you're displaying a teaser view of a Galleria, you've made a mistake. Therefore these messages are necessary.
That being said, there is merit in only displaying them for admins. Unfortunately it's impossible to know which role is defined as the admin role. We can't just display for User #1, as a lot of people don't use User #1 for admin tasks (instead using a role "administrator" or "admin" or whatever).
Thus this is practically impossible to achieve.
The input filter request is a duplicate of #347715: Embedding a Galleria into a node (page/blog/story)?