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.

Magie not displaying info using tags from entry

July 25, 2008 4:09pm

Subscribe [2]
  • #1 / Jul 25, 2008 4:09pm

    zwenthe

    7 posts

    I am having the same issues as this thread

    http://ellislab.com/forums/viewthread/84583/

    I am trying to do something like this

    {exp:weblog:entries weblog="merchants" sort="desc"}
    
    <h1>{title}</h1>
    
    {description}
    
    {direct_link}<br>
    {exp:magpie url="{rss}" limit="10" refresh="720"}
    <ul>
    {magpie:items}
    <li><a >{title}</a>{magpie:description}</li>
    
    
    {/magpie:items}
    </ul>
    {/exp:magpie} 
    {featured}
    {/exp:weblog:entries}[/quote]

    Where RSS is defined in a weblog field.

    I have hardcoded the magpie rss url into the template and it works fine… it just won’t pull the url from the entry.

  • #2 / Jul 25, 2008 4:25pm

    Ingmar

    29245 posts

    I think you are running into a parse order issue here. You could try embedding the magpie tag into an external subtemplate, passing the rss parameter to it:

    {embed=my_includes/magpie rss="{rss}"}

    In your embed you’d then use {embed:rss} to reference the URL.

    On second thought, plugins are meant to be nested, so this is not the issue here. Just to clarify.

  • #3 / Jul 25, 2008 4:31pm

    zwenthe

    7 posts

    actually I think I found it out. The auto hyperlink was enabled, and as such it would use the rss url… as soon as I disabled that it worked.

    It would be nice if it could work so I could autolink, but I can work around that

  • #4 / Jul 25, 2008 4:39pm

    Ingmar

    29245 posts

    Ah, that would explain what you are seeing, too, yes. So, does that solve your issue?

  • #5 / Jul 25, 2008 4:41pm

    zwenthe

    7 posts

    Yep I am good… Maybe a feature request for Magpie would be to parse the http so that autolink could stay enabled

  • #6 / Jul 25, 2008 4:55pm

    Ingmar

    29245 posts

    Thanks a lot, closing this one 😊

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

ExpressionEngine News!

#eecms, #events, #releases