This is a new version for MODx Revolution beta-5 and beyond. The only changes are in the install and uninstall code.
Quote from: vhollo at Feb 02, 2010, 12:52 PM
Quote from: ReleaseMe at Jan 14, 2010, 12:26 PM
Creates an FAQ page with questions and expandable answers.
Hi Bob!
How does it do it?
Just to get an idea of what else could I use it 
Basically, just some JS code to do the expansion and contraction and my code to parse the content chunk. If you look at the readme.txt and the code I think you’ll get the idea. You could use a modified version for lots of different things.
There’s a little bug in the snippet: The statusClosedHTML can’t be set by passing it as a parameter because of this:
$statusOpenHTML = $modx->getOption('statusOpenHTML',$scriptProperties,'[-]');
$statusClosedHTML = $modx->getOption('statusOpenHTML',$scriptProperties,'[+]');
Maybe you’d like to fix this some time.
Cheers,
Jan
This message has been ROT-13 encrypted twice for higher security.
Quote from: enigmatic_user at Mar 01, 2010, 09:54 PM
There’s a little bug in the snippet: The statusClosedHTML can’t be set by passing it as a parameter because of this:
$statusOpenHTML = $modx->getOption('statusOpenHTML',$scriptProperties,'[-]');
$statusClosedHTML = $modx->getOption('statusOpenHTML',$scriptProperties,'[+]');
Maybe you’d like to fix this some time.
Cheers,
Jan
Nice catch. It’s fixed in SVN now.
Thanks!
Quote from: BobRay at Mar 02, 2010, 04:58 PMNice catch. It’s fixed in SVN now.
Thanks! 
I have to thank you for this package and for fixing it so quickly!
Cheers,
Jan
This message has been ROT-13 encrypted twice for higher security.
Quote from: enigmatic_user at Mar 02, 2010, 05:16 PM
Quote from: BobRay at Mar 02, 2010, 04:58 PMNice catch. It’s fixed in SVN now.
Thanks! 
I have to thank you for this package and for fixing it so quickly! 
Cheers,
Jan
You’re welcome, but it’s not fixed in the MODx download area yet, just in the SVN code repository. Although you can make the change yourself on line 172 of the snippet:
$statusOpenHTML = $modx->getOption('statusOpenHTML',$scriptProperties,'[-]');
$statusClosedHTML = $modx->getOption('statusClosedHTML',$scriptProperties,'[+]');
Quote from: BobRay at Mar 02, 2010, 08:18 PM
Although you can make the change yourself on line 172 of the snippet:
$statusOpenHTML = $modx->getOption('statusOpenHTML',$scriptProperties,'[-]');
$statusClosedHTML = $modx->getOption('statusClosedHTML',$scriptProperties,'[+]');
I did that yesterday, of course.
Cheers,
Jan
This message has been ROT-13 encrypted twice for higher security.