+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Members module

Members module

8 posts, 0 answered
  1. higgsy
    higgsy avatar
    336 posts
    Registered:
    05 Aug 2010
    07 Oct 2010
    Link to this post
    Hi,

    I've got a bit of a tricky requirement that if possible I'd like some advice on.

    the website I am working on needs the following:

    - A members area that requires a login
    - Each member will have their own profile
    - When the member upates their profile it needs to kick-off the sitefinity workflow module
    - Each of the members profiles needs to be searchable, and have its own generated url (very similar to the news/events modules)

    My intial thoughts were to build a generic content module. But when a user logs in to the members area, what they be able to update just their profile which is of course a piece of content stored within my custom generic content module? Could i for example write some custom code that updated the data, but didnt publish it, and would this be able to kick off the workflow module?

    Any advice would be greatly appreciated.

    Regards,
    higgsy
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    07 Oct 2010
    Link to this post
    Hello Alastair,

    Each content has Owner property which you can use. So, the access will be given to the owner only. You can use the workflow instead of kick it off by setting rights for approve and publish over the content items - the owner will not be able to publish the item. You can hide the workflow menu from the PreviewView.ascx external template for each module and owners will not know that they are behind a workflow step.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. higgsy
    higgsy avatar
    336 posts
    Registered:
    05 Aug 2010
    07 Oct 2010
    Link to this post
    Hi Ivan,

    Thanks for your response. However, the users must not be logging into SiteFinity (there is a members area on the website where I want them to be able to update their profile).

    So although there is not a role for content owners, I think you are saying that as long as the owner is not a member of the role which has permission to publish, they themselves wont be able to publish. Correct?

    I think the only outstanding question I have is will it be possible for the content owner to login to a secure section (not sitefinity cms) and update content that it stored within the module? And will it possible to activate the workflow from here?

    Thanks again
    higgsy

  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    07 Oct 2010
    Link to this post
    Hello Alastair,

    The worklfow can be enabled only from the web.config. In this case you can show/hide worklfow buttons  depending on the current user or use a web service and publish the content programmatically

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. higgsy
    higgsy avatar
    336 posts
    Registered:
    05 Aug 2010
    07 Oct 2010
    Link to this post
    Hi Ivan,

    Yes i appreciate the workflow can  only be enabled in the web.config, however what I really mean is:

    If the content owner logs into /secure-members-area/, I will need to query the module content manager and find the content they are the owner of. Presumably I can just write some code that will enable that specific piece of content to be updated and placed into an "Awaiting Approval" state? Then when an administratr logs into SiteFinity CMS and views the e.g. "Members Profile Module", they will see that there is a profile that is Awaiting Approval.

    Does that all make sense?

    Thanks again
    higgsy
  6. higgsy
    higgsy avatar
    336 posts
    Registered:
    05 Aug 2010
    08 Oct 2010
    Link to this post
    Hi Ivan,

    Did my last post make sense? I would appreciate your feedback on the right approach to take.

    Thanks
    higgsy
  7. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    08 Oct 2010
    Link to this post
    Hello Alastair,

    Please check the article I sent you - publish the content programmatically

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. higgsy
    higgsy avatar
    336 posts
    Registered:
    05 Aug 2010
    08 Oct 2010
    Link to this post
    Thanks as always Ivan - makes sense.

    higgsy
Register for webinar
8 posts, 0 answered