Help - Search - Members - Calendar
Full Version: Extened Entry Dilemma
Movable Type Community Forum > Additional Resources > Tips and Tricks
steegie
Hi,

From time to time I like to use the Extended Entry option for very long posts. What I don't like is that text for the automated link that is generated for the full article seems to have to be generic because it will come up whenever an extended entry is detected.

Is there a way I can personalize that automatically generated link to be specific to that post?

My first thought was to pull the automated link from the template, and put in a link by hand at the the bottom of the Part A of the Entry -- linking to the page with the full entry, but I realized the problem there is that when you click on over to the full entry -- you'd STILL SEE that link to the full page. Movable type conveniently strips out the link to the full post on the page where the full post lives.

So the question is -- is there anyway I can create a link to the complete post that is both changable and also stripped out on the page containing the full post?

Thanks!

-Steve
ndns
Put what you want displayed as a link to your extended entry in the MTEntryIfExtended container.

For example, the following code is in the Main Index template for this purpose by default:
CODE
    <MTEntryIfExtended>
    <span class="extended"><a href="<$MTEntryPermalink$>#more">Continue reading "<$MTEntryTitle$>"</a></span><br />
    </MTEntryIfExtended>
girlie
Combining the Key Values plugin with an unused field such as Keywords would probably be a good way to do what you want.
Becky
If you're not using the keywords field, you don't even have to use the plugin; just type what text you want to display in the keywords field, and use [MTEntryKeywords] in the index template in place of the default text.

I've used this method quite successfully on my books blog -- basically using the keywords field as an extra variable for each post (in my case, the book's ISBN, which then returns info from Amazon).
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.