Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

SOLVED "Add xxxx" button not displaying


5 Posts   864 Views


17 August 2009 at 10:59am (Last edited: 18 August 2009 7:30pm), Community Member, 604 Posts

Hi all,

I have an issue where I have a dataobjectmanager installed and working well on my computer and several others.

However, the client has just rung to say that she cannot see any of the "Add [Dataobject name" buttons on the CMS. She has provided a screenshot and I can confirm that there is just a blank white area where the button should be.

Yes she has flash installed. And I have had her clear her cache in Firefox.

Any ideas?


17 August 2009 at 11:25am 4085 Posts

The only condition on that display is the "Add" permission. Make sure you haven't removed it. It should be on by default. If you can, check the markup and make sure it's being drawn. If it's not, it's definitely a permission issue.


17 August 2009 at 2:01pm Community Member, 604 Posts

Hi UncleCheese. Can you tell me what you mean by the "Add" permission? Both logged in users are setup as administrators. I can see it, the client can't.


18 August 2009 at 1:03am (Last edited: 18 August 2009 1:04am), 4085 Posts

Well, you can set $dom_field->setPermissions(array('add','edit','delete')); for instance. By default, all the perms are on. One thing to check would be to pull the <% if can(add) %> checkpoint out of and see if it makes a difference.

If it does, you need to use setPermissions() to get that condition to pass.

Also, make sure the markup is not being drawn. it could be that the markup is on the page but a CSS bug is causing it not to display.


18 August 2009 at 7:30pm Community Member, 604 Posts

Thanks mate.

Found the problem. The customer was logging in using a different user in a different group. The page was set to only be editable by administrators in the CMS.