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

Grants and proposals child pages #186

Closed
alex-418 opened this issue Sep 12, 2018 · 10 comments
Closed

Grants and proposals child pages #186

alex-418 opened this issue Sep 12, 2018 · 10 comments

Comments

@alex-418
Copy link
Contributor

Make the child pages show up in this landing page under the correct parent page (as per Barbs e-mail)

@alex-418 alex-418 self-assigned this Sep 12, 2018
@alex-418
Copy link
Contributor Author

Remove hardcoded values for parent page ID's, move these as an option.

@alex-418
Copy link
Contributor Author

Completed in #191

@alex-418 alex-418 removed their assignment Sep 14, 2018
@alex-418
Copy link
Contributor Author

@murphybarb Please note there's new settings for the grants page (This is where you can enter the post ID of the parent pages for Open and Closed proposals).

grant_settings

@murphybarb
Copy link

@bdolor I'm using page IDs in the URLs (see attached) to test having different pages appear. It doesn't appear to be working, I'm I using the wrong page ID?

screen shot 2018-10-01 at 1 01 04 pm

@bdolor
Copy link
Contributor

bdolor commented Oct 1, 2018

Content displaying is dependent on the parent-child relationship. So if the ID of the page does not have any children, nothing will appear.

@murphybarb
Copy link

@bdolor can you direct me on how I would do the following:

How would we insert the following page under "Open Calls for Proposals":
https://helga.bccampus.ca/wp/bcc/bccampus/events/symposium-2018-all-pages/?preview_id=698556&preview_nonce=a4bb80d052&_thumbnail_id=698748&preview=true

How do we enter the page ID's in the customization settings if there is more than one that needs to appear there? I tried with a comma and all the child pages appeared

How do we move "4.1 BCcampus Learning Access Program for Educators (LAP-E)" from under "Grants Currently Offered" to "Currently Closed Opportunities". That is one that will open and close often.

@bdolor
Copy link
Contributor

bdolor commented Oct 1, 2018

The limitations that we're working with under a parent-child relationship are:

  1. All items must be a 'Page' (not an 'Event')
  2. There can only be one Parent.
  3. Moving one child page from the parent 'Grants Currently Offered' to 'Currently Closed Opportunities' requires changing the relationship of the child page, to the other parent.

@murphybarb
Copy link

  1. we need to be able to add an event here, as calls for proposals most times will come from an event.
  2. ok, thanks for explaining
  3. Looking at the dashboard I see how you set this up, but see what I think might be an issue. Maybe I'm wrong though? 'Grants Currently Offered' and Currently Closed Opportunities' are not assigned parent pages. When you assign them the parent page of '4.0 Grants and Calls for Proposal', which would be the parent page, the child pages appear in the 'Grants Currently Offered' section, which we do not want.

@bdolor
Copy link
Contributor

bdolor commented Oct 1, 2018

  1. I believe we've talked about the limitations around this already, forgive me if this is running over old ground. The last correspondence (Aug.16) that formed the basis of what we were building from:

So, if I recall, you needed me to confirm if the “open calls for proposals” content on the G&CFP landing page would be pulled exclusively from the events pages/section/calendar plugin. No, the content to dynamically appear in the “open calls for proposals” container would also come from child pages of “open calls for proposals”.

Probably better to address in a discussion.

  1. great
  2. Probably better to address in a discussion.

@murphybarb
Copy link

Sounds like a great plan. When is good for you to chat on Tuesday? I'm available anytime, I have not meetings scheduled. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants