Violet

Action Stream not showing up on web page

Vote 0 Votes

I had action stream up and running on an installation of Melody on this server where it worked just fine. There were some other issues with the Melody install so I set up a new install of MTOS 2.61-en on the server, installed the Action Stream plugin, transferred all the templates, pages and blog entries from Melody to MT, turned the plugin setting on to "Enable rebuilding", modified the cron job to point to the MT run-periodic-task file path rather than Melody. And then published the MT version of the site. Everything works as it did on the Melody version except the Action Stream items don't show up.

They are visible within MT on the Manage User > Action Stream page and it is being updated with new items by the cron job. But nothing shows on the external web page.

Any thoughts on how to debug this?

Here's the widget code

<div class="widget widget-actions">
<h3 class="widget-header">Web Action</h3>
  <div class="widget-content">
    <div class="action-streams">
        <ul class="action-streams-list">
            <mt:ActionStreams limit="6">
            <li class="service-icon service-<mt:var name="service_type">">
                <mt:StreamAction name="">
            </li>
            </mt:ActionStreams>
        </ul>
    </div> 
  </div>
</div>

Reported on Movable Type 4.261

10 Replies

| Add a Reply
  • What happens if you build the file manually?

  • Not sure how to do that. Are there instructions somewhere?

  • Ah, here's what gets generated when I rebuild an entry that includes the action stream widget:

     
    <div class="widget widget-actions"> 
    <h3 class="widget-header">Web Action</h3> 
      <div class="widget-content"> 
        <div class="action-streams"> 
            <ul class="action-streams-list"> 
     
            </ul> 
        </div>  
      </div> 
    </div> 
    

    As you can see it's missing the critical <li> </li> statements with all the action stream goodies in it.

  • How does it behave if you do that as an index template? (I think it might be buggy in how it handles context)

  • Made a copy of the main index template. Put the mtml code from the action stream widget in the alpha div in place of what was normally there and published it as http://www.thinkliberia.com/test-action-stream.html

    Same result as when it's included as a widget in an entry - it's missing the <li> </li> statements.

    I've backed up the db and files. I'm going to try uploading MTOS 4.34-en and see if there were any patches applied between MTOS 4.261 and 4.34 that might take care of the problem. I'll keep you posted.

    • When you get a chance, could you post a detailed description of the libraries, configuration, etc. on thinkliberia.com to the Melody mailing list? OS (including patches), Perl version, DBI/DBD module version, etc.?

  • Well this is about as frustrating as it gets. The Movable Type install has been upgraded to MTOS 4.34-en with Action Stream 2.61 and it's still missing the <li> </li> statements.

    The Melody install from which the MT template contents and entries were copied, is now published in the file path http://www.thinkliberia.com/tlibtest/ and the same Action Stream 2.61 module works just fine there.

    The cron jobs for both are running fine and I can see the same action stream items listed on the Manage User > Action Stream page in the respective installs.

    I'll post the libraries, etc. on the Melody list.

  • I can't find code in the file.

  • Here's the mtml code in the Action Stream widget in the Movable Type install that is not working:

    <div class="widget widget-actions">
    <h3 class="widget-header">Web Action</h3>
      <div class="widget-content">
        <div class="action-streams">
            <ul class="action-streams-list">
                <mt:ActionStreams limit="6">
                <li class="service-icon service-<mt:var name="service_type">">
                    <mt:StreamAction>
                </li>
                </mt:ActionStreams>
            </ul>
        </div> 
      </div>
    </div>
    

    Here's the mtml code in the Action Stream widget in the Melody install that is working:

    <div class="widget widget-actions">
    <h3 class="widget-header">Web Action</h3>
      <div class="widget-content">
        <div class="action-streams">
            <ul class="action-streams-list">
                <mt:ActionStreams limit="6">
                <li class="service-icon service-<mt:var name="service_type">">
                    <mt:StreamAction>
                </li>
                </mt:ActionStreams>
            </ul>
        </div> 
      </div>
    </div>
    

    They're identical.

    All of the templates, template includes, widgets, etc. in the Melody install were exported from there and imported into MT.

    And as I noted before, the cron jobs for both are running fine and I can see the same action stream items listed on the Manage User > Action Stream page in the respective installs.

    If you're referring to some other file, please be more specific.

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012