[rt-users] no content editing for articles?

Joachim Thuau Joachim.Thuau at spacex.com
Mon Oct 17 13:13:10 EDT 2011


On 10/14/11 6:12 PM, "Kevin Falcone" <falcone at bestpractical.com> wrote:

>On Sat, Oct 15, 2011 at 12:21:41AM +0000, 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>
>> <td><h2>Basics</h2></td>
>> <td></td>
>> </tr>
>> <tr>
>> <td class="label">Name</td>
>> <td><input name="Name" value="" size="50" /></td>
>> </tr>
>> <tr>
>> <td class="label">Summary</td>
>> <td><input name="Summary" value="" size="50" /></td>
>> </tr>
>> <tr>
>> <td class="label">Class</td>
>> <td>
>> Setup Documentation
>> <input type="hidden" name="Class" value="1" />
>> </td>
>> </tr>
>> 
>> 
>> <tr>
>> <td><h2>Content</h2></td>
>> <td></td>
>> </tr>
>> 
>> 
>> <tr>
>> <td><h2>Links</h2></td>
>> <td></td>
>> </tr>
>> <tr>
>> <td class="label"></td>
>> <td class="value"><i>Enter articles, tickets, or other URLs related to
>> this article.
>> Type <b>a:</b> before article numbers and <b>t:</b> before ticket
>>numbers.
>> Separate multiple entries with spaces.
>> </i>
>> </td>
>> </tr>
>> <tr>
>> <td class="label">Refers to:</td>
>> <td><input name="new-RefersTo" value="" /><br />
>> <ul>
>> </ul>
>> </td>
>> </tr>
>> <tr>
>> <td class="label">Referred to by:</td>
>> <td><input name="RefersTo-new" value="" />
>> <br />
>> <ul>
>> </ul>
>> </td>
>> </tr>
>> 
>> <tr>
>> <td><h2>Topics</h2></td>
>> <td></td>
>> </tr>
>> <tr>
>> <td class="label">Topics</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




More information about the rt-users mailing list