Not sure if others have spotted this but
when I upgraded my site I had chunk loading into a textarea
Before in 1.0.0. it looked fine... now it takes out the extra returns and condenses it!
Can you please tell me how to fix this... Or do I need to submit a JIRA bug??
Thanks Paul
Tried your suggestion & it hasn’t fixed anything.... must be something else!
Here is some screenshots of the problem....
You used the WYSIWYG editor? (TinyMCE for example)
once I turned on the WYSIWYG TinyMCE I got the plain code in the chunk...
ie... it put in all <p>
tags...
Hope this helps!
Thanks Paul
Have a work-a-round in place for this...
As I don’t have the kudos to know why it is doing what it is doing!
But my Modx EVO 1.0.2 doesn’t like textarea boxes.....
when I loaded a normal html chunk in one, the html code didn’t get processed along with the page....
SO I have used a css property to load it instead....
.newtextarea {
width:150px;
height:150px;
overflow:scroll;
}
which does load the chunk fine!
Hope somebody with real brains can give an explanation for this behaviour?
as I said before it wasn’t the document.parser.inc.php
because I swapped that to the old one... and it was still doing it!
Thanks for all the help... Paul
-
MODX Staff
- 12,272 Posts
Can someone please open a request in JIRA for this issue with specific details pulled from this thread so we can get it sorted for the next patch release? Thanks!
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Hi,
Yup, looks like the behavior changed from 1.0.0 to 1.0.2
This should work in 1.0.2 :
- create a template variable called, for example, mainsuggestions. make its type textarea
- assign this to the template that is used by your efieldcheck/eform call and save
- pull up the document containing that eform call and pour your text into the template variable field, newlines and all. save
- edit your form and replace the call to the chunk with the call
to the template variable, i.e. {{mainsuggestions}} -> [*mainsuggestions*]
Matt
Have posted a JIRA bug.. THANKS!