Antville Macros |
<% poll.editlink %>
tobi
17:07h
This macro renders a link to the poll's edit form. The optional "text" parameter can be used to override the default link text: <% poll.editlink text="edit this poll" %> ... Link (0 comments) ... Comment
<% poll.viewlink %>
tobi
17:06h
This macro renders a link to the full view of a poll. If the poll is closed this will be the display of the final votings and the graph for each choice. Otherwise, the poll form is displayed with a input element for each choice. The optional "text" parameter can be used to override the default link text: <% poll.viewlink text="view this poll" %> ... Link (0 comments) ... Comment
<% poll.closelink %>
tobi
16:53h
This macro renders a link to close a poll, ie. to disable any further votings. The optional "text" parameter can be used to override the default link text: <% poll.closelink text="close this poll" %> ... Link (0 comments) ... Comment
<% poll.choices %>
tobi
16:50h
All available choices of a poll are displayed by this macro. With the optional "as" parameter set to "editor" it is also used in the poll editor to display a text input field for each choice. ... Link (0 comments) ... Comment
<% poll %>
tobi
19:00h
thanks to hannes, we found a quick way to enable a macro that displays a poll inside a story. below is a first test created by the macro of the form <% poll id="poll_number" %>. please be aware that this macro still can be subject to changes. currently, if you are logged in you should be able to vote, otherwise you only will see a link to the poll. it is also possible to display the link to the poll, generally, using the same macro but additionally the paramter as="link". finally, use as="results" to show the poll results only. latter are also shown if the macro id refers to an already closed poll. as you might have noticed, this is actually a poll from another weblog. this is possible by using a slash notation in the id parameter like id="weblog_alias/poll_number", in this case id="project/2". ... Link (0 comments) ... Comment |
Online for 8328 days
Last modified: 2/20/20, 5:31 AM Status
Youre not logged in ... Login
Menu
Search
Calendar
Recent updates
Grundlegendes: Wie Macros entstehen Im
Zuge der Erneuerung der hier befindlichen Dokumentation soll dargestellt werden,...
by libralop (1/18/17, 2:21 PM)
If the link on the
starting page leads you to http://foo.blogger.de/topics/topic1/ and you want...
by kinomu (1/6/11, 3:43 AM)
how to make topicchooser redundant?
hello, i am new to antville and have a problem...
by cafereiche (1/5/11, 8:26 PM)
+ position and line distance
" itemsuffix="" %> how does ist function? every time when...
by miamicat (7/12/10, 5:23 PM)
with a little javascript like:
<div><% story.content part="lead" fallback="text" %> <script type="text/javascript"><!-- var lead =...
by dotnet (4/9/09, 3:00 PM)
There's another parameter which enables
to specify the blog whose imagelist you would like...
by giardino (1/4/09, 11:00 AM)
Thanks a lot for the
quick response, kinomu. The good side: Now I have...
by molosovsky (1/16/08, 11:59 AM)
There is no technical solution
to this problem, but try to change (or insert)...
by kinomu (1/16/08, 10:22 AM)
Sorry if I’m too stupid
to wrap my brain around this problem: Is there...
by molosovsky (1/16/08, 9:48 AM)
Optional viewlink I am using
the lead for long stories. And wish to give the...
by byggvirofbarley (7/12/07, 10:49 PM)
Macros to use smileys in
comments? Hi! I added some smileys to my image gallery...
by stuepfnick (5/20/07, 2:30 PM)
Ähm, ich glaube das Fixen
muss nicht mehr sein Hallo, äh 2004 der letzte Inhalt....
by stsboard (3/9/07, 9:48 PM)
I found a solution
and modified it slightly for usage with Antville. Add to...
by ichichich (1/18/07, 1:07 PM)
story.age would be great to
have a macro that does the same for stories. I'd...
by imp13 (1/17/07, 10:40 PM)
is it somehow possible to
change the word "comments" itsself, that automatically results when...
by yetused (11/11/06, 9:55 AM)
That is possible: http://macros.antville.org/stories/44385/
(Beware: An invalid format of the timestamp may corrupt the database...
by ichichich (11/10/06, 10:38 AM)
Edit date OK, thanks for
the feedback. This was just the answer I had already...
by mwegsche (11/10/06, 8:47 AM)
limit stories I want to
limit the number of stories on the homepage of my...
by mwegsche (11/9/06, 4:58 PM)
To get the login form/skin
you must add to query: skins/edit?key=MemberMgr.login
by click (7/29/06, 1:33 AM)
Need Help! I need to
modify the "Login" form/skin that a visitor to my blog...
by aqss (6/18/06, 10:15 PM)
that more interesting part of
the question didn't get answered ;) how can we...
by schimmerschnecke (1/31/06, 1:02 AM)
|