mt.body.content ~ skin editor.stories.*


Der komplette Contentteil von mt

<MTEntries>
<$MTEntryTrackbackData$>

    <MTDateHeader>
    <h2 class="date">
    <$MTEntryDate format="%x"$>
    </h2>
    </MTDateHeader>

    <div class="blogbody">
    
    <a name="<$MTEntryID pad="1"$>"></a>
    <h3 class="title"><$MTEntryTitle$></h3>
    
    <$MTEntryBody$>
    
    <MTEntryIfExtended>
    <span class="extended"><a href="<$MTEntryPermalink$>#more">
    Continue reading "<$MTEntryTitle$>"</a></span><br />
    </MTEntryIfExtended>
    
    <div class="posted">Posted by <$MTEntryAuthor$> at <a href="
    <$MTEntryPermalink$>"><$MTEntryDate format="%X"$></a>
    <MTEntryIfAllowComments>
    | <a href="<$MTCGIPath$><$MTCommentScript$>?entry_id=
    <$MTEntryID$>" onclick="OpenComments(this.href);
    return false">
    Comments (<$MTEntryCommentCount$>)</a>
    </MTEntryIfAllowComments>
    <MTEntryIfAllowPings>
    | <a href="<$MTCGIPath$><$MTTrackbackScript$>?__mode=view&
    entry_id=<$MTEntryID$>" onclick="OpenTrackback(this.href);
    return false">TrackBack (<$MTEntryTrackbackCount$>)</a>
    </MTEntryIfAllowPings>
    </div>
    
    </div>
    
</MTEntries>

die verwendeten Makros

<$MTEntryDate format="%x"$> ... <% story.createtime format="long" %>
<$MTEntryID pad="1"$>       ... <% story.createtime format="short" %>
<$MTEntryTitle$>            ... <% story.content part="title" %>
<$MTEntryBody$>             ... <% story.content part="text" %>
<$MTEntryPermalink$>        ... <% story.url %>
<$MTEntryAuthor$>           ... <% story.creator as="link" %> 
<$MTEntryCommentCount$>     ... <% story.commentcounter
                    prefix="(" suffix=")" anchor="comments" %>

Übersetzt schaut das so aus

<h2 class="date">
    <% story.createtime format="long" %>
</h2>

<div class="blogbody">  
    <a name="<% story.createtime format="short" %>"></a>
    <h3 class="title"><% story.content part="title" %></h3>
    <% story.content part="text" %>
    <div class="posted">
        Posted by <% story.creator as="link" %> at <%
        story.createtime format="short" %>
        | <% story.commentcounter  prefix="(" suffix=")"
        anchor="comments" %> <% story.editlink %>
    </div>
</div>
    

Skin Editor / Stories / aufgeteilt in kleine Portionen

- - - - - - - - - -display--

<h2 class="date">
    <% story.createtime format="long" %>
</h2>

<div class="blogbody">  
    <a name="<% story.createtime format="short" %>"></a>
    <h3 class="title"><% story.content part="title" %></h3>
    <% story.content part="text" %>
</div>

- - - - - - - - - -preview--

<% story.skin name="display" %>
<div class="blogbody">  
    <div class="posted">
        Posted by <% story.creator as="link" %> at
        <a href="<% story.url %>"><% story.createtime 
          format="short" %></a>
        | <% story.commentcounter  prefix="(" suffix=")"
        anchor="comments" %> | <% story.commentlink
        text="comment" %> <% story.editlink %>
    </div>
</div>


- - - - - - - - - -embed--

<div class="blogbody">  
    <a name="<% story.createtime format="short" %>"></a>
    <h3 class="title"><% story.content part="title" %></h3>
    <% story.content part="text" clipping=" ..." %>
    <% story.link text="[read more]" prefix=" "
    to="main" %><% story.editlink %>
</div>

- - - - - - - - - -full story--

<% story.skin name="display" %>
<div class="blogbody">  
    <div class="posted">
        Posted by <% story.creator as="link" %> at
        <a href="<% story.url %>"><% story.createtime 
          format="short" %></a>
        | <% story.commentlink text="comment" %>  
        <% story.editlink prefix="... " %>  
        <% story.onlinelink prefix="... " %>
    </div>
</div>

<a name="comments"></a>
<% story.comments %>

- - - - - - - - - -display on comment-page--

<% story.skin name="display" %>
<div class="blogbody">  
    <div class="posted">
        <% story.commentform %>
    </div>
</div>


    

 
Online for 8208 days
Last update: 09.05.08, 08:12
»Preparing for sodium amytal«
status
Youre not logged in ... Login
recent
mks @ 25k posts
    hohoo - looks like [mks] will see its 25.000th...
by KenoshaKid (11.12.07, 15:53)
'redirect' switch Say, after creating
a new story you want to redirect the user to...
by KenoshaKid (02.12.07, 12:54)

November 2024
So.Mo.Di.Mi.Do.Fr.Sa.
12
3456789
10111213141516
17181920212223
24252627282930
Dezember
menu
... home
... topics
... Home
... Tags


... antville home

RSS Feed

Made with Antville
powered by
Helma Object Publisher