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
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>'; ?>
Viewing 15 lines of 16 lines. View entire code block.
Type: | Discussion |
---|---|
Status: | New |