• Join Now
  • Sign In
  • Cart
  • Instant Setup
  • Download
Logo
  • About
    • Try it Out
    • Site Editor Tour
    • Designer Tour
    • Developer Tour
    • Testimonials
    • Showcase
    • History
    • Our Philosophy
    • Credits
    • What does free mean?
    • Blog
  • Community
    • Members
    • Forums
    • Chat
    • Karma
    • International
    • Jobs
    • eNewsletters
  • Developers
    • Download concrete5
    • Join Beta Team
    • Translate concrete5
    • Bug Tracker
    • Submit to Marketplace
    • Code Submissions
    • News
    • Community Leaders
  • Marketplace
    • Add-Ons
    • Themes
    • Installation Help
    • Deal Of The Day
    • Swag
  • Services
    • Hosting
    • Support Options
    • Consulting
    • Training
    • Enterprise
  • Documentation
    • Getting Started
    • Editor's Guide
    • Developers Guide
    • How-Tos
    • Basics
  • Discussion Forums

Skinning, Customization and Page Types

Stylesheet

The original discussion stylesheet for all portions of the discussion application is located at 

packages/discussion/css/discussion.css

To modify this file in an extendable way, copy it from this location into the root of your current theme. (e.g. if your current theme is "mytheme", copy this file to themes/mytheme/discussion.css and make your changes there.)

 

Page Types

The discussion addon comes with two page types, Discussion and Discussion Post. A discussion acts as a "forum" or "category" page might in another forum model. To create a sample forum, do the following.

1. Create a page of any type that is NOT discussion or discussion post (so right sidebar, full, etc... or any other custom page type you've added to your site.)

2. Add a Discussion Categories block to this page, with options set to display discussions that fall below it.

3. Add a Discussion page below this one. Once approved, it should automatically show up in the discussion categories block that you added in step 2.

4. That should be it. At this point, the discussion page type should allow new posts to be created under it (by adding a topic) without using the concrete5 controls. These posts will then be displayed by the Discussion Topics block, which should have automatically been added to the Discussion page you created in step 3. 

Customization

The page type templates themselves may be customized as well. This takes a couple steps. For example, to customize the discussion page type, do the following.

1. In your currently active theme, duplicate view.php. 

2. Rename this file to discussion.php.

3. Copy the contents of packages/discussion/page_types/discussion.php.

4. Open the discussion.php file you created in step 2.

5. Find the line <?php print $innerContent?> and remove it. In its place, paste the contents you copied in step 3.

Now any edits you make to the discussion template in your theme should be reflected in your site, without having to modify the core discussion application.

Thumbnail Intermediate Core Team

Learn More

  • Discussion Forums Home
  • Pre-Sale Questions
  • Reviews
  • Screencast
  • Questions & Discussion
  • Demo
  • Version History
  • Features
  • Skinning, Customization and Page Types
  • License
  • Support
  • Roadmap
  • Documentation
  • Marketplace
  • Add-Ons
  • Discussion Forums
  • Skinning, Customization and Page Types

Do you have questions

  • What are users saying?
  • Who is using concrete5?
  • What makes concrete5 easy?
  • Why develop on concrete5?
 

We’re on “The Twitter”

RT @toddrankin: looking for feedback/ insight on #concrete5 can anyone provide any?

Follow concrete5

About

  • Try it Out
  • Site Editor Tour
  • Designer Tour
  • Developer Tour
  • Testimonials
  • Showcase
  • History
  • Our Philosophy
  • Credits
  • What does free mean?
  • Blog

Community

  • Members
  • Forums
  • Chat
  • International
  • Jobs
  • eNewsletters

Developers

  • Download concrete5
  • Join Beta Team
  • Translate concrete5
  • Bug Tracker
  • Beta
  • Submit to Marketplace
  • Code Submissions
  • News
  • Community Leaders
  • User Doc Group

Marketplace

  • Add-Ons
  • Themes
  • Installation Help
  • Deal Of The Day
  • Swag

Services

  • Hosting
  • Support Options
  • Consulting
  • Training
  • Enterprise

Documentation

  • Getting Started
  • Editor's Guide
  • Developers Guide
  • How-Tos
  • Basics

Legal

  • Privacy Policy
  • Terms of Use
  • Refund Policy
  • Contact Us
© 2008 to 2012 Concrete CMS Inc. All Rights Reserved.

Sign In?

You must have a user account and be signed to perform this action.

  • Sign In
  • Register