We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

List Maker html formatting errors

Development and Programming

Narzula's avatar
Narzula
69 posts
16 years ago
Narzula's avatar Narzula

Greetings,

I am new to EE and needing to incorporate <ul>s. I have installed List Maker and have tried it two different ways (applied around custom field textareas), each causing problems. Here are my two attempts and the resulting problematic source code.

1. Straight up List Maker:

List Maker template code:

[color=blue]{exp:list_maker}
  {customfield}
{/exp:list_maker}[/color]

Entering with carriage returns results in the following source code, which includes excess list items plus a stray paragraph tag:

 <span style="color:red;"><ul class="list">
    <li>item 1</li>
    <li>

</li> <li>item 2</li> <li> </li> <li>item 3</li> <li></li> </ul> 2. Modified List Maker:

List Maker template code:

 [color=blue]{exp:list_maker type="ul" separator="," id="summaryList" class="list"}
{customfield}
{/exp:list_maker}[/color]

Entering items separated with commas has better results, but there is still a stray paragraph tag:

<ul id=”summaryList” class=”list”> <li>item 1</li> <li> item 2</li> <li> item 3 </li> </ul>

Is there a way to either make List Maker work as intended using carriage returns, or with commas without the paragraph tag added in?

THANKS for any assitance!

       
Narzula's avatar
Narzula
69 posts
16 years ago
Narzula's avatar Narzula

Greetings and nevermind … as an alternative, I’m installing the TinyMCE extension, which I just learned about. Hope that make for better lists.

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen

Hi Cielosky,

This is probably all due to the formatting of your custom field - {customfield}. What was the setting on that one? If you have it set to None then it should work okay?

Best wishes,

Mark

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
15 years ago
Sue Crocker's avatar Sue Crocker

Ignore.. wrong thread..

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.