Antville Help
Montag, 19. Juli 2004

link in macro or macro in link?

Hello, couldn't solve the following: I try to read in via two macros a phrase (for instance, "Der Spiegel", without quotes) and the url "www.spiegel.de":

<% story.content part="Media" as="editor" size="24" %> <% story.content part="URL" as="editor" size="48" %>

Now, the output of the story should create a link from the phrase to the url (eg. Der Spiegel. I figured out 3 possibilities (and checked many alternatives), none works:

<a href="<% story.content part="URL" %>"> <% story.content part="Media" %> </a> or <% link to="<% story.content part="URL" %>" text="<% story.content part="Media" %>" %> or <% story.content part="Media" as="link" linkto="<% story.content part="URL" %>" %>

Did anybody come across that task?

Sie sind nicht angemeldet