Description does not show in Page List

Permalink 1 user found helpful
It doesn't matter what template I use or if I use nothing. In the Page List block, no description shows up. I have two templates, one that should show with description and one that shows without but they both show without. Even the default shows nothing, nor does the Blog Page List. I have done everything (dumping cache, etc, etc) except reload concrete. Does anyone have an idea what the problem might be? I really wanted to use this.

 
ScottSandbakken replied on at Permalink Reply
ScottSandbakken
Can you post the code for the block template that should be displaying the description?

Also, have you verified that the generated HTML is correct. An error in the HTML could be hiding the description.
weiala replied on at Permalink Reply
This is the code I am specifically working with but it doesn't matter what template I use. If I just add a Page List Block - which would normally have the decription - nothing appears.
<?php
        defined('C5_EXECUTE') or die(_("Access Denied."));
        $textHelper = Loader::helper("text");
        $imgHelper = Loader::helper('image');
        // now that we're in the specialized content file for this block type,
        // we'll include this block type's class, and pass the block to it, and get
        // the content
        if (count($cArray) > 0) { ?>
        <div class="ccm-page-list">
<?php
        for ($i = 0; $i < count($cArray); $i++ ) {
                $cobj = $cArray[$i];
                $title = $cobj->getCollectionName(); ?>
        <div class="pageListItem">
        <?php

I don't mean to sound daft but how does one verify that the generated html is correct?
ZeroGodForce replied on at Permalink Reply
Hi, I seem to be having a similar problem. Was a resolution ever found?
simoneast replied on at Permalink Reply
simoneast
I was having a similar issue with no descriptions appearing, and found I had to verify all of the following:

* The page list block needs to have "Show Description" enabled
* The child page or article needs to have content in the "Description" field (shown under Page Settings > Attributes). Note that this is different from the "Meta Description" field.
* The child page needs to be published/approved after making changes to the description. Confusingly, exiting out of Page Settings does *not* prompt you to publish the changes (like it does when exiting Edit Mode).