Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListDisable Filter for AdminsDisable Filter for Admins
Previous
 
Next
New Post
6/21/2011 5:36 PM
 
I'm using F&L for displaying open job postings. I've got a filter setup so that closed postions aren't displayed but, I want Admins to be able to see closed positions so that they can open them to have them displayed. Is there any way to do this with the standard module?

David O'Leary
Efficion Consulting
 
New Post
6/21/2011 6:36 PM
 
I'm sure smarter people than me will have other solutions however a "simple-stupid" approach might be to put another instance of the module (reference) on a separate page (or even the same page perhaps?) and only give admins access to that instance and reverse the filter so it only shows closed postings, or variations thereof (separate page, all posting both closed and open etc.).
 
New Post
6/22/2011 4:17 PM
 
>> (or even the same page perhaps?)

In answer to "my" question you cannot have two versions of the FnL on the same page, so you need to use separate pages.

Just to update you I actually used this as a solution for staging content today. Created a restricted field called "approved" and had one instance of the FnL on one page that was visible to all users and filter for ='True' and had another version on another page that was restricted to select users and filtered for "False". You could also have no filter on it and show both states.

 
New Post
6/22/2011 4:24 PM
 
I'm surprised the display/public module is seeing the data from the entry/admin module. Did you have to do anything in particular to get this working?

David O'Leary
Efficion Consulting
 
New Post
6/22/2011 5:21 PM
 
David OLeary wrote:
I'm surprised the display/public module is seeing the data from the entry/admin module. Did you have to do anything in particular to get this working?

 Don't be surprised.  If you reference the same FnL module on different pages it will always share the same underlying data and structure.  Some of the elements can be changed on an instance by instance basis, but most will update across all instances regardless of which instance you use to edit it.  For example, adding/deleting/modifying a field in one instance will affect all instances.  However filters are unique to a particular instance. Other display features are unique to an instance such as the XSL template.  I haven't tested all the options many are easy to deduce when you recognize that the permissions and database are shared.

  1. To set up my scenario I created a page that was visible to all users, and one that was visible only to select users (that is how I control who gets to see my special instance with different filtering (not using the module permissions).
  2. Create my FnL on my public page, then copied (add module: "existing") as a reference (make sure "Copy Module" is de-selected) and set it to "Inherit View permissions from Page"
  3. Then  I created my custom filter and your done.  Anyone with view permissions for that page will be able to see the module as well and you will have a custom filter that displays whatever you want.  Everyone on the other page will have the more restive filter. 
For your info I had an additional requirement in that I needed anonymous people to be able to submit new records but not have them display unless approved by one of my selected approval users and these approval users could not only approve new submissions but also submit records themselves..
  1. Create a boolean field Approved=Yes/No
  2. Set the field as "Restricted Form Field"and default value to "No" and not to display on the list
  3. Set my filter on my public page to only show "yes"
  4. Set my filter on my private page to only show "No"
  5. Gave my selected Approval users the following permissions: Edit Also Restricted Columns=Yes since I want them to be able to edit and change the state.  In your case if you just want them to only see the state you might choose instead "Display All Columns".  I also gave my approval users users "Edit Record" and "Delete Record" because they are managing the database (suspect the "Edit Also Restricted Columns" would rely on the "Edit Record" being enabled first.
  6. I give all my public anonymous users only "view" (inherited from page) and "Create Record/ Submit Form" permissions which allows them to submit a record which is never displayed to the public unless approved. 
  7. I send out a notification email to my approval users when a new record is submitted and they can review/modify/approve or delete.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListDisable Filter for AdminsDisable Filter for Admins


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out