Yea. it’s the minimal template’s built in calls to prototype what makes it work in it, like Ryan said.. The tags are not parsed in it too.. But it can’t be the document parser class anymore, because you are using the same what I use.. It must be some other plugin or something that is causing this..
But like I said in IRC last night, you can just comment out the regClientCSS and regClientStartupScript lines from the maxigallery snippet code and put the scripts to the head of the template manually. If you look back at this thread, I have attatched the scripts to use in to some of my post.
But I would REALLY like to get this resolved, because it’s driving me nuts!
But I would REALLY like to get this resolved, because it’s driving me nuts!
Try the new fixed that I post on the resoluition thread for 0.9.1. Hope it won’t drive you nuts anymoreThanks Wendy for the info! I already fixed it though by changing my snippet code so, that the scripts don’t have to be parsed by the document parser.. I sent the new code to Martyn by email and he got it working ok.
Yes, I still use the regClient api functions, but just didn’t put MODx tags to the scripts.
That should fix it as well, and it’s best to use the API provided, even though I know that it will cause the older version of MODx not to be able to use the snippet.
Quote from: Djamoer at Apr 12, 2006, 05:35 PMYes, I still use the regClient api functions, but just didn’t put MODx tags to the scripts.
That should fix it as well, and it’s best to use the API provided, even though I know that it will cause the older version of MODx not to be able to use the snippet.
No, I just made simple changes that instead of passing this to the regClientStartupScript:
You mean ripping of the code from regClientAPI and use it on your snippet? Smart move But I still think that it’s better to use the API, but you know what, there are no specific rules in MODx to do things like some other CMS out there, so do whatever you think will be best suited for your snippet
Martyn had problems that it was not parsed by the document parser, just outputted as [*id*], but might work with the patches that Wendy have posted now.
doze, what’s the advantage of bypassing the TV call?
This discussion is closed to further replies. Keep calm and carry on.