More Formatting in the Forums
Posted: 28 September 2007 11:43 AM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

I know I’ve requested this before, but can’t for the life of me find the post.  I’d love to see some additional formatting within the expressionengine.com/forum’s.  Primarily it’d be great to be able to write lists and inline code blocks, meaning <ul />, <ol /> and <code />.

<ul>
<li>Lists</li>
</ul>

<ol>
<li>Ordered Lists</li>
</ul>

<code>inline code</code>

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 28 September 2007 11:55 AM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15845
Joined  06-03-2002

Do you mean you want it in our forums?  Discussion Forum 2.0 added the feature of using any formatting plugin you desire for each forum, so you can use Markdown, for instance.

 Signature 
Profile
MSG
 
 
Posted: 28 September 2007 11:57 AM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32911
Joined  05-14-2004

Just as a note, you can do code by using [ code ] You can also choose to allow all HTML, which would allow for lists.

I also just did a test by allowing Textile with “Safe HTML” and it produced a list perfectly, both ordered and unordered. =)  You can see my tests here.

 Signature 
Profile
MSG
 
 
Posted: 28 September 2007 12:02 PM   [ Ignore ]   [ # 3 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

@Derek Jones - Yup, i was hoping for it in these forums.  In any format really, XHTML, Textile or Markdown.  It’d be nice to be able to visually mark up comments a bit better.  Good to know it’s available in the module, maybe we’ll see it in these forums some day, even if just a small subset of the additional tags?

@Lisa Wess - The key here is inline code blocks, using the <code /> tag.  Using the BBCode method of [code /] always create a block level element (like a <pre /> tag would).

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 28 September 2007 12:08 PM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32911
Joined  05-14-2004

Aha, Mark.  I understand. =) You can style the .codeblock and code element however you want, to make it inline…  That would take some consideration, though. =)

 Signature 
Profile
MSG
 
 
Posted: 28 September 2007 12:10 PM   [ Ignore ]   [ # 5 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

@Lisa Wess - Does that work on these forums here too (http://expressionengine.com/forums…)?

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 28 September 2007 12:20 PM   [ Ignore ]   [ # 6 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32911
Joined  05-14-2004

No, Mark - that was more for one’s own forums.  Our forums have pretty specific styling, as you’ve noticed. =)

 Signature 
Profile
MSG
 
 
Posted: 23 May 2008 08:19 AM   [ Ignore ]   [ # 7 ]  
Summer Student
Total Posts:  21
Joined  01-11-2008
Derek Jones - 28 September 2007 11:55 AM

Do you mean you want it in our forums?  Discussion Forum 2.0 added the feature of using any formatting plugin you desire for each forum, so you can use Markdown, for instance.

Were exactly can you get and insatll such a plugin?  I’ve looked through the forum settings and I can’t find anything beyond the XHMTL (full, safe, or none) options.

I’ve attempted to allow safe and all HTML, but I still can’t build an unordered list.

Thanks for any help!

Profile
 
 
Posted: 23 May 2008 08:39 AM   [ Ignore ]   [ # 8 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15845
Joined  06-03-2002

Any of the formatting plugins you have installed will show up in the “Text Formatting in Posts” options list, Sean.  Markdown, and some of the other popular ones, can be found in our Add-On Library.

 Signature 
Profile
MSG
 
 
Posted: 23 May 2008 08:59 AM   [ Ignore ]   [ # 9 ]  
Summer Student
Total Posts:  21
Joined  01-11-2008

Thanks for taking the time to point out what I should have already tried, Derek!  I installed the Markdown plugin and it was available in the formatting options… now, however, I’ve notice that it doesn’t matter what formatting option I choose for the forums, the formatting never changes.

I’ve attempted to edit posts and create new ones to see the new formatting in effect, but no luck (it looks like it’s always using the default Xhtml).  Is there a setting somewhere I’m missing?

Thanks again,
Sean

Profile
 
 
Posted: 23 May 2008 09:06 AM   [ Ignore ]   [ # 10 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15845
Joined  06-03-2002

Are you changing the preference for the individual forum(s) you want to apply that too, or just the general preferences that are used when creating new forums?

 Signature 
Profile
MSG
 
 
Posted: 23 May 2008 09:16 AM   [ Ignore ]   [ # 11 ]  
Summer Student
Total Posts:  21
Joined  01-11-2008

Ahh… well, it seems I’m very good at missing the obvious!  I was indeed only changing the general preferences.  I updated the formatting for the individual forums and now I’m golden!

Thanks for your help, Derek.  Very much appreciated!

Sean

Profile
 
 
Posted: 23 May 2008 09:35 AM   [ Ignore ]   [ # 12 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15845
Joined  06-03-2002

Glad to help, Sean!

 Signature 
Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65027 Total Logged-in Users: 46
Total Topics: 82117 Total Anonymous Users: 18
Total Replies: 441316 Total Guests: 212
Total Posts: 523433    
Members ( View Memberlist )