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 11 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.

DRATS! NO SLIDES ADDED.

  • This topic has 3 replies, 3 voices, and was last updated 9 years, 8 months ago by Ray.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 8, 2013 at 10:41 pm #3111
    Michael Scott
    Participant

    I don’t know if the issue I’m having is associated with the most recent fix that removed the restriction that only the main (WP Multisite) site could utilize the homepage widgets and slider (thank you for that fix!).
    On my main subsite I don’t seem to have the ability to set up the CBOX Slider even though I have used both options as per the CBOX manual.  In both setups I get no result other than the default DRATS! NO SLIDES ADDED.
    I have tried both approaches – using Option 1 (Show Site Features) and Option 2 (Show Featured Posts by Category) – as per the CBOX documentation, and neither appear in the slider area of the Home page even though I’ve created a relevant Feature/Page as per the instructions.  As well, I’ve changed the call-out text that get’s shown below the slider and that doesn’t appear either.
    Could this somehow be related to the recent fix, or is it related to my newbieness?
    Here are my Slider Settings:
    Slider Setup
    If you enable the slider you can choose what type of content you want to display. You can choose between displaying images or videos that you have added through the Site Features custom post type or showing images/videos from posts from a category of your choosing. If you choose the latter, there are some options you can set at the bottom of this page
    Current setting – Show Featured Post from a Category
    Slider Header
    The call-out text that get’s shown below the slider
    Current setting – “Test.”
    Slider Configuration
    The amount of time in seconds each slide shows
    Time in seconds: 5
    Transition time
    The transition speed in milliseconds
    Duration in milliseconds: 600
    Featured Slider Category
    From which category do you want to show posts? This ONLY works when your slider is set to to show Featured Posts
    Current setting – Slider (a category I created)
    Number of posts
    How many posts do you want to feature?
    Current setting – 4

    … And I’ve ensured that the image I used has been set to be a featured image.
    Please let me know if I’ve made a mistake or am missing something.
    Thanks, and best regards … Michael

    July 9, 2013 at 1:34 am #3113
    Phil_P
    Participant

    Hi Michael @michael-scott – I had a similar issue and thought the fix didn’t work until I looked closely and discovered that I’d left an extra trailing bracket in each file … looking closely at the github edit sheet and you will see a curly bracket on line 72 that needs to be taken out of setup-cbox.php. Likewise for line 60 of sidebars-cbox.php. This may offer your solution?
    Re. child theme etc – you should only need to do the additions/changes to the child theme, which will over-ride the parent.

    July 9, 2013 at 3:17 am #3114
    Michael Scott
    Participant

    Hi Phil,

    Thanks for your response.

    I have to say that I’m now confused about the changes I made.  As the only location where setup-cbox.php and sidebars-cbox.php existed in was /public_html/wp-content/themes/cbox-theme/engine/includes/, I had made the changes there (to the existing files in the parent theme).

    So a few moments ago I reversed the changes and restored the original setup-cbox.php and sidebars-cbox.php files which I had kept a copy of and move the modified files across to my child theme at /public_html/wp-content/themes/causeaustralia/engine/includes/.

    But now my causeaustralia subsite has no Site Feature option in the dashboard which had been resolved in an earlier fix … so I’m now plain confused as to what I should do.

    I didn’t get an answer to my question a while ago as to whether I should modify the parent theme’s setup-cbox.php and sidebars-cbox.php files or establish new ones in the child theme, and, because I was able to access the Site Feature in my causeaustralia subsite I though the fix was a good one and assumed that I had done the right thing.

    It looks to me now that I need to go back to what I originally did … modify the setup-cbox.php and sidebars-cbox.php in the /public_html/wp-content/themes/cbox-theme/engine/includes/directory … but I might wait in case I get further directions.

    Thanks, and best regards … Michael

    July 11, 2013 at 6:24 pm #3134
    Ray
    Keymaster

    Hi Michael,

    I would try by reverting or removing all changes that you’ve made.

    You can also download the latest, bleeding version of cbox-theme to overwrite your changes:
    https://github.com/cuny-academic-commons/cbox-theme/archive/master.zip

  • 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 Classic Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 274

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