Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

css help !!

just one step left for launching my concept site, i need a little help ,,,i want to delete the activity section in the activity page... how to do it with css ? thanks

Comments

  • .Tabs.ActivityTabs, form.Activity, .Datalist.Activities {
      display: none;
    }
    

    If you want to remove the markup at it's source, you could override all the activities views to not return anything.

    1. Copy the activity folder from /applications/dashboard/views to /themes/YourCustomTheme/views
    2. Open each file in /themes/YourCustomTheme/views/activity and removal everything but the first line (<?php if (!defined('APPLICATION')) exit();).

    This will override anything that tries to render out the activities content.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Thanks for your help..

  • peregrineperegrine MVP
    edited July 2013

    @hgtonight said

    If you want to remove the markup at it's source, you could override all the activities views to not return anything.

    Copy the activity folder from /applications/dashboard/views to /themes/YourCustomTheme/views
    
    
    Open each file in /themes/YourCustomTheme/views/activity and removal everything but the first line (<?php if (!defined('APPLICATION')) exit();).
    

    you could probably just change one character in each to achieve the same effect and leave the rest of the code.

    <?php if (!defined('APPLICATION')) exit();). /// it's not define exit normal usage

    to

    <?php if (defined('APPLICATION')) exit();). // it's defined exit skip it.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.