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

NEW Plugin - MB Style Letters…

Development and Programming

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

Hmm very weird.

Which version of ExpressionEngine are you running and you did download the new version of the plugin and replace the existing one didn’t you? 😉

Also what exactly does {album_description} have in it and what is the field type set to. Is it Auto or perhaps XHTML?

Thanks,

Mark

       
ropeadope's avatar
ropeadope
98 posts
16 years ago
ropeadope's avatar ropeadope

yep. I think I’m on 1.6.3, new plugin and {album_description) is a textarea w/ Auto BRs

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

Hmm,

Weird. I’m actually testing this on 1.6.3 Build: 20080319 myself on a localhost install that I mess around with and seems to be fine. Not too sure what’s going on there.

Is the field that you are typing the album description into simply just a text-area and doesn’t use any of those WYSIWYG editors does it?

Also did you try this code (mentioned above) :

{exp:weblog:entries weblog="default_site"}

{exp:mb_style_letters class="my-class" start="0" letters="1"}{title}<br  >{/exp:mb_style_letters}

{/exp:weblog:entries}

Literally try that code so that you are applying the plugin to the title just to see if that works as that is how I tested it. If it works with that then something else must be up somewhere. If not then I’m a little confused really.

Best wishes,

Mark

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
16 years ago
Sean C. Smith's avatar Sean C. Smith
Very good point, however I never ever use XHTML as I don’t like what it places in but thanks for the heads up for everyone else.

What do you use? What about when you hand off the site to clients? How do you explain the need to use p tags?

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

I only ever used Auto and then place any needed tags into the templates and so clients can literally just type in what they want and press return and not have to worry about anything.

I know that semantically it’s not 100% correct but it validates fine and is still perfectly legible and doesn’t cause any problems anywhere so that’s why I do it.

Best wishes,

Mark

       
circa1977's avatar
circa1977
118 posts
15 years ago
circa1977's avatar circa1977

Hey Mark!

On 1.6.8, I’m seeing the following on a textarea field inside a FieldFrame Matrix:

start=1, letters=1

works correctly. The output is:

T<span>h</span>is is the paragraph.

start=1, letters=1

gives me

<span>T</span> is the paragraph.
       
circa1977's avatar
circa1977
118 posts
15 years ago
circa1977's avatar circa1977

Oops. The download on the first entry doesn’t match the one from mid-thread, which does work. Thanks!

       
1 2

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.