Hi all,
I’m setting up RT articles. Novices need to be able to create and edit
articles. I’d like to use the Ckeditor to empower them.
How do I create new Custom Field Types? Please point me in the right
direction.
Thanks,
Simon
Hi all,
I’m setting up RT articles. Novices need to be able to create and edit
articles. I’d like to use the Ckeditor to empower them.
How do I create new Custom Field Types? Please point me in the right
direction.
Thanks,
Simon
Hi,
You can use Custom Fields with the type “Wiki text”, from there you can use
the instructions on this wiki page:
http://requesttracker.wikia.com/wiki/RTFM
This will allow you to use wiki markup in your articles.
The downside of this, from what I’ve noticed, is that the content of wiki
text CF’s comes up unformatted (not even line breaks) when you add them to a
comment or reply.
So in my case, I’ve tested the above but rolled back to normal plain text
CF’s since these are fault proof.
If there’s a way to do this in a different way then I’m also interested
Though the above is the only thing to my knowledge that comes close…
– Bart2011/10/19 Simon Walter simon@gikaku.com
Hi all,
I’m setting up RT articles. Novices need to be able to create and edit
articles. I’d like to use the Ckeditor to empower them.How do I create new Custom Field Types? Please point me in the right
direction.Thanks,
Simon
RT Training Sessions (http://bestpractical.com/services/training.html)
- Washington DC, USA October 31 & November 1, 2011
- Barcelona, Spain November 28 & 29, 2011
Hi,
You can use Custom Fields with the type “Wiki text”, from there you can use
the instructions on this wiki page:http://requesttracker.wikia.com/wiki/RTFM
This will allow you to use wiki markup in your articles.
The downside of this, from what I’ve noticed, is that the content of wiki
text CF’s comes up unformatted (not even line breaks) when you add them to
a comment or reply.So in my case, I’ve tested the above but rolled back to normal plain text
CF’s since these are fault proof.If there’s a way to do this in a different way then I’m also interested
Though the above is the only thing to my knowledge that comes close…
What I’d like to do is create a new Custom Field Type that is the same as
‘text’ but get CKeditor loaded AND outputs HTML when it’s viewed or inserted
into emails. I’ll have to study how RT sends out HTML/plain emails. It’s
courtesy to send both. Do you know if this is currently the case?
If RT converts the HTML email to plain text before sending, it would make
inserting the HTML article pretty straight forward I presume.
It’s difficult to imagine why with all the updates, this isn’t already done.
You can create an HTML reply, but not an HTML article? This should be seamless
and easy to use for support staff.
Perhaps I should have posted this to the dev list.
Simon
Hello everybody,
I need to create Custom Fields that support multiple values, with correlated data, for instance: multiple traveler’s name, bank and account.
If I had only one traveler, it would be ok. I would create one CF for each field. But I need more than one traveler/bank/account on the same ticket. And the data is correlated, that means, i can’t have 3 CF’s supporting multiple values each. This way I wouldn’t know what bank and account belong to each traveler.
Resuming, i need: CF.Traveler: [ Name:, Bank:, Account:_________ ]
I thought 3 ways for doing this. I would appreciate if you point me the easier one.
Create external form and input data by email, through “Command by email” extension. Concatenate the fields traveler/bank/account and input on a multiple valued CF on RT (like: John Doe - Bank: lehman brothers - Account: 123456-5);
Create a javascript helper (like the one used with the date fields) and instruct user to input the correct data on each field. Than, concatenate the fields traveler/bank/account and put them on one multiple valued CF (just like the example showed above).
Create a new type: CustomFieldTraveler, that support the sub-fields mencioned. (I don’t know if this is possible!)
Thanks in advance.
Daniel Silveira
Hi,
Either solution might work, I didn’t tried any. However, at the end
you will have to store all data in one custom field. You can look at
IP field implementation in RT4 that uses Content and LargeContent
columns. This may help you make your field more searches friendly, for
example you store data for search in Content and additional data in
LargeContent.On Thu, Oct 20, 2011 at 7:53 PM, Daniel Silveira DSilveira@prmg.mpf.gov.br wrote:
Hello everybody,
I need to create Custom Fields that support multiple values, with correlated
data, for instance: multiple traveler’s name, bank and account.
If I had only one traveler, it would be ok. I would create one CF for each
field. But I need more than one traveler/bank/account on the same ticket.
And the data is correlated, that means, i can’t have 3 CF’s supporting
multiple values each. This way I wouldn’t know what bank and account belong
to each traveler.Resuming, i need: CF.Traveler: [ Name:, Bank:,
Account:_________ ]I thought 3 ways for doing this. I would appreciate if you point me the
easier one.
Create external form and input data by email, through “Command by email”
extension. Concatenate the fields traveler/bank/account and input on a
multiple valued CF on RT (like: John Doe - Bank: lehman brothers - Account:
123456-5);Create a javascript helper (like the one used with the date fields) and
instruct user to input the correct data on each field. Than, concatenate the
fields traveler/bank/account and put them on one multiple valued CF (just
like the example showed above).Create a new type: CustomFieldTraveler, that support the sub-fields
mencioned. (I don’t know if this is possible!)Thanks in advance.
Daniel SilveiraRT Training Sessions (http://bestpractical.com/services/training.html)
- Washington DC, USA — October 31 & November 1, 2011
- Barcelona, Spain — November 28 & 29, 2011
Best regards, Ruslan.
Daniel,
There is another option, but it would be complicated and need some
complicated additional code to work; build an intelligent/mnemonic key for
the CF Value. This is JUST an example, but lets say you built code that took
the travelers initials (or first x letters of their first name) and appended
a mnemonic key for the banks (a finite list from a built-in array) used and
then the account number, you could insert that result as the CF value. The
problem I have with this is pretty obvious, any intelligent design for
values and codes has to be de-coded or decrypted in order to make any sense
for someone looking at or trying to use those values. That’s a lot of extra
code for wherever that CF is used, but it IS another option. Just trying to
“brain-stem” storm the issue.
Hope this helps.
Kenn
LBNLOn Thu, Oct 20, 2011 at 2:04 PM, Ruslan Zakirov ruz@bestpractical.comwrote:
Hi,
Either solution might work, I didn’t tried any. However, at the end
you will have to store all data in one custom field. You can look at
IP field implementation in RT4 that uses Content and LargeContent
columns. This may help you make your field more searches friendly, for
example you store data for search in Content and additional data in
LargeContent.On Thu, Oct 20, 2011 at 7:53 PM, Daniel Silveira DSilveira@prmg.mpf.gov.br wrote:
Hello everybody,
I need to create Custom Fields that support multiple values, with
correlated
data, for instance: multiple traveler’s name, bank and account.
If I had only one traveler, it would be ok. I would create one CF for
each
field. But I need more than one traveler/bank/account on the same ticket.
And the data is correlated, that means, i can’t have 3 CF’s supporting
multiple values each. This way I wouldn’t know what bank and account
belong
to each traveler.Resuming, i need: CF.Traveler: [ Name:, Bank:,
Account:_________ ]I thought 3 ways for doing this. I would appreciate if you point me the
easier one.
Create external form and input data by email, through “Command by
email”
extension. Concatenate the fields traveler/bank/account and input on a
multiple valued CF on RT (like: John Doe - Bank: lehman brothers -
Account:
123456-5);Create a javascript helper (like the one used with the date fields)
and
instruct user to input the correct data on each field. Than, concatenate
the
fields traveler/bank/account and put them on one multiple valued CF (just
like the example showed above).Create a new type: CustomFieldTraveler, that support the sub-fields
mencioned. (I don’t know if this is possible!)Thanks in advance.
Daniel SilveiraRT Training Sessions (http://bestpractical.com/services/training.html)
- Washington DC, USA — October 31 & November 1, 2011
- Barcelona, Spain — November 28 & 29, 2011
–
Best regards, Ruslan.RT Training Sessions (http://bestpractical.com/services/training.html)
- Washington DC, USA October 31 & November 1, 2011
- Barcelona, Spain November 28 & 29, 2011
It’s difficult to imagine why with all the updates, this isn’t already done.
You can create an HTML reply, but not an HTML article? This should be seamless
and easy to use for support staff.
The difficulty largely comes from integration with the rich text
editor and removing some of the old HTML support from Articles that
interferes.
Patches are welcome.
-kevin