ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

HTML in Category Description

July 20, 2012 3:34pm

Subscribe [1]
  • #1 / Jul 20, 2012 3:34pm

    Danh H.

    14 posts

    I’m using EE 1.7. Can you point to me where I can turn HTML on for category descriptions?

  • #2 / Jul 23, 2012 4:00pm

    Dan Decker

    7338 posts

    Hi Danh H.,

    Thanks for posting in the forums!

    There is no option to turn it on. HTML is allowed in category descriptions by default and can’t be changed.

    What is your experience?

    Cheers,

  • #3 / Jul 24, 2012 4:10pm

    Danh H.

    14 posts

    The page does not render when I put in a URL to text.

    It does when I ass " to replace the quotes.. So now, they are links but they attach the category link next to them. Any ideas?

    <a href="http://cie.austin.utexas.edu/informalclasses/index.php/informalclasses/C9/?num=IC13160_IC13159_IC13191_IC13190_IC13189_IC13158_IC13188_IC13187_IC13157_IC13186_IC13156_IC13168_IC13185_IC13184_IC13183_IC13175_IC13155_IC13154_IC13167_IC13166_IC13153_IC13152_IC13165_IC13164_IC13163_IC13162_IC13161_">http://cie.austin.utexas.edu/informalclasses/index.php/informalclasses/C9/?num=IC13160_IC13159_IC13191_IC13190_IC13189_IC13158_IC13188_IC13187_IC13157_IC13186_IC13156_IC13168_IC13185_IC13184_IC13183_IC13175_IC13155_IC13154_IC13167_IC13166_IC13153_IC13152_IC13165_IC13164_IC13163_IC13162_IC13161_</a>
  • #4 / Jul 24, 2012 6:03pm

    Danh H.

    14 posts

    To be more specific, the page renders when I use this:

    <ahref="http://www.wildflower.org">website</a>

    The page breaks and nothing is rendered (white screen) when I use this:

    <a href="http://www.wildflower.org">website</a>
  • #5 / Jul 25, 2012 2:33pm

    Dan Decker

    7338 posts

    Hi Danh H.,

    I think I have the answer.

    Go to Admin->Weblog Administration->Category Management-> Edit Group and set the option to “Allow ALL HTML”

    Cheers,

  • #6 / Jul 25, 2012 2:46pm

    Danh H.

    14 posts

    Thanks for your help Dan but that didn’t solve my problem. The page URL is still appending to the link.

  • #7 / Jul 26, 2012 2:49pm

    Robin Sowell

    13255 posts

    Hi Danh, I split the thread in order to keep the 1.x/2.x discussion separate.  I can’t replicate in 1.x running the latest.

    Here’s what I have in my template:

    {exp:weblog:category_heading}
        <h1>{category_name}</h1>
       {if category_description}
            {category_description}
        {/if} 
    
    {/exp:weblog:category_heading}

    Here’s what I have in the description of the category- note, as per Dan, I have all html allowed for that category group.

    This is blogging desciption.
    
     <a href="http://www.wildflower.org">website</a>

    And here’s the rendered output:

    <h1>Blogging</h1>
               This is blogging desciption.
    
     <a href="http://www.wildflower.org">website</a>  

    The resulting link works as expected.

    Am I off on the testing or possibly misunderstanding the problem?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases