Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Group Admins

  • Profile picture of Scott Voth

CBOX OpenLab Support

Public Group active 1 year, 3 months ago

Have a question about Commons In A Box OpenLab, our new platform for open learning? Join the group and post your question here. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

OpenLab 1.2.1- Group Type pages no longer filter

  • This topic has 15 replies, 3 voices, and was last updated 4 years, 10 months ago by Boone Gorges.
Viewing 15 posts - 1 through 15 (of 16 total)
1 2 →
  • Author
    Posts
  • August 25, 2020 at 7:58 am #8495
    Ed Beck
    Participant

    Hello,

    Since updating to the latest OpenLab, the group type pages no longer filter portfolios, clubs, courses, and projects.

    See Screenshot:

    Now when I go https://oneonta.sunycreate.cloud/groups/type/course/ I see a list of all sites, not just courses. Is that a bug or intentional design?

     

     

    Attachments:
    You must be logged in to view attached files.
    August 25, 2020 at 2:36 pm #8497
    Bree
    Participant

    Hi Ed,

    I can’t reproduce this on our dev site, but we did make a number of changes to searching and filtering in the latest release. I’ll put in a ticket for the issue.

    Best,

    Bree

    August 25, 2020 at 4:15 pm #8499
    Boone Gorges
    Keymaster

    Hi Ed –

    Are you running a child theme of openlab-theme? If so, can you say a little about what’s in the theme? It’s possible that your child theme isn’t properly inheriting the changes from CBOX 1.2.0.

    The fact that your Courses directory page is (incorrectly) showing checkboxes for group types suggests that something’s broken with CBOX’s internal “is this a search results page?” check. Visit http://wp-admin/admin.php?page=cbox-ol-brand-settings (Dashboard > CBOX OpenLab > Brand Settings). Is there a ‘Search Results’ item on the list? If so, does the ‘Preview’ link go to a valid page?

    August 25, 2020 at 4:59 pm #8500
    Ed Beck
    Participant

    Hi Boone-

    Openlab Theme 1.2.1
    Commons in a Box 1.2.1
    Wordpress 5.5
    PHP 7.3.20

    One thing that is slightly unique about my setup is we are using subdomains, which seems to be an outlier of commons in the box sites, but other than that, we haven’t done anything custom. While we have explored the possibility of doing a child theme, right now we are stock OpenLab.

    August 25, 2020 at 5:38 pm #8501
    Boone Gorges
    Keymaster

    Thanks, Ed. Did you have a chance to check the Brand Settings page for ‘Search Results’? I have a feeling that this is the key to the issue, but I’d like your verification first.

    August 25, 2020 at 5:48 pm #8502
    Ed Beck
    Participant

    Hi Boone,

    I don’t see anything like that.

     

    Attachments:
    You must be logged in to view attached files.
    August 25, 2020 at 10:24 pm #8505
    Boone Gorges
    Keymaster

    Thanks for confirming, Ed.

    I’ll fix this in https://github.com/cuny-academic-commons/commons-in-a-box/issues/282 and release CBOX 1.2.2 with the fix in the next day or so.

    In the meantime, I’ve written a small plugin that will fix the problem on existing installations, before CBOX 1.2.2 is ready. https://commonsinabox.org/wp-content/uploads/cboxol-fix-brand-pages.zip Install via Dashboard > Plugins and activate. Visit any Dashboard page (or refresh the Plugins page). The problem should now be fixed, and you can safely deactivate and delete the plugin.

    August 26, 2020 at 6:59 am #8506
    Ed Beck
    Participant

    @Boone,

    I am also no longer seeing portfolios as a group type in the CBOX Group Type pages. Is this a related issue or something separate?

    (See Screenshot)

     

    Attachments:
    You must be logged in to view attached files.
    August 26, 2020 at 8:22 am #8508
    Boone Gorges
    Keymaster

    Ed – Can you confirm whether you were able to resolve the Search Results problem with the plugin above?

    The Portfolios issue seems to be unrelated. I see that groups of the type still exist, and the type itself seems to be valid for BP and for CBOX, since I’m able to visit the directory https://oneonta.sunycreate.cloud/groups/type/portfolio/ and I see the ‘Portfolios’ checkbox in the sidebar filters. Can you confirm that the type is appearing properly throughout the front end, and it’s only in Dashboard > CBOX OpenLab > Group Settings > Group Types where you’re not seeing it listed?

    August 26, 2020 at 9:16 am #8509
    Ed Beck
    Participant

    Yes, I can confirm that for the portfolio issue the group type still exists, that they are still available and labeled from the front end, and that new users can still create portfolios. I’ve just lost the detailed controls from the CBOX Group Types menu.

    As for the other plugin, I installed it, activated it, and that hasn’t changed what I see on the CBOX Brand page.

    August 26, 2020 at 9:27 am #8510
    Ed Beck
    Participant

    However, the front end is now working- When I click on courses, I only see courses.

    August 27, 2020 at 11:00 am #8511
    Ed Beck
    Participant

    Hi Bree and Boone,

    Do you want me to start a separate thread about the portfolios disappearing form the back end? Bree can you see that on your dev site?

    Ed

    August 27, 2020 at 5:40 pm #8512
    Boone Gorges
    Keymaster

    Thanks, Ed. CBOX 1.2.2 fixes this problem.

    Here or a new thread is fine for the ‘portfolios’ issue. I don’t have a sense of how this problem would come about, though. I guess one thing to look at is this: When you load CBOX OpenLab > Group Settings > Types, view the page source and look for the CBOXOLAppConfig variable. Maybe dump the value (including the curly brackets but without the trailing semi-colon) into a tool like https://jsonformatter.org/ to make it easier to read. Do you see Portfolios as one of the types? Knowing this would help to narrow down whether the issue is on the server or on the browser side.

    August 27, 2020 at 8:02 pm #8513
    Ed Beck
    Participant

    Hi Boone does this attachment help?

    The only thing that we changed from core OpenLab is that we had renamed the “Club” group type “Organization.” We hadn’t done anything fancy to do this, just using the GUI and tools in OpenLab 1.1. We had done this back before we upgraded to the latest version.

     

     

    Attachments:
    You must be logged in to view attached files.
    September 1, 2020 at 8:07 am #8515
    Ed Beck
    Participant

    Hi Boone,

    The text file from Thursday has the page source. Portfolio is listed in that CBOXOLAppConfig 90+ times doing a simple search.

    I attached it as well in case you wanted to see any more details.

    Ed

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 16 total)
1 2 →
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX OpenLab Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 22
  • Send Invites

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    286 members
  • Group logo of CBOX Pioneers
    CBOX Pioneers
    71 members
  • Group logo of CBOX Developers
    CBOX Developers
    40 members
  • Group logo of CBOX OpenLab Support
    CBOX OpenLab Support
    22 members
  • Group logo of CBOX-OL Testing Partners
    CBOX-OL Testing Partners
    12 members

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Learn WordPress
    • Support
    • Feedback
  • Log In
  • Register