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.

Multiple entries all display root url instead of entered url

September 20, 2010 11:58pm

Subscribe [2]
  • #1 / Sep 20, 2010 11:58pm

    fanderson

    899 posts

    This is an odd one that I have never seen before. I built a site that displays two lists of links: blogroll and quality sites. See home page right column.

    They both draw from the same simple entry from that has a title and a blog_url field, but the weblogs are unique.

    The code for the two is as follows:

    {exp:weblog:entries weblog="blogroll" show_future_entries="yes" show_expired="yes" dynamic="off" }
      <a href="http://{blog_url}">{title}</a>
    {/exp:weblog:entries}
    {exp:weblog:entries weblog="quality_sites" show_future_entries="yes" show_expired="yes" dynamic="off" }
        <a href="http://{blog_url}">{title}</a>
    {/exp:weblog:entries}

    The only problem is that regardless of what url is entered in the blog_url field, the url for the site: http://www.moneyforregularpeople.com is the link in all entries.

    I would appreciate some help here.

    Thanks.

  • #2 / Sep 21, 2010 3:33pm

    Ingmar

    29245 posts

    Have you tried a different field name? There could be a conflict with an existing variable. Also, what version and build are you using? Any extensions?

  • #3 / Sep 21, 2010 4:07pm

    fanderson

    899 posts

    Hi Ingmar, I added another field and changed the name on it to something more obscure and that resolved it. Thanks for the help.

  • #4 / Sep 21, 2010 5:46pm

    Ingmar

    29245 posts

    Very glad to hear it. Please post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases