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 9 months, 3 weeks 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.

Query about Badge Links

  • This topic has 3 replies, 2 voices, and was last updated 9 months, 4 weeks ago by S.G..
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 26, 2021 at 5:30 pm #8800
    S.G.
    Participant

    Hi everyone,

    The BMCC team has a few questions about the links that are currently inside our group badges.

    From the group/profile:

    -The OER badge links right back to itself.

    -The Open badge links to a “some link” url that goes to a “Page not found” error (from an example group): https://openlab.bmcc.cuny.edu/groups/bus104-introduction-to-business-course-hub/somelink/

    -The Cloneable badge links to a “some other link” url that also shows the “Page not found” error (from another example group): https://openlab.bmcc.cuny.edu/groups/gardening-101-1600-sp-20-graves/someotherlink/

    We would like to follow City Tech’s OL model and create a help page defining these terms, and have the badges link to that help doc.

    1) How do we edit these badge links?

    2) Is it possible to edit the badge that says “clone” to say “cloneable,” like City Tech’s badge? When we hover the mouse over “clone,” the drop-down label says “cloneable” already (see attached screenshot).

    Thanks!

    Attachments:
    You must be logged in to view attached files.
    February 4, 2021 at 10:30 am #8808
    Bree
    Participant

    We’ve been in touch outside the forum about this, but I just wanted to post an update here for anyone else who comes across the issue.

    ‘Open’ and ‘Clone’ are not technically badges, in that they’re not added to a group by an admin, but more like labels that are added automatically depending on a group’s status. This is why they’re not included in the Badges admin interface. Currently they’re hardcoded, and the placeholder links (‘somelink’ etc) shouldn’t have been included. We have a ticket for addressing this in the next release:
    https://github.com/cuny-academic-commons/commons-in-a-box/issues/334

    In the meantime, Boone included a short-term fix in the ticket:

    Anyone wanting to make changes to these badges can use the following as a template:

    https://gist.github.com/boonebgorges/95d1ec1c291e7c63cdeb0391780b6d51

    The first block changes the ‘Open’ link to ‘#’, which effectively makes it a non-link. (Actually removing the anchor tag will cause problems for the tooltip and for styling.) You can change it to some other URL if you’d like. The second block changes the ‘Clone’ link to read ‘Cloneable’. You can mix and match as you see fit.

    February 4, 2021 at 2:30 pm #8814
    S.G.
    Participant

    Thanks!

    June 2, 2022 at 5:15 pm #9128
    S.G.
    Participant

    Just want to reply here on the old forum and say thank you! We love having badge links.

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

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    274 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
    • Support
    • Feedback
  • Log In
  • Register