Hi there, I'm using Textile in my CMSMS installation, as detailed here: http://forum.cmsmadesimple.org/index.ph ... 871.0.html
It works perfectly in almost everything, and I highly recommend it for anyone who doesn't like WYSIWYG editors (and what clients tend to do with them).
The only issue I'm having is that summary templates in the News module are not rendering Textile at all. News detail templates render Textile fine, and they both use the same (and only) Layout template that is supposed to invoke Textile on all content.
Does anyone have a clue as to why the News summary template is acting this way?
Thanks!
SOLVED: Textile not rendering in News summary templates
SOLVED: Textile not rendering in News summary templates
Last edited by appleyard on Wed Jan 20, 2010 3:06 pm, edited 1 time in total.
Re: Textile not rendering in News summary templates
In the News/Options tab, have you checked this field:
"Allow using a WYSIWYG editor on the summary field"
Nullig
"Allow using a WYSIWYG editor on the summary field"
Nullig
Re: Textile not rendering in News summary templates
Yes, I've tried checked and unchecked with no difference. That option seems to be regarding the summary (i.e. excerpt) field within a single article, not the summary templates for listing many articles.Nullig wrote: In the News/Options tab, have you checked this field:
"Allow using a WYSIWYG editor on the summary field"
Nullig
Re: Textile not rendering in News summary templates
SOLVED.
Here's what I think happened. I use notextile.. at the beginning of some of my pages to make sure header graphics etc. don't get wrapped in a paragraph tag. The way you cancel this out is to invoke a Textile tag specifically, e.g. "(2 line breaks) h1. Headline content (2 line breaks)"
Apparently the summary template was collapsing one of those line breaks as it did its {foreach} thing (which is why it wasn't a problem on detail templates) so Textile just didn't recognize the h1. as a headline tag. Adding an extra (i.e. third) line break at the beginning did the trick.
Thanks anyway folks!
Here's what I think happened. I use notextile.. at the beginning of some of my pages to make sure header graphics etc. don't get wrapped in a paragraph tag. The way you cancel this out is to invoke a Textile tag specifically, e.g. "(2 line breaks) h1. Headline content (2 line breaks)"
Apparently the summary template was collapsing one of those line breaks as it did its {foreach} thing (which is why it wasn't a problem on detail templates) so Textile just didn't recognize the h1. as a headline tag. Adding an extra (i.e. third) line break at the beginning did the trick.
Thanks anyway folks!