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.

Pages Question

April 28, 2009 1:58pm

Subscribe [2]
  • #1 / Apr 28, 2009 1:58pm

    sciexpression

    19 posts

    I am finding more and more reasons to move over to Wordpress (for some sites) You see WP has that very intuitive and straight forward <Add Page> Functionality.

    I have tried to replicate this by using the pages module which does a reasonable job - obviously with a bit of fiddling around (A pain for my clients it seem).

    I want to know can i automatically generate a list of the pages i have created? Say for example as a side bar that list relevant pages?

    Same function as WP really.

    Also Anyone have some good articles re pages?

  • #2 / Apr 28, 2009 2:29pm

    Jason Morehead

    456 posts

    Have you tried something like this?

    <ul>
    {exp:weblog:entries weblog="foo" orderby="title" sort="asc" show_pages="only"}
    <li><a href="http://{page_url}">{title}</a></li>
    {/exp:weblog:entries}
    </ul>

    This should create an alphabetical list of the pages on your site. Just replace “foo” with the name(s) of the weblog(s) used to store the pages. And make sure that you include the “show_pages” parameter and set it to “only”. This will show only those entries that have pages assigned to them via the “Pages” module.

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

ExpressionEngine News!

#eecms, #events, #releases