Automatic closure of non-active accordion.

Permalink Browser Info Environment
Hi there, just wondering how your accordion can be set to automatically close the non-active section when a new one is selected rather than just leaving any open accordions still expanded? The demo does it, and it does everything else perfectly - its just that one thing I need to solve :) Thanks in advance :)

Type: Pre-Sale
Status: In Progress
markdabner
View Replies:
amrod replied on at Permalink Reply
amrod
You can download and use 1.2
markdabner replied on at Permalink Reply
markdabner
Won't I lose fixes and enhancements and v8 compatibility doing that?
amrod replied on at Permalink Reply
amrod
You can just download 1.2 and replace the js file in the latest version to do the trick.
markdabner replied on at Permalink Reply
markdabner
Thanks very much :)
markdabner replied on at Permalink Reply
markdabner
Hi again,

Ive just noticed that when I am logged in, the block works perfectly, when I log out it stops working and if I look in Chrome I can see

Uncaught TypeError: $(...).click(...) is not a function

Unfortunately this was overlooked before the site went live so I'm now rather desperate for a fix - can you help?

http://www.sanctummedical.com.au/treatments-concerns/skin/pigmentat...


Thanks in advance,

Mark.
amrod replied on at Permalink Reply
amrod
can you use 1.2.2?
markdabner replied on at Permalink Reply
markdabner
1.2.2 is in place now, didnt seem to make any diff unfortunately. :(
markdabner replied on at Permalink Reply
markdabner
fixed it...

I've left 1.2.2 in place as havent noticed any difference, however in the controller.php

Ive changed (Line 50+)

<code>
public function view()
{
$this->set('content', $this->getContent());
}
</code>

To:


<code>
public function view()
{
$this->set('content', $this->getContent());
$this->requireAsset('jquery/ui');
}
</code>


Now it works a charm :)

concrete5 Environment Information

# concrete5 Version
Core Version - 8.0.2
Version Installed - 8.0.2
Database Version - 20161208000000

# concrete5 Packages
Accordion Content (1.2.4), Author Profile (1.0), Background Image and Overlay (0.9.9), Breadcrumb Trail Page Links (1.1), C5DK Blog (8.0.5), C5DK TwentyTwenty Image (1.0.2), Dynamic Images (1.1), EZ Bio (1.0), Fluid Gallery (2.4), Honest Websites Back To Top (1.0.1), HonestWebsites Simple testimonials (1.0.0), Live Chat (0.9.3), Random Image (1.0), Ronyd Expanded Search Bar (2.0), Simple Blog setup (1.0.0), Simple Slider (1.0), Social Share Lite (2.1.2), Social Stream (1.2), Styled Maps (1.2.3), Stylish Ordered Lists (1.0), SVG Social Media Icons (0.9.9), Thumb Gallery (1.0.3), Twitter Feed Block Components (0.9.15), Vivid Carousel (1.0.1), Vivid Simple Accordion (1.0.1), Whale Elastic Slider (1.1.1), Zoomer (1.0.1)

# concrete5 Overrides
languages/cs_CZ/LC_MESSAGES/messages.mo, languages/cs_CZ/LC_MESSAGES, languages/cs_CZ, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/en_GB/LC_MESSAGES/messages.mo, languages/en_GB/LC_MESSAGES, languages/en_GB, languages/es_PE/LC_MESSAGES/messages.mo, languages/es_PE/LC_MESSAGES, languages/es_PE, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, themes/sanctum/css/bootstrap.min.css, themes/sanctum/css/font-awesome.css, themes/sanctum/css/font-awesome.min.css, themes/sanctum/css/jquery.bxslider.css, themes/sanctum/css/jquery.cslider.css, themes/sanctum/css/style.css, themes/sanctum/css/style.css.bak, themes/sanctum/css/wow-animate.css, themes/sanctum/css, themes/sanctum/default.php, themes/sanctum/description.txt, themes/sanctum/fonts/fontawesome-webfont.eot, themes/sanctum/fonts/fontawesome-webfont.svg, themes/sanctum/fonts/fontawesome-webfont.ttf, themes/sanctum/fonts/fontawesome-webfont.woff, themes/sanctum/fonts/fontawesome-webfont.woff2, themes/sanctum/fonts/FontAwesome.otf, themes/sanctum/fonts, themes/sanctum/full.php, themes/sanctum/home.php, themes/sanctum/home.php.bak, themes/sanctum/home_with_contact_form.php, themes/sanctum/images/background_content.jpg, themes/sanctum/images/bg.jpg, themes/sanctum/images/blank.gif, themes/sanctum/images/creative-writing.png, themes/sanctum/images/first-bg - Copy.jpg, themes/sanctum/images/first-bg.jpg, themes/sanctum/images/footer-bg.jpg, themes/sanctum/images/fourth-bg.jpg, themes/sanctum/images/fourth-bg.jpgx, themes/sanctum/images/fourth-bg_old.jpg, themes/sanctum/images/image-post.jpg, themes/sanctum/images/logo.png, themes/sanctum/images/logo_bg.png, themes/sanctum/images/photo-1.jpg, themes/sanctum/images/photo-2.jpg, themes/sanctum/images/photo-3.jpg, themes/sanctum/images/photo-4.jpg, themes/sanctum/images/post-header-demo.jpg, themes/sanctum/images/post-header.jpg, themes/sanctum/images/recent-post-1.jpg, themes/sanctum/images/recent-post-2.jpg, themes/sanctum/images/sanctum_logo_home.png, themes/sanctum/images/second-bg.jpg, themes/sanctum/images/third-bg.jpg, themes/sanctum/images/Thumbs.db, themes/sanctum/images/tm-photo-1.jpg, themes/sanctum/images/tm-photo-2.jpg, themes/sanctum/images/tm-photo-3.jpg, themes/sanctum/images/x_first-bg.jpg, themes/sanctum/images/x_fourth-bg.jpg, themes/sanctum/images/x_second-bg.jpg, themes/sanctum/images/x_third-bg.jpg, themes/sanctum/images, themes/sanctum/js/jquery.bxslider.js, themes/sanctum/js/jquery.cslider.js, themes/sanctum/js/main.js, themes/sanctum/js/menudock.js, themes/sanctum/js/vendor/bootstrap.min.js, themes/sanctum/js/vendor/jquery-1.11.1.min.js, themes/sanctum/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js, themes/sanctum/js/vendor/wow-animate.js, themes/sanctum/js/vendor, themes/sanctum/js, themes/sanctum/left_sidebar.php, themes/sanctum/page_theme.php, themes/sanctum/right_sidebar.php, themes/sanctum/thumbnail.png, themes/sanctum/view.php, themes/sanctum, languages/cs_CZ/LC_MESSAGES/messages.mo, languages/cs_CZ/LC_MESSAGES, languages/cs_CZ, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/en_GB/LC_MESSAGES/messages.mo, languages/en_GB/LC_MESSAGES, languages/en_GB, languages/es_PE/LC_MESSAGES/messages.mo, languages/es_PE/LC_MESSAGES, languages/es_PE, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, themes/sanctum/css/bootstrap.min.css, themes/sanctum/css/font-awesome.css, themes/sanctum/css/font-awesome.min.css, themes/sanctum/css/jquery.bxslider.css, themes/sanctum/css/jquery.cslider.css, themes/sanctum/css/style.css, themes/sanctum/css/style.css.bak, themes/sanctum/css/wow-animate.css, themes/sanctum/css, themes/sanctum/default.php, themes/sanctum/description.txt, themes/sanctum/fonts/fontawesome-webfont.eot, themes/sanctum/fonts/fontawesome-webfont.svg, themes/sanctum/fonts/fontawesome-webfont.ttf, themes/sanctum/fonts/fontawesome-webfont.woff, themes/sanctum/fonts/fontawesome-webfont.woff2, themes/sanctum/fonts/FontAwesome.otf, themes/sanctum/fonts, themes/sanctum/full.php, themes/sanctum/home.php, themes/sanctum/home.php.bak, themes/sanctum/home_with_contact_form.php, themes/sanctum/images/background_content.jpg, themes/sanctum/images/bg.jpg, themes/sanctum/images/blank.gif, themes/sanctum/images/creative-writing.png, themes/sanctum/images/first-bg - Copy.jpg, themes/sanctum/images/first-bg.jpg, themes/sanctum/images/footer-bg.jpg, themes/sanctum/images/fourth-bg.jpg, themes/sanctum/images/fourth-bg.jpgx, themes/sanctum/images/fourth-bg_old.jpg, themes/sanctum/images/image-post.jpg, themes/sanctum/images/logo.png, themes/sanctum/images/logo_bg.png, themes/sanctum/images/photo-1.jpg, themes/sanctum/images/photo-2.jpg, themes/sanctum/images/photo-3.jpg, themes/sanctum/images/photo-4.jpg, themes/sanctum/images/post-header-demo.jpg, themes/sanctum/images/post-header.jpg, themes/sanctum/images/recent-post-1.jpg, themes/sanctum/images/recent-post-2.jpg, themes/sanctum/images/sanctum_logo_home.png, themes/sanctum/images/second-bg.jpg, themes/sanctum/images/third-bg.jpg, themes/sanctum/images/Thumbs.db, themes/sanctum/images/tm-photo-1.jpg, themes/sanctum/images/tm-photo-2.jpg, themes/sanctum/images/tm-photo-3.jpg, themes/sanctum/images/x_first-bg.jpg, themes/sanctum/images/x_fourth-bg.jpg, themes/sanctum/images/x_second-bg.jpg, themes/sanctum/images/x_third-bg.jpg, themes/sanctum/images, themes/sanctum/js/jquery.bxslider.js, themes/sanctum/js/jquery.cslider.js, themes/sanctum/js/main.js, themes/sanctum/js/menudock.js, themes/sanctum/js/vendor/bootstrap.min.js, themes/sanctum/js/vendor/jquery-1.11.1.min.js, themes/sanctum/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js, themes/sanctum/js/vendor/wow-animate.js, themes/sanctum/js/vendor, themes/sanctum/js, themes/sanctum/left_sidebar.php, themes/sanctum/page_theme.php, themes/sanctum/right_sidebar.php, themes/sanctum/thumbnail.png, themes/sanctum/view.php, themes/sanctum

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Microsoft-IIS/8.5

# Server API
cgi-fcgi

# PHP Version
5.6.16

# PHP Extensions
bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, intl, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, odbc, openssl, pcre, PDO, pdo_mysql, PDO_ODBC, Phar, Reflection, session, SimpleXML, soap, SPL, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 1800
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 1800
max_input_vars - 1500
memory_limit - 1024M
post_max_size - 36M
sql.safe_mode - Off
upload_max_filesize - 36M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Hide Post Content

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

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.