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.

dynamic display of Pages URI

June 25, 2007 8:14pm

Subscribe [2]
  • #1 / Jun 25, 2007 8:14pm

    Clearpeak

    413 posts

    Is there a way to dynamically display Pages URIs? For my navigation I would usually use something like this:

    {exp:weblog:entries weblog="{segment_1}” status=“not test|closed” dynamic=“off” style=“linear” cache=“no”  disable=“categories|member_data|pagination|trackbacks|custom_fields” }


    <li>
    {title}
    </li>

    {/exp:weblog:entries}

    If I was using pages how would I display these entry links using the pages uri instead of the url_title?  Is this possible or would I need to use both?

    Thanks

  • #2 / Jun 25, 2007 9:26pm

    Sue Crocker

    26054 posts

    Hi, fodney, using the new Pages module is very new to all of us. I have a single entry in there right now. If you can hold on for a few minutes, I’ll go make more and see what I can find out.

    Great question, though.

  • #3 / Jun 25, 2007 9:46pm

    Sue Crocker

    26054 posts

    The path to the Pages value is mixed in with the exp_sites table, at least on my install.

    There really doesn’t look to be a good way of doing this, other than adding a custom field to the weblog record. Which would need to be some sort of a extension.

  • #4 / Jun 25, 2007 10:10pm

    Sue Crocker

    26054 posts

    I did find something that you could use inside an exp:weblog:entries tag:

    {if page_url != ''}
    View this page
    {/if}

    If you use a unique weblog for static entries, you can use this to display a list of all Pages entries.

    Does that help a bit more?

  • #5 / Jun 26, 2007 6:32am

    Sue Crocker

    26054 posts

    Parameter:// Show Pages

    Thanks to Paul for helping me find this documentation link.

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

ExpressionEngine News!

#eecms, #events, #releases