Page Attribute Display Block - Add a seperator to Select attribute?

Hey All,

5.7.4 - Page Attribute Display block - I've got a select attribute that I can use to choose multiple items (think a Tasks list) to output on the page - wondering if there is anyway to add a seperator (like a comma) between them.

So rather that 'Task A task B task C'
You might have 'Task A, Task B, Task C'

The view.php in the block folder just lists
echo $controller->getContent();
and I'm not sure what to do with that...

View Replies:
MrKDilkington replied on at Permalink Reply 1 Attachment
Hi juddc,

Give this custom template a try.

defined('C5_EXECUTE') or die(_("Access Denied."));
echo $controller->getOpenTag();
echo "<span class=\"ccm-block-page-attribute-display-title\">".$controller->getTitle()."</span>";
$tasks = $controller->getContent();
$task_list = array();
foreach ($tasks as $task) {
     $task_list[] = $task;
$i = 0;
while (count($task_list) > $i) {
    echo $task_list[$i];
    if ($i != count($task_list) - 1) {
        echo ', ';
juddc replied on at Permalink Reply
Dude... Nice work. Thank you. It's the little things, isn't it?