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, 1 month 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.

Help us Remember How to Edit Help Widgets?

  • This topic has 6 replies, 2 voices, and was last updated 3 years, 6 months ago by Ray.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • November 1, 2021 at 10:43 am #9072
    S.G.
    Participant

    We are kicking ourselves, because we edited the “our support team/contact us” widget that comes built-in to the cbox help area, about a year ago, but we need to update it again, and we cannot remember how we found the place to edit that widget! Does anyone know how to do that?

    Here is a link to the help area we are referring to https://openlab.bmcc.cuny.edu/blog/help/help-category/help/, and a screenshot of the widget that we are trying to locate is attached.

    Thank you!

    Attachments:
    You must be logged in to view attached files.
    November 1, 2021 at 8:35 pm #9080
    Ray
    Keymaster

    The “Our Support Team” widget is currently hardcoded: https://github.com/cuny-academic-commons/openlab-theme/blob/cc97bf7f84bd10fd8eb6dea3c1173377c1797c0c/sidebar-help.php#L34.

    So this cannot be modified unless you create a child theme to override the sidebar-help.php template.

    Can you tell us what you are trying to modify?

    November 3, 2021 at 2:59 pm #9081
    S.G.
    Participant

    That’s strange, because we did modify it in the past, so it was possible, with no child theme. That’s how the widget in that link links to our contact info–we added it.

    And that’s also what we want to modify again now: We need to update the contact page link we put in there last year.

    November 3, 2021 at 3:34 pm #9087
    Ray
    Keymaster

    Okay, so you just want to change the URL to the “Contact Us” page? You should be able to just edit the “Contact Us” page directly from the “Pages” dashboard page and changing the page slug.

    You can also access the “Contact Us” page through the “Brand Settings” page as well: https://commonsinabox.org/copy

    Let us know if that is what you mean.

    November 3, 2021 at 4:51 pm #9088
    S.G.
    Participant

    Oh, yes! This is helpful. I believe updating that Contact Us page is how we did it the first time.

    I’ll try changing the page slug and let you know how it goes.

    November 8, 2021 at 5:57 pm #9093
    S.G.
    Participant

    Thanks again, @r-a-y. We finally remembered that Chris created a help page called “contact us,” and the system automatically linked it to that “Contact” in Our Support Team help widget.

    And here is a clearer picture of why we wanted to change it, but it’s not high priority, in case you are overly busy; we just want to follow up:

    Our Contact us info is in three places:

    #1 The Our Support Team widget, in the help pages. That contact us page’s slug is blog/help/contact-us

    #2 The Support footer (appearance > customize > community-wide footer > footer middle > content) has a contact us that links to a different contact us page that; its slug is about/contact-us/ .

    #3 About (page in the main nav) has a sidebar menu (located in Appearance > menus > about menu); this is the same page in #2, which ends in about/contact-us/.

    Although we updated both contact pages to have the same content, we thought it would be a better practice to have all three link to one contact page, so that we don’t update one and forget to update the other. So we could update #2 and #3 to link to the blog/help/contact-us, but we prefer the about/contact-us/ url.

    So it appears we can’t change the link in the Our Support Team widget to go to about/contact-us? and editing the slug would not work either? (The editable portion does not include blog/help.)
    It seems a child theme would be the only way, but that is a bigger project for down the road.

    We hope this helps clarify. Thanks again for attending to our inquiry.

    https://openlab.bmcc.cuny.edu/about/contact-us/

    https://openlab.bmcc.cuny.edu/blog/help/contact-us

    • This reply was modified 3 years, 6 months ago by S.G..
    November 8, 2021 at 7:02 pm #9096
    Ray
    Keymaster

    Hi Syelle,

    Thanks for finding this bug. I can confirm the problem.

    I have created a new issue with a fix:
    https://github.com/cuny-academic-commons/commons-in-a-box/issues/375

    In the meantime, before the next release, you will need to override the /wp-content/themes/openlab-theme/sidebar-help.php file with the following:
    https://raw.githubusercontent.com/cuny-academic-commons/openlab-theme/1.3.x/sidebar-help.php

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • 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
    287 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