Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Customizing Details Pane
Last Post 01/16/2010 9:12 PM by Peter Donker. 9 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Brian Cogswell
New Member
New Member
Posts:23


--
12/18/2009 9:02 PM

Peter,

First I wanted to say what a fantastic module this is and what great support you provide.  It is a welcome change from some other vendors I dealt with.

I saw an older post about customizing the Details pane.  There was a reference to "dmx:dmxpanel".  Where do I find this?  Also, could you explain the differences between the various options for the Previous Versions setting.  I seem to recall options like "Admin", "True", "False", etc.  We are using this for Change Control on an intranet and only want certain people to see the previous versions.

Brian

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
12/21/2009 3:43 PM
Hi Brian,

Nice to hear, thanks. About the dmxpanel: you'll find that in the ascxs. For instance in desktopmodules/bring2mind/dmx/controls/details.ascx.

Options are 'Admin', 'Edit', 'View', 'Approve', 'True', and 'False'. The view, edit, and approve correspond to the rights someone must have on the document.

Peter
Brian Cogswell
New Member
New Member
Posts:16


--
12/21/2009 10:04 PM

Peter,

I am using a new id because I did not like the one set up by the automatic process.  So I moved the line 

DotNetNuke.Services.Localization.Localization.GetString("Versions", LocalResourceFile)

inside the DMX panel that had the persmission of Edit.  It worked geat hiding it from the person with View access but also hides it from the person with Admin.  How do I have it show up for both Edit and Admin?

Brian

 

Brian Cogswell
New Member
New Member
Posts:16


--
12/21/2009 10:22 PM

I must have done something wrong because it is also hidden from the person with Edit access.  I tried moving it in to the panel for Permissions and when that didn't work created a new panel called "pnlVersions". 

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
12/22/2009 3:18 PM
Hi Brian,

Do you have something like this then:

[dmx:dmxpanel runat="server" id="pnlVersions" ViewPermission="Edit"]
[p class="DetailsHeading"][%=DotNetNuke.Services.Localization.Localization.GetString("Versions", LocalResourceFile)%][/p]
[div class="EntryDetails"]
[dmx:versionlist runat="server" id="ctlVersions" /]
[/div]
[/dmx:dmxpanel]


Peter
Brian Cogswell
New Member
New Member
Posts:16


--
01/10/2010 4:43 AM

Peter,

Here is what I have for the three sections at the bottom.  I have them set to Admin because when I set it to "Edit" the sections do not show up for anybody.  With the "Admin" option they are only visible by Administrators which is not ideal.  I chanegd the settings to Admin and logged in with two accounts...one had Edit rights and the other had both Edit and Approve.  I could not see the sections with either account.

------------------------------------------

[<dmx:DMXPanel runat="server" id="pnlPermissions" ViewPermission="Admin">]
[

<%=DotNetNuke.Services.Localization.Localization.GetString("Permissions", LocalResourceFile)%>

]
[
]
[]
[<%=Bring2mind.DNN.Modules.DMX.UI.Utilities.FormatPermissions(Entry.Permissions)%>]
[
]
[
]
[]

[<dmx:dmxpanel runat="server" id="pnlVersions" ViewPermission="Admin">]
[

<%=DotNetNuke.Services.Localization.Localization.GetString("Versions", LocalResourceFile)%>

]
[
]
[<dmx:versionlist runat="server" id="ctlVersions" />]
[
]
[]
 
[<dmx:dmxpanel runat="server" id="pnlLog" ViewPermission="Admin">]
[

<%=DotNetNuke.Services.Localization.Localization.GetString("Log", LocalResourceFile)%>

]
[
]
[<dmx:log runat="server" id="ctlLog" />]
[
]
[]

-------------------------------------------------

Brian Cogswell
New Member
New Member
Posts:16


--
01/10/2010 4:45 AM

Sorry...forgot to replace the < and > with the [ and ].  Hopefully this works:

--------------------------------------------------------

[dmx:DMXPanel runat="server" id="pnlPermissions" ViewPermission="Admin"]
[p class="DetailsHeading"][%=DotNetNuke.Services.Localization.Localization.GetString("Permissions", LocalResourceFile)%][/p]
[div class="EntryDetails"]
[table]
[%=Bring2mind.DNN.Modules.DMX.UI.Utilities.FormatPermissions(Entry.Permissions)%]
[/table]
[/div]
[/dmx:DMXPanel]

[dmx:dmxpanel runat="server" id="pnlVersions" ViewPermission="Admin"]
[p class="DetailsHeading"][%=DotNetNuke.Services.Localization.Localization.GetString("Versions", LocalResourceFile)%][/p]
[div class="EntryDetails"]
[dmx:versionlist runat="server" id="ctlVersions" /]
[/div]
[/dmx:dmxpanel]
 
[dmx:dmxpanel runat="server" id="pnlLog" ViewPermission="Admin"]
[p class="DetailsHeading"][%=DotNetNuke.Services.Localization.Localization.GetString("Log", LocalResourceFile)%][/p]
[div class="EntryDetails"]
[dmx:log runat="server" id="ctlLog" /]
[/div]
[/dmx:dmxpanel]

----------------------------------------------------------------------

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
01/12/2010 10:55 AM
Hi Brian,

That follows. Admin means someone that has the portal's administrator role. It is independent of the permission setting on the entry. So from your post I conclude that the Edit setting is not working correctly. I've tried to replicate that but couldn't. I have the permissions panel, for instance, showing up for people that just have view and edit rights.

Peter
Brian Cogswell
New Member
New Member
Posts:16


--
01/13/2010 6:31 PM

I am at a loss.  If I leave it as "Admin" the administrator account can see it.  Once I change it to "Edit" nobody can see it.  Same thing happens if I set it to "View". 

I also noticed that the Status label is showing up but there are no values in it.  Could that be somehow related?  I removed that section from the Details.ascx file but ti did not make a difference.

Can I send you my Details.ascx and have you try it out on your installation?

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
01/16/2010 9:12 PM
Hi Brian,

Sure, feel free to send me it. The setting "Edit" should make it visivble to anyone in the Edit role on the item itself (i.e. document/folder), not the module. I verified this again earlier due to your observation.

Peter
You are not authorized to post a reply.