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.

Weird Results with the exp:weblog tag

April 01, 2009 3:36pm

Subscribe [2]
  • #1 / Apr 01, 2009 3:36pm

    offsprg01

    78 posts

    ok so here’s my issue, but first the code.

    <?xml version="1.0"?>
    {exp:weblog:entries weblog="rep_info"}
        <contacts>
            <dist>
                <distName>{name}</distName>
                <textBox><![CDATA[{contactInfo}]]></textBox>
                <email><![CDATA[<a href="mailto:{repEmail}">{repEmail}</a>]]></email>
            </dist>
        </contacts>
    {/exp:weblog:entries}

    for some reason this returns all entries in the data base. no matter what the url.
    so index.php?/pages/reps_xml/tx returns every entry in the data base not just the tx entry. not sure why

    [Mod Edit: Moved to the Technical Support forum]

  • #2 / Apr 01, 2009 3:40pm

    Ingmar

    29245 posts

    Make sure the url title does indeed match; perhaps try with an entry_id for debugging purposes. What version and build of EE are you on?

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

ExpressionEngine News!

#eecms, #events, #releases