| Antville Macros |
|
... Previous page
Saturday, 11. January 2003
<% story.onlinelink %> and <% comment.onlinelink %>
tobi
14:29h
Use this macro to display a link to toggle the story's online state:
<% story.onlinelink mode="toggle" %> With the image parameter you also can display an appropriate image as eye-catcher for the action: <% story.onlinelink mode="toggle" image="onlinebutton" %> ... Link (0 comments) ... Comment
<% story.comments %>
tobi
13:27h
This macro lists all of the top-level comments once added to a story. There are no options available for this macro. The layout of each comment is determined by the corresponding comment skin.
... Link (0 comments) ... Comment Saturday, 4. January 2003
<% story.comments %> and
<% comment.comments %>
robert
18:46h
Depending on where you use this macro (by default it is used in the full story skin and in the toplevel comment skin) it will loop over the toplevel comments of a story or the replies to a comment.
For displaying the comments this macro will use two different skins: toplevel and reply. You can find them in the skin editor of your weblog in the section "comments". ... Link (0 comments) ... Comment Tuesday, 17. December 2002
<% linkedpath %>
robert
23:17h
this macro creates a "breadcrumb-navigation" based on the requested page (if you are curious about what this might look like click on topics and have a look at the top of the page).
to define a different separator between the items (the default is >) use the attribute "separator" like this: <% linkedpath separator=" | " %> ... Link (2 comments) ... Comment Monday, 2. September 2002
<% story.topic %>
robert
21:57h
This macro can be used to display the topic a story belongs to: either as text, link or image. As a minimum you need the following:
<% story.topic %> This will display the name of the topic as link to the main page of the topic. <% story.topic as="text" %> will display the name of the topic just as plain text. Now using the attribute as="image" is a bit more complex: <% story.topic as="image" %> What will happen now? Assuming you have a story that belongs to the topic "topicmaps", Antville will search in the imagepool of your weblog for an image with the name "topic_topicmaps". The prefix "topic_" is added by default, but you can customize this too: <% story.topic as="image" imgprefix="icon_" %> Antville will then search for an image named "icon_topicmaps". If it finds one it will display it as link to the main page of the topic. ... Link (3 comments) ... Comment ... Next page
|
Online for 2965 days
Last modified: 2009.04.09, 15:00 Status
Youre not logged in ... Login
Menu
Search
Calendar
Recent updates
with a little javascript like:
<div><% story.content part="lead" fallback="text" %>
<script type="text/javascript"><!--
var lead =...
by dotnet (2009.04.09, 15:00)
There's another parameter which enables
to specify the blog whose imagelist you would like...
by giardino (2009.01.04, 11:00)
Is it possible to create
a link to the root-page of the system or...
by phoque (2008.06.07, 12:34)
Thanks a lot for the
quick response, kinomu.
The good side: Now I have...
by molosovsky (2008.01.16, 11:59)
There is no technical solution
to this problem, but try to change (or insert)...
by kinomu (2008.01.16, 10:22)
Sorry if I’m too stupid
to wrap my brain around this problem:
Is there...
by molosovsky (2008.01.16, 09:48)
Optional viewlink I am using
the lead for long stories. And wish to give the...
by byggvirofbarley (2007.07.12, 22:49)
Macros to use smileys in
comments? Hi!
I added some smileys to my image gallery...
by stuepfnick (2007.05.20, 14:30)
Was suchen Sie denn
genau?
by ichichich (2007.05.15, 16:06)
Ähm, ich glaube das Fixen
muss nicht mehr sein Hallo,
äh 2004 der letzte Inhalt....
by stsboard (2007.03.09, 21:48)
I found a solution
and modified it slightly for usage with Antville.
Add to...
by ichichich (2007.01.18, 13:07)
story.age would be great to
have a macro that does the same for stories. I'd...
by imp13 (2007.01.17, 22:40)
is it somehow possible to
change the word "comments" itsself, that automatically results when...
by yetused (2006.11.11, 09:55)
Thanks a lot! Just
what I was looking for.
by mwegsche (2006.11.10, 11:24)
That is possible: http://macros.antville.org/stories/44385/
(Beware: An invalid format of the timestamp may corrupt the database...
by ichichich (2006.11.10, 10:38)
Edit date OK, thanks for
the feedback. This was just the answer I had already...
by mwegsche (2006.11.10, 08:47)
This is one of
the top requested features...
by ichichich (2006.11.09, 17:02)
limit stories I want to
limit the number of stories on the homepage of my...
by mwegsche (2006.11.09, 16:58)
To get the login form/skin
you must add to query: skins/edit?key=MemberMgr.login
by click (2006.07.29, 01:33)
Need Help! I need to
modify the "Login" form/skin that a visitor to my blog...
by aqss (2006.06.18, 22:15)
that more interesting part of
the question didn't get answered ;)
how can we...
by schimmerschnecke (2006.01.31, 01:02)
Thanks many thanks, click
Naino
(english version)
by aconti (2006.01.30, 22:09)
The attribute "show" can be
used to distinguish further between stories and comments:
<%...
by blue sky (2006.01.13, 12:03)
how to always allow
discussions without using the checkbox?
by nastja (2005.09.23, 10:23)
check this, mate http://help.antville.org/stories/1197657/
by kris (2005.08.23, 11:05)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||