[rt-users] File attachments in RTFM

2009-12-29 Thread Andrew Ruthven
Hey,

I've created an RTFM article, and attached a file to it.  But when I
insert the article into a RT ticket I get the RTFM article, and
"Attachment: ", but the attachment isn't attached to
the ticket.

Is it possible to have it attach the file to the ticket as part of
inserting the ticket?

Cheers!

-- 
Andrew Ruthven
Wellington, New Zealand
At home: and...@etc.gen.nz |  linux.conf.au 2010 
   | Follow the signs. Visit Wellington!
   |  http://www.lca2010.org.nz


signature.asc
Description: This is a digitally signed message part
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Child Ticket Creation with PDF Attachment

2009-12-29 Thread Jerrad Pierce
>Please could you give me any example to get the url of parent ticket 
>>attachment?
It's not complicated, but not trivial. See and adapt
Ticket/Elements/ShowAttachments

> http://detach.optimism.cc/
Oooh! Thanks for that. Just what this nmh user has been wanting.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Child Ticket Creation with PDF Attachment

2009-12-29 Thread Ryan Hardester
I have been looking at trying to figure out how to use this to store 
attachments on the filesystem and replace them with http links into the 
tickets, but haven't had much time. It may be an interesting option.

http://detach.optimism.cc/

--Ryan


-Original Message-
From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Tony John - ERS, 
HCL Tech
Sent: Monday, December 28, 2009 11:50 PM
To: Jerrad Pierce
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Child Ticket Creation with PDF Attachment

Please could you give me any example to get the url of parent ticket attachment?

Thanks,
Tony

-Original Message-
From: Jerrad Pierce [mailto:jpie...@cambridgeenergyalliance.org] 
Sent: Tuesday, December 29, 2009 1:15 PM
To: Tony John - ERS, HCL Tech
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Child Ticket Creation with PDF Attachment

> Im trying to create a Child Ticket with a pdf attachment .The pdf which
> needs to be attached to the Child Ticket should be same as the pdf attached
> in the Parent Ticket.The Template which I use fails to attach the Parent
> ticket pdf attachment to the Child Ticket. The Template which I tried is
> given below:
Why would you want to clog your database with duplicate content like that?
You could simply given the URL of the parent's attachment in the child
ticket somewhere (body or a custom field)


DISCLAIMER:
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

---
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] brackets in RTFM

2009-12-29 Thread Kevin Falcone
On Tue, Dec 29, 2009 at 12:07:48PM -0800, David Griffith wrote:
> 
> I've tried all the wiki-ish ways of escaping brackets or generating them 
> some other way, but I can't get them to stay put.  I can simply do  [ 
>  ] and this will produce a pair of brackets, but when I put something 
> inside, the brackets vanish.  Is anyone working on putting in RTFM a more 
> complete and less broken implementation of wiki markup?

This isn't RTFM, this is Text::WikiFormat which RT uses for Wikitext
custom fields. 

If you want literal text in your RTFM articles, don't use the wikitext
CF.

Documentation on how this wiki syntax works is here:
http://search.cpan.org/dist/Text-WikiFormat/

The wiki treats [foo] as special because 
share/html/Elements/ShowCustomFieldWikitext passes
extended => 1.  

You could override and remove that, you could add the snippet of code
from the docs which makes [[ ]] extended link syntax or you could pick
your favorite wiki formatter and slot it in as a custom CF type as an
extension.

-kevin


pgpMUjIDq24aL.pgp
Description: PGP signature
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] brackets in RTFM

2009-12-29 Thread David Griffith

I've tried all the wiki-ish ways of escaping brackets or generating them 
some other way, but I can't get them to stay put.  I can simply do  [ 
 ] and this will produce a pair of brackets, but when I put something 
inside, the brackets vanish.  Is anyone working on putting in RTFM a more 
complete and less broken implementation of wiki markup?

-- 
David Griffith
dgri...@cs.csubak.edu

A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com