Re: [rt-users] no content editing for articles?

2011-10-17 Thread Joachim Thuau
On 10/14/11 6:12 PM, Kevin Falcone falc...@bestpractical.com wrote:

On Sat, Oct 15, 2011 at 12:21:41AM +, Joachim Thuau wrote:
Hello List,
We have setup RT4.0.2 on a debian host from source, against Pg 8.0.4,
with
apache2/mod_perl2 over SSL with kerberos auth in apache.
RTFM seems to be included out of the box with the setup. but the content
section, when trying to modify an article, doesn't have any UI elements
to
edit the content.
Is there some javascript that should be taking care of updating the form
to have the rich text UI?
There are references to javascript -- /NoAuth/RichText/ckeditor.js --
which doesn't seem to exist on the filesystem, but my access log shows
that it's getting accessed properly -- GET /NoAuth/RichText/ckeditor.js
HTTP/1.1 200 -- in my ssl_access.
I haven't seen anything specific in the /docs or the RT_Config.pm that
references that. There doesn't seem to be anything related to that in the
RT logs (they mostly have stuff about my ldapimport finding a bunch of
empty groups).

You missed docs/customizing/articles_introduction.pod

It covers exactly the case you're discussing




I have read that last week, and looked at it again this morning.

I have successfully created an article last week. But I can't update
content. Shouldn't there be some sort of textfield for me to put the
article content into?
(that was my problem).

I do have a class (setup docs) and an article (setup machine). I can add
links (ticket,etc), assign it to some topics, edit name, summary and
change the class, but not content.

Look again at the HTML code below. The content part of the form is
missing something...

Thanks
Jok

-- 
| Joachim Thuau | Linux Systems Administrator / SpaceX |
| Cell: 310-890-7937 | Office: 310-363-6153 |




-kevin

 I expect that it's missing a text area that would be replaced by jQuery
 once the page is loaded.
 
 The chunk of the page that has that part looks like this (see below).
Note
 that the Content part is pretty short...
 
 
 ===8---
 form method=post action=Edit.html name=EditArticle
id=EditArticle
 enctype=multipart/form-data
 input type=hidden name=next value= /
 input type=hidden name=id value=new /
 table width=100%
 tr
 tdh2Basics/h2/td
 td/td
 /tr
 tr
 td class=labelName/td
 tdinput name=Name value= size=50 //td
 /tr
 tr
 td class=labelSummary/td
 tdinput name=Summary value= size=50 //td
 /tr
 tr
 td class=labelClass/td
 td
 Setup Documentation
 input type=hidden name=Class value=1 /
 /td
 /tr
 
 
 tr
 tdh2Content/h2/td
 td/td
 /tr
 
 
 tr
 tdh2Links/h2/td
 td/td
 /tr
 tr
 td class=label/td
 td class=valueiEnter articles, tickets, or other URLs related to
 this article.
 Type ba:/b before article numbers and bt:/b before ticket
numbers.
 Separate multiple entries with spaces.
 /i
 /td
 /tr
 tr
 td class=labelRefers to:/td
 tdinput name=new-RefersTo value= /br /
 ul
 /ul
 /td
 /tr
 tr
 td class=labelReferred to by:/td
 tdinput name=RefersTo-new value= /
 br /
 ul
 /ul
 /td
 /tr
 
 tr
 tdh2Topics/h2/td
 td/td
 /tr
 tr
 td class=labelTopics/td
 td
 input type=hidden name=EditTopics value=1 /
 select multiple size=10 name=Topics
 /select
 
 /td
 /tr
 /table
 div class=submit
 
   div class=extra-buttons
   /div
   div class=buttons
 
   span class=caption/span
   input type=submit   value=Create class=button /
 
 
 
   /div
   div class=submit-clear/div
 /div
 
 
 /form
 
 
 
 ---8===
 
 Thanks,
 Jok
 
 -- 
 | Joachim Thuau | Linux Systems Administrator / SpaceX |
 | Cell: 310-890-7937 | Office: 310-363-6153 |
 
 
 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 *  San Francisco, CA, USA  October 18  19, 2011
 *  Washington DC, USA  October 31  November 1, 2011
 *  Barcelona, Spain  November 28  29, 2011

RT Training Sessions (http://bestpractical.com/services/training.html)
*  San Francisco, CA, USA — October 18  19, 2011
*  Washington DC, USA — October 31  November 1, 2011
*  Barcelona, Spain — November 28  29, 2011


RT Training Sessions (http://bestpractical.com/services/training.html)
*  San Francisco, CA, USA  October 18  19, 2011
*  Washington DC, USA  October 31  November 1, 2011
*  Barcelona, Spain  November 28  29, 2011


Re: [rt-users] no content editing for articles?

2011-10-17 Thread Thomas Sibley

On 10/17/2011 01:13 PM, Joachim Thuau wrote:

You missed docs/customizing/articles_introduction.pod

It covers exactly the case you're discussing


I have read that last week, and looked at it again this morning.

I have successfully created an article last week. But I can't update
content. Shouldn't there be some sort of textfield for me to put the
article content into?
(that was my problem).


From the doc Kevin mentioned:

  =head2 Custom Fields

  Articles don't have a single body section for each
  article. Everything is a custom field (except for name, summary and
  some other basic metadata). So, you need to create some custom
  fields to hold the Article body and other data.  These Custom Fields
  should have Applies To be RTFM Articles.

  Once you've created your custom fields, go into your classes and click
  on Custom Fields and add the Custom Fields you want to each class.
  Alternatively, use the Applies To link from each Custom Field.

Thomas

RT Training Sessions (http://bestpractical.com/services/training.html)
*  San Francisco, CA, USA  October 18  19, 2011
*  Washington DC, USA  October 31  November 1, 2011
*  Barcelona, Spain  November 28  29, 2011


Re: [rt-users] no content editing for articles?

2011-10-17 Thread Joachim Thuau
 add the Custom Fields you want to each class.

This was the step I missedŠ

Thanks,
Jok

-- 
| Joachim Thuau | Linux Systems Administrator / SpaceX |
| Cell: 310-890-7937 | Office: 310-363-6153 |





RT Training Sessions (http://bestpractical.com/services/training.html)
*  San Francisco, CA, USA  October 18  19, 2011
*  Washington DC, USA  October 31  November 1, 2011
*  Barcelona, Spain  November 28  29, 2011


Re: [rt-users] no content editing for articles?

2011-10-14 Thread Kevin Falcone
On Sat, Oct 15, 2011 at 12:21:41AM +, Joachim Thuau wrote:
 
 Hello List,
 
 We have setup RT4.0.2 on a debian host from source, against Pg 8.0.4, with
 apache2/mod_perl2 over SSL with kerberos auth in apache.
 
 RTFM seems to be included out of the box with the setup. but the content
 section, when trying to modify an article, doesn't have any UI elements to
 edit the content. 
 
 Is there some javascript that should be taking care of updating the form
 to have the rich text UI?
 There are references to javascript -- /NoAuth/RichText/ckeditor.js --
 which doesn't seem to exist on the filesystem, but my access log shows
 that it's getting accessed properly -- GET /NoAuth/RichText/ckeditor.js
 HTTP/1.1 200 -- in my ssl_access.
 
 I haven't seen anything specific in the /docs or the RT_Config.pm that
 references that. There doesn't seem to be anything related to that in the
 RT logs (they mostly have stuff about my ldapimport finding a bunch of
 empty groups).

You missed docs/customizing/articles_introduction.pod 

It covers exactly the case you're discussing

-kevin

 I expect that it's missing a text area that would be replaced by jQuery
 once the page is loaded.
 
 The chunk of the page that has that part looks like this (see below). Note
 that the Content part is pretty short...
 
 
 ===8---
 form method=post action=Edit.html name=EditArticle id=EditArticle
 enctype=multipart/form-data
 input type=hidden name=next value= /
 input type=hidden name=id value=new /
 table width=100%
 tr
 tdh2Basics/h2/td
 td/td
 /tr
 tr
 td class=labelName/td
 tdinput name=Name value= size=50 //td
 /tr
 tr
 td class=labelSummary/td
 tdinput name=Summary value= size=50 //td
 /tr
 tr
 td class=labelClass/td
 td
 Setup Documentation
 input type=hidden name=Class value=1 /
 /td
 /tr
 
 
 tr
 tdh2Content/h2/td
 td/td
 /tr
 
 
 tr
 tdh2Links/h2/td
 td/td
 /tr
 tr
 td class=label/td
 td class=valueiEnter articles, tickets, or other URLs related to
 this article.
 Type ba:/b before article numbers and bt:/b before ticket numbers.
 Separate multiple entries with spaces.
 /i
 /td
 /tr
 tr
 td class=labelRefers to:/td
 tdinput name=new-RefersTo value= /br /
 ul
 /ul
 /td
 /tr
 tr
 td class=labelReferred to by:/td
 tdinput name=RefersTo-new value= /
 br /
 ul
 /ul
 /td
 /tr
 
 tr
 tdh2Topics/h2/td
 td/td
 /tr
 tr
 td class=labelTopics/td
 td
 input type=hidden name=EditTopics value=1 /
 select multiple size=10 name=Topics
 /select
 
 /td
 /tr
 /table
 div class=submit
 
   div class=extra-buttons
   /div
   div class=buttons
 
   span class=caption/span
   input type=submit   value=Create class=button /
 
 
 
   /div
   div class=submit-clear/div
 /div
 
 
 /form
 
 
 
 ---8===
 
 Thanks,
 Jok
 
 -- 
 | Joachim Thuau | Linux Systems Administrator / SpaceX |
 | Cell: 310-890-7937 | Office: 310-363-6153 |
 
 
 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 *  San Francisco, CA, USA  October 18  19, 2011
 *  Washington DC, USA  October 31  November 1, 2011
 *  Barcelona, Spain  November 28  29, 2011


pgpMF0H191BYp.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
*  San Francisco, CA, USA — October 18  19, 2011
*  Washington DC, USA — October 31  November 1, 2011
*  Barcelona, Spain — November 28  29, 2011