How to remove OA login page content and graphics

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
yorkshiregeek's picture

Can someone help me with the home page? I just want a basic home page for auth and anon people without the OA graphics. How do I edit those to remove?

Thanks

Jason

Comments

Override Open Atrium welcome screen

othermachines's picture

This is from my notes from a few months back, and my set up is likely not exactly the same as yours, so of course use at your own risk. My experience was somewhat tedious (as you can see).

Override Open Atrium welcome screen

  1. Go to Administration > Structure > Pages (admin/structure/pages).
  2. Search for an entry for a page named "page-oa_homepage". Click "Edit" in the "Operations" column next to the entry.
  3. Click the "Clone" tab.
  4. Enter a new administrative title (e.g. "Welcome Page") and path (e.g. "welcome"). Ensure "Clone variants" is checked.
  5. Click "Clone".
  6. In the left navigation menu, select Settings > Basic.
  7. Scroll down and select the checkbox next to "Make this your site home page."
  8. Click "Update and Save".
  9. In the left navigation menu, select Settings > Access.
  10. Add a new access rule, "User: role". Settings: anonymous user - checked, reverse (NOT) - checked. (We could just remove the "Anonymous Home" variant but this will allow us to easily change our minds later.)
  11. In the left navigation menu, select Variants > Authenticated Home > Content.
  12. In the main content area, there will be a light grey box containing a pane called "Default Home Panel". Click the gear icon and select "Remove".
  13. Click "Update and save".
  14. Return to Administration > Structure > Pages (admin/structure/pages).
  15. Again, search for the page named "page-oa_homepage". Click "Disable" in the "Operations" column next to the entry.
  16. Optionally, you can now customize your homepage via the "Pages" UI, or by going directly to the homepage and using the "Customize this page" and "Change this layout" buttons that now appear.
  17. To preserve the override beyond your next update, create an "override" feature. The name of the component you have overridden is "variable site_frontpage". Also select your new page under "Page manager" to include it in the package and "Page manager: home_page_clone" under "Default config".

Hide toolbar and banner on homepage for anonymous users

  1. Navigate to Administration > Structure > Mini panels.
  2. Click "Edit" in the "Operations" column next to "Open Atrium Toolbar".
  3. Click on "Content" in the navigation options that for some reason look like a breadcrumb trail (?).
  4. For each pane, click the gear icon in the top right corner and select Visibility rules > Add new rule.
  5. Select "User: role" and hit "Next".
  6. Put a checkmark next to "anonymous user" and "Reverse (NOT)". hit "Save".
  7. After you've done this for all panes, hit the "Save" button at the bottom of the page.
  8. To preserve the override beyond your next update, create an "override" feature. The name of the component you have overridden is "panels_mini oa_toolbar_panel".

Thanks thats really helpful.

yorkshiregeek's picture

Thanks thats really helpful. Its almost there now bit a couple of probs...

1) The login shows but it has an warning showing to the user that they are not authorised to view this page.

2) How do I edit the page content again? I tried going to the home page and editing in the UI as you suggested but whatever I add there does not show to a user not signed in?

Thanks

Jason

Also is it possible to have

yorkshiregeek's picture

Also is it possible to have the home page default to a space page but if they are not signed in it takes them to the login page?

Did you get it figured out?

othermachines's picture

Did you get it figured out? For the logged in/logged out redirection I would look at the Rules module. Sorry I can't be more help as it's been quite some time since I've tinkered in there.

Have the same problem

rooni5080's picture

Have the same problem. Want to remove the warning showing to the user that they are not authorised to view this page.

Simple login form on homepage

kdmcguire's picture

I had a similar problem, wanting to remove the default full-page banner that was shown to unauthenticated/anonymous users on the home page. I could remove the banner, but then couldn't find a login form in the open atrium widgets... Pointing to /user/login was also not acceptable, as it too has OA-branded graphics and might confuse my users. I finally discovered a 'user login' block, and it was just what I needed. I disabled the banner content pane on the unauthenticated home page variant, then set the 'user login' block to appear in the content area on the page. It works! Nice and simple.

No need for access rule

mario2014's picture

The step 10 (Add a new access rule, "User: role". Settings: anonymous user) is not necessary, because there are two variants: Authenticated and Anonymous Users. Without this access rule the warning showing the user is not authorised to view the page disappears.

Open Atrium

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: