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

Dropcaps Plugin

Development and Programming

Lisa Wess's avatar
Lisa Wess
20,502 posts
16 years ago
Lisa Wess's avatar Lisa Wess

ExpressionEngine does not store that stuff in the DB unless you actually manually type it into your entry. Just FYI.

       
jeff_openmotive's avatar
jeff_openmotive
39 posts
16 years ago
jeff_openmotive's avatar jeff_openmotive

Or if you have it set to make breaks P tags or br tags of course right?

My only point was that I eventually did get the plugin to work. But the hastle of figuring out if, and where there are HTML tags didn’t really make it worth using.

But to re-iterate “I did not mean to say that EE is adding html code to anyone’s entries”.

Thanks Lisa

-J

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
16 years ago
Lisa Wess's avatar Lisa Wess

No, if you use xHTML or br formatting, then the HTML markup is done when the template is processed; that mark-up is not stored in the database, which is why of the many reasons ExpressionEngine is so flexible: separation of content from design.

I just wanted to clarify that for anyone else reading this thread. =)

       
miae's avatar
miae
2 posts
16 years ago
miae's avatar miae

I was just having the same problem, and got it to work by setting the key to 4.

{exp:dropcaps color="black" key="4"} {body} {/exp:dropcaps}

I use xhtml formatting in my posts which converts returns to p tags.

Was going crazy when it didn’t work - didn’t break, but didn’t work either. Your discussion about it looping over the p tag was really helpful.

yay, and thanks!

       
jeff_openmotive's avatar
jeff_openmotive
39 posts
16 years ago
jeff_openmotive's avatar jeff_openmotive

Ahh, so what we are really seeing is that while Expression Engine does not store the html in the database, the markup is applied prior to the plugin. Which is where the key appears to be so important in skipping over those pesky markup tags. I suppose technically that seperates the content from the design, sort of. It has to be a pretty fine line when the markup is applied prior to the point where the designer gets it though.

Glad you were able to get it working Miae.

       
miae's avatar
miae
2 posts
16 years ago
miae's avatar miae

Indeed. And the way you wrote about it gave me the idea to just try to shoot past the target character (like setting the key to 6) then working backwards. Sort of feeling our way in the dark!

Works lovely now. Thanks again!

       
Hitch's avatar
Hitch
105 posts
15 years ago
Hitch's avatar Hitch
Saw the new plugin. Neat. I’m trying to get it to work on my comments page
{exp:weblog:entries yadda yadda}
  {exp:dropcaps}
{body}
{/exp:dropcaps}
{/exp:weblog:entries}
But it isn’t doing a thing. I was happy using the defaults so figured I’d just do the bare bones. I’m not getting *anything* - no broken images or anything. Just seems to be ignoring it. No error messages either (debugging is always set to superadmin) Thanks for any help. =)

Lisa:

Were you ever able to get this plugin working with your comments text? Because I’m having the same problem you did–it doesn’t break anything, no error codes, just as if it doesn’t exist, no matter, apparently, what I set the “key” to (and all I should have is p tags around the entries, and that’s what my source shows)….the link to the “more info” on the plugin page is broken, so I can’t quite find any additional documentation.

Anyone else have any ideas?

TIA,

Hitch

       
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.