ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

moblog won't display entries

September 20, 2010 10:34pm

Subscribe [4]
  • #1 / Sep 20, 2010 10:34pm

    fanderson

    899 posts

    I have spent some time reviewing the documentation on moblog and I can now successfully submit moblog entries and they show up in the moblog module window but I am missing something on how to display the entries as part of my website.

    I am using two simple fields in the weblog: video and video_description. In the moblog control panel I entered the following code in the moblog template field:

    {movie}
    Watch our new <a href="http://{file}">movie</a> now.
    {/movie}
    
    {text}

    I would like the entries to display in a page and used the following code to bring it in:

    {exp:weblog:entries weblog="mobile"}
        {exp:flvplugin playerpath="player.swf" file="{video}" playernumber="{entry_id}" width="400" height="302"}
        {video_description}
        <div id="player{entry_id}"></div>
    
        {/exp:weblog:entries}

    Unfortunately, the page doesn’t render either the text or the video.

    I would appreciate any assistance getting this to work correctly.

    Thanks.

  • #2 / Sep 21, 2010 9:42am

    Sue Crocker

    26054 posts

    Ignore the exp:flvplugin for a moment - if you take that part out, can you perhaps echo out the {title}?

  • #3 / Sep 21, 2010 10:14am

    fanderson

    899 posts

    Hi Sue, I stripped it down to this but do not get any feedback.

    {exp:weblog:entries weblog="mobile"}
            {title}
        {/exp:weblog:entries}

    Also, when I look in the Edit tab, the entries do not show up there. They do show up in the Moblog tab though. Shouldn’t they be showing up in the Edit tab as a recent entry as well?

    Thank,

    Forrest

  • #4 / Sep 21, 2010 8:26pm

    Brandon Jones

    5500 posts

    Hi Forrest,

    Which version and build of EE are you using?

    Entries will definitely need to show up in the Edit screen before they output on the front-end. Have you verified the default field that Moblog is configured to post to? Are you overriding this in the email?

  • #5 / Sep 21, 2010 8:31pm

    fanderson

    899 posts

    Hi Brandon.

    This is what I get in the control panel: Emails Retrieved:  2   Entries Added:  0   Attachments Uploaded:  2

    I just set it to go to the description field. so it now comes in and I can see the title. Is there a way to have the video show up on the page?

    Thanks,

    Forrest

  • #6 / Sep 22, 2010 10:51am

    Sue Crocker

    26054 posts

    Forrest, you need to have the Moblog actually create an entry, not just add a file. Otherwise you’d have to manually tie the two together.

  • #7 / Sep 22, 2010 10:58am

    fanderson

    899 posts

    Sue. I have this enabled and I am able to pull the title into the page, but the instructions, don’t provide any details on how to display the video. Here is the page where it is showing up: http://www.ancestorimages.com/index.php/mobile/

    Here is the code I have in the template page:

    {exp:weblog:entries weblog="mobile"}
            {title}
            {description}
        {/exp:weblog:entries}

    Title and Description are the only two fields I have for this weblog.

    I hate to keep bugging you on this, but the documentation is pretty thin on this module. Once I get this working properly, I could probably add a note to the docs.

    Thanks.

  • #8 / Sep 23, 2010 4:04am

    John Henry Donovan

    12339 posts

    Forrest,

    Is the name of your custom file video_description and not just description?
    Can you update your template with this?

    Can you confirm you can now view the the entry via the Edit screen?
    If you can and you go to edit this entry, what is in the video_description field?

    For your moblog template please change it to this for now

    {files match="audio|files|movie"}
    <a href="http://{file}">Download File</a>
    {/files}
    
    {text}

    Make sure your Default Field is set to your video description field

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases