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>


link   
 


mt.html ~ skin editor.basic layout.main page


Template - Layout

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"www.w3.org">

<html xmlns="www.w3.org" xml:lang="en" > <head> ... </head>

&lt;body>
    &lt;div id="banner">
        <a href="http://KenoshaKid.antville.org/stories/400958/">...</a>
    &lt;/div>

    &lt;div id="content">
        <a href="http://kenoshakid.antville.org/stories/401170/">...</a> 
    &lt;/div>
    &lt;div id="links">
        <a href="http://kenoshakid.antville.org/stories/401583">...</a>
    &lt;/div>
&lt;/body>

</html



link   
 


mt.body.banner ~ skin editor.basic layout.main page


<div id="banner">
<h1><a href="<$MTBlogURL$>" accesskey="1"><$MTBlogName$></a></h1>
<span class="description"><$MTBlogDescription$></span>
</div>

<$MTBlogURL$>           ...   <% Site.url %>
<$MTBlogName$>          ...   <% Site.title %>
<$MTBlogDescription$>   ...   <% Site.tagline %>

<div id="banner">
<h1><a href="<% site.url %>"><% site.title %></h1>
<span class="description"><% site.tagline %></span>
</div>


link   
 
 
Online for 8207 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