macro question
Balzer, Ned
Manila-Newbies@userland.com
Tue, 14 May 2002 17:27:12 -0700
Hello,
I am wondering if someone can give me a clue about the very first macro I'm
trying to write.
Purpose: on a discussion group message display, I'd like to add a mailto:
link at the bottom, allowing the reader to post a reply to this message to a
listserver. I'm trying to harvest the subject: of the post. So the mailto
link would look something like this:
<a href="mailto://listserver@mydomain.com?subject:+Re:+subject">Post
response to listserver</a>
I tried to create a macro named responseMailto -- ended up creating it under
manilawebsites.mysite -- and added a call to it
{responseMailto}
at the bottom of my manila site prefs>discussiongroup>single message
appearance template. At first apparently manila didn't regard the macro as
legal, until I added it to config.mainresponder.prefs.legalmacros. Now it
appears but doesn't evaluate. The link resolves to
http://mysite.mydomain.com/discuss/{responseMailto}
What am I missing? I'm wondering if it's in the wrong place in the frontier
databases. I searched and searched but could not find reference to the
other two macros listed there: {responseList} and {responseForm} -- I'm
thinking if I could find them, then I could just put my script in the same
place and it might work.
I'm just starting out but I confess to much confusion about where to find
and put things in Frontier. What would be very helpful is a roadmap to the
various roots in frontier (frontier.root, manila.root, manilawebsites.root,
etc.) Is there a book out there somewhere? I've been reading webpages for
2 days now but can't seem to find the beginning of it all!!
Thanks in advance.
-- Ned Balzer, CGNET Services International
1170 Hamilton Ct.
Menlo Park, CA 94025 USA
Phone: 650-833-6012 Fax: 650-325-2313 IVDN: 605-6012
email: n.balzer@cgnet.com
www.cgnet.com