Closed (fixed)
Project:
Domain Content Types
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
10 Jan 2012 at 15:12 UTC
Updated:
24 Jan 2012 at 21:50 UTC
perfect solution thsi module:
But I want my admin user to be able to craete all content types on all sub-sites.
is this possible?
regards,
Pinda
Comments
Comment #1
pindaman commentedfixed with a small hack of the module
6.x dev
function domain_content_types_access($type) {
global $_domain;
+ global $user;
2nd part
if (empty($types) ) {
return TRUE;
}
+ if ($user->uid == 1)
+ {
+ return TRUE;
+ }
it work for me...