View/Block Display Error

Events happening in the community are now at Drupal community events on www.drupal.org.
matthew krick's picture

Argh! I'm having weird display issues. Ok, I've got a bunch of data setup in some nodes.

I created a block in views to display some of that data with fields. Date Created + Title.

For the most part it works perfectly. Except when I have a title like:

John's Hauling
becomes
John& #039;s Hauling (without the space between & and #)

I tried creating a new block and used this code:

<?php
        $block
= module_invoke('views', 'block', 'view','blockblog-block_3');
        print
check_markup($block['content']);
?>

And that fixed the #039 problem, but then the lines ran together and there were no carriage returns. (Trying without check_markup resulted in the same #039 issue appearing)

Speaking of carriage returns, they don't seem to be working in any of my nodes when I view them. I have to use
tags. Related issue? Input formats for the nodes are set to Filtered HTML so CRs should be automatic, right?

Thanks
Matt Krick

Comments

Ok, fixed the carriage

matthew krick's picture

Ok, fixed the carriage return issue. It seems in my Filtered HTML settings I wasn't allowing the use of

<br> and <p>

But I'm still getting those pesky & #039 codes instead of " ' " in my titles.

Fixed

matthew krick's picture

Me again!

Fixed my problem at last.

I had automatic title generation turned on and the value I used was:

[field_name-filtered]
when I should have been using
[field_name-raw]

Sigh. Always the lil things which give you so much trouble.

High Desert - California

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: