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 Classic Support

Public Group active 4 months, 3 weeks ago

This group provides support for Commons In A Box Classic, our original software for community-building. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

CBOX-THEME-CHILD: switching between themes? "Hold onto your CSS, Ma – tight!"

Tagged: CBOX theme

  • This topic has 1 reply, 2 voices, and was last updated 12 years, 4 months ago by Ray.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • January 25, 2013 at 11:29 am #1767
    Brendan
    Participant

    I posted this issue on WordPress.org, but am posting here now, based on the encouragement that this is the right place :-).

    I’m loving the plugin suite, its orchestration and it custom theme. But below I describe a scary surprise I had with the theme.

    I switched briefly away from my cbox-theme-child to the default buddypress theme in order to test something. When I switched back, my header image was gone, and – worse – my LONG “Custom CSS” which I had entered in the CBOX theme options panel was GONE! (Well, it had strangely reverted from 891 lines to my much earlier 3. Hmph.)

    Two recovery strategies.

    I recovered by putting my browser into Offline mode, and – luckily – was able to recover the CSS from a cached page (by looking at wp-content/uploads/exports/cbox-theme-child/dynamic.css?ver=3.5, which embeds the content of “Custom CSS.”
    I searched the database and found in the options table, option_name icext.9887611a.cbox-theme, containing the full CSS. I am not sure why, when I reselected the theme, an earlier version of my CSS, rather than this most recent one, loaded.

    I presume the rest of my theme settings are somewhere in the database (in records with non-descript names like, icext.29f718ab.cbox-theme-child, of which there are many), too; but it seems easier to just go through and re-enter it manually. 🙁

    Is my experience an abberation? Or is this what’s expected when switching away and then back to the theme?

    I like the elegance of storing such theme data in the database; however, I’m wary, ’cause now it’s scary.

    Thanks,
    ~Brendan

    P.S.: I’m attempting to attach what I believe to be the basic files in my child theme. I don’t think I’m not leaving anything out.

    • This topic was modified 12 years, 4 months ago by Brendan.
    Attachments:
    You must be logged in to view attached files.
    January 28, 2013 at 8:56 pm #1872
    Ray
    Keymaster

    Hi Brendan,

    One of our theme developers is putting together some docs for creating a CBOX child theme. Hopefully it’ll get posted sometime this week.

    As for your problem about your CSS not being detected, did you originally use the CBOX parent theme to save your CSS? And later on, did you activate your CBOX child theme and save another version of the CSS?

    If so, that’s probably the problem as there are two copies of your CSS relating to different themes – the CBOX parent theme and the CBOX child theme.

    If not, then we might have to troubleshoot the issue a little more.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX Classic Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 287
  • 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