Expand arrow at the end of the content

Permalink Browser Info Environment
Hi

Great addin which works :)
But I do have some problems to change a minor thing. I wanted to have the expand arrow at the end of the content. So I changed in the view.php just the order. When I do so the arrow is at the end but I can't choos anymore if the content is open or closed. It expanded all the time. How can I change that so that the content is not open?

Thanks

<?php   defined('C5_EXECUTE') or die(_("Access Denied.")); ?>
<div class="ccm-remo-expand">
<?php      
   global $c;
   $className = 'ccm-remo-expand-open';
   if ($controller->state == 1) {
      $className = 'ccm-remo-expand-closed'; 
   }
   echo '<div id="ccm-remo-expand-title-'.$bID.'" class="ccm-remo-expand-title '.$className.'" data-expander-speed="' . $this->controller->getSpeed() . '">' . $controller->title . '</div>';
   echo '<div id="ccm-remo-expand-content-'.$bID.'" class="ccm-remo-expand-content">';
   $content = $controller->getContent();
   echo $content;
   echo '</div>';
   echo '<div id="ccm-remo-expand-title-'.$bID.'" class="ccm-remo-expand-title '.$className.'" data-expander-speed="' . $this->controller->getSpeed() . '">' . $controller->title . '</div>';
?>

Type: Discussion
Status: New
wasabili
View Replies:

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.