Is it possible to limit words (using the Word Limit Plus plugin) inside of an embed? I’ve been trying to get this to work and it’s not happening for me.
Thanks for the DOCTYPE reminder and your help. It’s still not working right, though. Have any ideas on how to accomplish what I’m trying to do (even if it means doing it without this plugin)?
What does it do when you just place the guts of the embed code on your template? Or better yet, why not just place the guts of your embed code on your template?
I tested your same setup in my environment (to make sure) and it works fine; in and outside of the embed.
Actually, I’m a rookie at this thing, just trying to piece this thing together as I go along. Some website told me to organize everything in embeds - I guess, just to keep things organized.
I tried taking the “guts” out of the embeds and putting them back directly in the templates but I’m still getting the same results.
Is there any admin settings I could have set that is turning my plugin off by default or something?
Thanks to you having me look at that line! I was using a href to highlight my div but then there’s the a href for the Read More link… can’t put an <a > inside of another <a >... HTML 101…
OK, so I fixed the obvious simple blunder, but I’m still stuck. Though it works (limits the words) it breaks the CSS in my page in Firefox. I tried using the Word Limit plugin (the one without the link) and and the Word Limit Plus plugin (with the link parameter taken out) and I get the same effect - it seems like it makes the display:block setting for each variable now instead of just the main one surrounding everything.
Go to terenceflowers.net to see what I’m talking about. All the other stories in the main section are without the Word Limiter plugin expressions the 1st one is the only one that has it. By the way, everything looks OK in IE7.
Firefox is a standards complaint web browser so there may be a few markup issues.
If I validate your page you have a few errors in your markup and it appears that you have only a number of errors in your global CSS document (but the CSS errors don’t seem to major).
———————
And note that I am not a snob about validating sites like a lot of other folk. I just use it to do a sort of spell check, if you will.
Yup, I’m coming around to getting better at making sure my CSS and XHTML is compliant, but I just haven’t really spent time doing it with this page. This is really my first EE run so I’m just playing around for now.
Anyways,
I took the expression out, it looks decent in Firefox and EE, compliance wise, I still have the same number of errors so nothing’s really changed there. Do you know if plugins have their own CSS settings?
Nope, they just limit the text outputted by the enclosed tag. What code changes when you use the plug-in vs not using the plug-in? Do you see any less/extra markup?