Skip to content
Snippets Groups Projects
Commit a141249b authored by Tim Steiner's avatar Tim Steiner
Browse files

Dirty hack to disable displaying the summary version of a page in preview. ...

Dirty hack to disable displaying the summary version of a page in preview.  There's got to be a better way to do this.


git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@165 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent d4820964
Branches
Tags
No related merge requests found
......@@ -373,7 +373,7 @@ function theme_node_preview($variables) {
$full = drupal_render($elements);
// Do we need to preview trimmed version of post as well as full version?
if ($trimmed != $full) {
if (FALSE && /* Dirty trick to disable summary view in preview */ $trimmed != $full) {
drupal_set_message(t('The trimmed version of your post shows what your post looks like when promoted to the main page or when exported for syndication.<span class="no-js"> You can insert the delimiter "&lt;!--break--&gt;" (without the quotes) to fine-tune where your post gets split.</span>'));
$output .= '<h3>' . t('Preview trimmed version') . '</h3>';
$output .= $trimmed;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment