Knowledge Base

How do I link to a ‘more’ page?

By default EE creates an “extended” text field for the default weblog during installation. Here is how to make a “More…” page for that field.

1. Add a New Template under the “weblog” template group, call it “more” (or whatever name you want), and base it off of weblog/index. In that new Template add {extended} after {body} in the {exp:weblog:entries} tag. This will show the Extended Text field.

2. In the weblog/index template. Add the following:

{if extended}
<p>
<
a href="{title_permalink=weblog/more}">MORE...</a>
</
p>
{/if}

NOTE: You can do this with any field, so you can create numerous fields and numerous sequential pages.

Last Updated on Feb 27, 2007 at 09:20   ( Permalink )
Category: Templates, Entries