I am developing my site using CivicSpace (Republica layout) and 4.6.5. For testing I was using short messages and Preview was working fine.
The first time I tried to post smt long, the Preview block is displayed as empty (only the title and submitted info). There was only one block.
I switched to other themes and they worked as expected (preview of trimmed version and the full post). I concluded that this only happens when the post length is greater than the teaser limit (number of words). If noone can duplicate this I can send more info (modules loaded, screenshots, temporary account to test etc.). I am using PHP 5.0.5-3. Attached is the html source of the preview screen which is problematic.
Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | preview.html.txt | 26.02 KB | pembeci |
| source.html | 24.65 KB | pembeci |
Comments
Comment #1
pembeci commentedSorry, wrong page's source. This one should be also easier to view.
Comment #2
pembeci commentedHmm, so I shouldn't change the title. I expected you gave a title to each follow-up like the comments. Sorry for the noise.
Comment #3
pembeci commentedI found some free time after I opened the issue and made some progress:
http://drupal.org/node/45423
Since I am new to Drupal though, I am not sure if this is the best way to fix it though. I also wonder why this wasn't reported before since looking at the code I think everyone should experience the same problem. I am trying to launch my site this weekend so I also asked help from the forums. Sorry if this was offending in any way. If I can get some feedback from the forums or here confirming my solution I'll try to post a patch.
Thanks.
Comment #4
wernst commentedThe fix (for Drupal 4.6.3 +) seems to be over here:
http://drupal.org/node/27881
and involves adding one word to an existing file.
Hope this helps,
Warr
Comment #5
pembeci commentedThanks, it solves one of the problems much more easily but I think you still need to make the correction of
$output = ...to$output .= ...at template.php of Civicspace (as shown in the forum thread I linked above).