Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prototype site pages #25

Closed
20 tasks done
BBGuy opened this issue Jun 26, 2014 · 9 comments
Closed
20 tasks done

prototype site pages #25

BBGuy opened this issue Jun 26, 2014 · 9 comments

Comments

@BBGuy
Copy link
Member

BBGuy commented Jun 26, 2014

  • create mockups
  • create branch f_25 and add panels to it
  • enable page manager and Views content panes
    Page manager
  • install and enable panels
  • Install calendar module
  • disable the Site wide context
  • Create a custom page /home and set as home page
  • Create two variants for the home page - logged in / not logged in
  • create holding pages for all pages in the Scratchpad
  • add to the assets view a "user assets" content pane and add it to the homepage logged in variant
  • Take over the display of the calendar pages
  • Hide asset pages from anonymous users using content access or page manager
  • Hide legal entries pages from anonymous users using content access or page manager
  • Hide other view pages from anonymous users - the two sample views and maybe others
    notes:
    Only home page view is accessible to anonymous user this was done as follows:
  • All pages have access control of User: role = Logged in user has role "authenticated user"
  • Default 403 (access denied) page = 'home'
  • Calendar view - role - "authenticated user"
    we still need to hide content types

Deploy

  • merge to dev
  • pull code
  • drush updatedb
  • enable modules see above
  • configuration see above
  • Delete the f_25 branch
BBGuy added a commit that referenced this issue Jun 26, 2014
@BBGuy
Copy link
Member Author

BBGuy commented Jun 26, 2014

Getting errors on the page manager context page:
Notice: Undefined variable: plugins in field_collection_field_collection_from_field_get_children() (line 65 of /private/var/www/kendra/hub_v2/htdocs/sites/all/modules/contrib/field_collection/ctools/relationships/field_collection_from_field.inc).
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in ctools_get_plugins() (line 281 of /private/var/www/kendra/hub_v2/htdocs/sites/all/modules/contrib/ctools/includes/plugins.inc).

looks like this is a fixed issue with Field collection see https://www.drupal.org/node/2159395

  • needs fixing

@BBGuy
Copy link
Member Author

BBGuy commented Jun 26, 2014

Looks like the above issue was commited a few days after the last beta https://www.drupal.org/commitlog/commit/16250/eb28ebd5a443ef3db493f2376253a529f4fef920 so we will need to use the dev version

@BBGuy
Copy link
Member Author

BBGuy commented Jun 26, 2014

Latest dev version of Field collection fixed above issue - need updatedb

BBGuy added a commit that referenced this issue Jun 26, 2014
@BBGuy
Copy link
Member Author

BBGuy commented Jun 26, 2014

This is now merged to dev

@BBGuy BBGuy mentioned this issue Dec 16, 2014
18 tasks
@BBGuy
Copy link
Member Author

BBGuy commented Dec 16, 2014

The two remaining tasks "Hide asset & legal entries pages" and "Hide other view pages" are related to #51

@BBGuy
Copy link
Member Author

BBGuy commented Jan 6, 2015

Asset nodes to use page manager

Dev

  • Disable the context
  • Enable the node template in page manager
  • Create a variant for node type = asset & user = logged in
  • Create a variant for user = not logged in

Deploy

  • Disable the context
  • Enable the node template in page manager
  • Import the two variants

I have also made a code change to stop errors on the page manager when adding the "Aggregated Rights Table" block this will need to be pushed

  • Push code changes

@BBGuy
Copy link
Member Author

BBGuy commented Jan 6, 2015

Asset contributions - Full details page
@dahacouk - this page is accessible on the asset page using the tab. It contains data that's not user friendly like the weights. I will for now set this page to be visible to Kendra admin users only.
To do

  • Make page visible to Kendra admin users only.

BBGuy added a commit that referenced this issue Jan 6, 2015
@BBGuy
Copy link
Member Author

BBGuy commented Jan 6, 2015

Term pages

  • Enable the Taxonomy term template in the page manager
  • Create a variation for "anonymous user" with a 403 Access denied

@BBGuy
Copy link
Member Author

BBGuy commented Jan 6, 2015

Sample views

  • Set View Access for following roles - administrator, Asset Author & Kendra

@BBGuy BBGuy closed this as completed Jan 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants