This discussion is archived
10 Replies Latest reply: Dec 13, 2012 11:00 AM by Mindmap RSS

Customize Page and Public User

643606 Explorer
Currently Being Moderated
Is there a way to have a public home page that has customize regions but keep the customize for authenticated users only?

I have a home page that has customize regions that does not require authentication. The customize link displays when the user is nobody, I would like to hide/disable this capability for non-authenticated users.
  • 1. Re: Customize Page and Public User
    Mindmap Pro
    Currently Being Moderated
    Hello,

    Why do not you rely on Region Display Selector, and ignore the Customize Link.... If you agree with me, then:
    Please edit your page template and delete :
    div id="customize">#CUSTOMIZE# div>
    Edit the region of Region Display Selector and add condition type:
    User Is Authenticated not public
    Best Regards,
    Fateh
    ------------
    If you believe that my answer is correct or helpful to you then please mark the answer as helpful or correct
  • 2. Re: Customize Page and Public User
    643606 Explorer
    Currently Being Moderated
    note sure what you mean. it looks like you are suggesting a div tag around the customize link in template, but how is the region display selector going to use this?
  • 3. Re: Customize Page and Public User
    Mindmap Pro
    Currently Being Moderated
    Hello,

    Ok, no problem. You do not need to remove that DIV from the page template.
    When you edit a region you can choose Customization. Make it : Not Customizable By End Users
    Under Attributes, choose YES for Region Display Selector.
    Then Create a new region of Region Display Selector type.
    Edit the region of Region Display Selector and add condition type:
    User Is Authenticated (not public)
    I hope that it is clear now..

    Best Luck,
    Fateh
  • 4. Re: Customize Page and Public User
    643606 Explorer
    Currently Being Moderated
    yes, I thought if having duplicate regions, was hoping for a more elegant solution where the customize capability was not available to un-authenticated users.
  • 5. Re: Customize Page and Public User
    Mindmap Pro
    Currently Being Moderated
    Hello,
    I thought if having duplicate regions
    Why to have Duplicate Regions ?? No one said this ??


    Best Regards,
    Fateh
  • 6. Re: Customize Page and Public User
    643606 Explorer
    Currently Being Moderated
    I want all the regions to be customizable if you are authenticated, but not if you are public.
  • 7. Re: Customize Page and Public User
    Mindmap Pro
    Currently Being Moderated
    Hello,

    Please visit this page (That is public ) - here you cannot customize the regions
    http://theexecutivetowers.info/apex/f?p=121:1:
    You do not see the region that allows you to customize the rest of the regions.

    Now, click on the Not Public TAB and Login using:
    User: test
    pwd: test2

    Then move the first page by Clicking on the HOME Tab
    Now, You CAN SEE the region that allows you to customize the rest of the regions.

    Is not this what you need ???

    Regards,
    Fateh
  • 8. Re: Customize Page and Public User
    643606 Explorer
    Currently Being Moderated
    I do not see the customize link in the bottom right of the screen. I am using the built in customize feature of APEX that lets the user decide if they want the region displayed or not.
  • 9. Re: Customize Page and Public User
    KeithMalay Explorer
    Currently Being Moderated
    Mark,

    Have you tried hiding the "Customize" link on page load with JQuery based on whether the user authenticates as "nobody"?


    --Keith Malay                                                                                                                                                                                                                                                                                                       
  • 10. Re: Customize Page and Public User
    Mindmap Pro
    Currently Being Moderated
    Hello,
    I do not see the customize link in the bottom right of the screen
    I mentioned that this is another approach that is newer and much more elegant. Anyway,
    You can create a dynamic action (Perhaps, on page zero):
    Action: Hide
    Event: page Load
    Selection Type   jQuery Selector
    Affected Elements    a:contains("Customize")
    Under Condition Regoin
    Choose Condition Type: User Is The Public User (User has not authenticated)

    You can see the demo on the same link in my previous post

    Best Regards,
    Fateh

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points