Option for stripping tags from field. This option is very usefull, for example, when you need to output a list of teasers in a block and don't whant to see there anything but text.

Thanks for review.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

merlinofchaos’s picture

I like this quite a bit. In thinking about it, I realized that if this option is set, it forces whatever data there to be an inline element (since it has no HTML tags) -- which means we should force an element_type() override when this is set.

neochief’s picture

Sorry, I not very familiar with views under the hood. Anyway, is this what you talking about?

seaneffel’s picture

Did this get committed? If not, I've voting to do it. I just tested the top patch and it solved the immediate problem for me.

merlinofchaos’s picture

Status: Needs review » Fixed

Committed! Thanks, neochief

tempd5’s picture

Apologies for being new to this. Where does this patch go? If I'm reading this correctly (no guarantee there), this will solve http://drupal.org/node/430500, correct?

seaneffel’s picture

tempd5, yes. I think the problem you are describing was fixed by the patch above. You could do two things:

1. Run this patch against the file in your current Views module folder called "views_handler_field.inc". The first line of the patch tells you the name of the file to patch against.

2. Upgrade to the current dev version of Views? Someone can correct me if I'm wrong, but I think this patch was committed last week even though I don't see it on the release notes of the module.

Also, temp, you had an excellent write up of your issue. I wish everyone could be so articulate on their issues - things would get solved so much faster!

tempd5’s picture

Thanks @seaneffel (btw, the patch worked great!)

Now, for what may be the dumbest question ever, how to I upgrade to the latest version of views (or any other module for that matter).

Never really thought about it, but is it okay to just install the new folder over the old one or will that delete/erase the use of any current views I've setup?

seaneffel’s picture

Great handbook page to explain it to you, right here:

http://drupal.org/node/250790

Good luck!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.