Vorige Seite
Samstag, 31. Mai 2003


mt.body.links ~ template struktur


links
    calendar
    search
    topics
    recently modified
    menu
        age
        lastupdate
        loginstatus
        navigation
    syndicate
    powered by


link   
 


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


der menue-teil (=rechte spalte im antville skin)

archives wurde durch topics ersetzt. das navigationsmenu (user,contributors,admin) steht jetzt unter links. die anpassung der einzelnen makros folgt im skin editor.

<div id="links">

<div align="center" class="calendar">
<% site.calendar %>
</div>

<div class="sidetitle">
Search
</div>
 
<div class="side">
<% site.searchbox %>
</div>

<div class="sidetitle">
Topics
</div>

<div class="side">
<ul>
    <% topiclist itemprefix="<li>" itemsuffix="</li>" %>
</ul>
</div>

<div class="sidetitle">
Recently modified
</div>

<div class="side">
<% site.history show="10" %> 
</div>

<div class="sidetitle">
Menu
</div>

<div class="side">
    <% site.age prefix="Online for " show="days"
    suffix=" days<br />" %><% site.lastupdate
    prefix="Last update: " format="short" %><br />
    <% site.loginstatus %><br />
    <% site.navigation %><br />
</div>

<div class="syndicate">
<a href="<% site.url %>rss10">Syndicate this site (XML)</a>
</div>

<div class="powered">
    Hosted by <a href="http://www.antville.org">antville</a><br />
    Powered by <a href="http://www.helma.org">helma</a><br />    
    Skin by <a href="http://www.movabletype.org">Movable Type</a>
    and <a href="http://KenoshaKid.antville.org">KenoshaKid</a>
    <br />   
</div>

</div>

<br clear="all" />


link   
 


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   
  Nächste Seite
 
Online for 8171 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)

Oktober 2024
So.Mo.Di.Mi.Do.Fr.Sa.
12345
6789101112
13141516171819
20212223242526
2728293031
Dezember
menu
... home
... topics
... Home
... Tags


... antville home

RSS Feed

Made with Antville
powered by
Helma Object Publisher