Quote from: BobRay at Nov 15, 2016, 11:04 PMYou can install the UpgradeMODX extra and change the settings_version System Setting back to 2.5.1. UpgradeMODX will then let you "upgrade" to your current version. It will download all new MODX files for you, put them in place, and then launch Setup.
Hi,
As it seems to much of a hassle, I gave up on making that "load, list & view" user.
I did everything you prescribed, but I couldn't get past the login screen.
I'm a fan as I bought your book, but the "special users" is quite complicated and lots of strain to make it work.
Is there a plugin that makes this more straightforward, so with a dozen pre-configured users and simpler to set up ?
ps: I solved the problem this way:
1) FormIt : if password = correct ==> redirect FormIt to same URL WITH PARAMETER:
[[*id]]?p=[[#10.tv.password]]
2) the "hidden field" : if URL PARAMETER is correct => show price
3) Now if that URL token matches the correct password entered in resource_10 => then javascript will be fired to attach that URL parameter to all links (except those with class "noparam")
(javascript has the dynamic [[#10.tv.password]]-validator in it, and is not visible in the source code, unless the password is correct)
[[!If?
&subject=`[[!getUrlParam? &name=`p`]]`
&operator=`EQ`
&operand=`[[#114.introtext]]`
&then=
`
<script type="text/javascript">
$(document).ready(function(){
if (window.location.href.indexOf("?p=[[#114.introtext]]") > -1) {
$("a:not(.noparam)").each(function() {
var $this = $(this);
var _href = $this.attr("href");
$this.attr("href", _href + '?p=[[#114.introtext]]');
});
}
});
</script>