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.

{page_uri} and {page_url} not working after upgrade to 1.6.9

May 10, 2010 7:12pm

Subscribe [4]
  • #1 / May 10, 2010 7:12pm

    Michael Swanson

    32 posts

    Hello,

    I just upgraded to 1.6.9 and for some reason the {page_uri} and {page_url} tags are broken.  The pages that use the pages module render but the I cannot get these 2 tags to display anything.  Here is an example of what I am doing:

    {exp:weblog:entries weblog="subpages" disable="categories|category_fields|member_data|pagination|trackbacks" limit="1"}
    
    {embed="site_includes/_header"
      meta_id = "{entry_id}"
      page_title = "{title}"
    }
          <div id="main_content" class="prefix_1 grid_13 suffix_1 grid_first equal_height">
            <div class="main_text">
              <span>{page_uri}</span>
              {subpages_text}
            </div>
          </div>
          {embed="supages/_subnav"}  
        </div> <!-- close content -->
        <div class='clear'></div>
    
    {/exp:weblog:entries}
    
    {embed="site_includes/_footer"}

    The span in the code is there just to see if the page_uri tag renders anything.  Like I said the page renders just fine but I am using the page_uri in the subnav.

    Any thoughts?

    Thanks

    Michael

  • #2 / May 11, 2010 1:58am

    John Henry Donovan

    12339 posts

    Michael,

    What build of EE are you on? You can find this in the footer of your CP.

    I would start by reducing your template to the bare minimum.

    {exp:weblog:entries weblog="subpages" limit="1"}
    
    <h1>{title}</h1>
    <ul>
    <li>{page_uri}</li>
    <li>{page_url}</li>
    </ul>
    
    {/exp:weblog:entries}
  • #3 / May 11, 2010 11:15am

    Michael Swanson

    32 posts

    Thanks John,

    I am on build 20100415 I used the template you suggest and I am getting the title but neither of the other two tags.

  • #4 / May 11, 2010 11:29am

    Michael Swanson

    32 posts

    I just upgraded to build 20100430 and that seems to have fixed the issue.

  • #5 / May 11, 2010 11:41am

    Sue Crocker

    26054 posts

    Glad you were able to figure out what the problem was. Don’t hesitate to post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases