function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Brian KnowltonBrian Knowlton 

Custom Chatter:feed on visualforce page

I am working on developing a visualforce page that shows the chatter feed. This is super simple, but it seems I'm running into something and would like to make a slight change...
 

<apex:page standardController="Case" ... >
    <chatter:feed entityId="{!case.id} ... showPublisher="false" filerType="SocialPost"/>
</apex:page>
1. when the showpublisher is false, a couple links are broken and can't be used, but when the publisher is there, the links are working. I thought it could reference the publisher on the feed page.
2. Is there a way to have the publisher to be true, but to just minimize it or hide it?
Best Answer chosen by Brian Knowlton
logontokartiklogontokartik
If you are comfortable with jQuery, a simple command would hide the publisher.
<apex:page standardController="Case" >
	<head>
    	<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
        <script>
           $j = $.noConflict();
           $j(document).ready(function(){
        	
               	$j('.publishercontainer').hide();
            
        
           });
            </script>
    </head>
    
    
    <chatter:feed entityId="{!case.id}" showPublisher="true"/>
	
</apex:page>
Hope this helps.