PDA

View Full Version : Losing Javascript in Dynamics areas.


tfw2005
05-02-2008, 05:44 AM
Upgraded to 3.7, and CMPS 3.0.1 today.

My Dynamics instances seem to have lost the javascript drop downs. Running Dynamics 1.0.0 (3.6 - 3.7).

Didn't want to run that "?update_plugins" because I didn't know if that would mess up any of the custom stuff I have going in there.

Also, on a side note, I have other non-vbadvanced areas that need the $vboptions[bburl] applied before the clientscript and javascript links in headerinclude, but if i apply it there, then CMPS (and eventually Dynamics) stuff puts a double prefixed url.

I am assuming if I get the standard vbadvanced style fix for dynamics, then I will still be out of luck for those other areas.

Any suggestions? Can I turn off that auto application of bburl in vbadvanced stuff and insert it manually so it works everywhere?

Brian
05-02-2008, 12:08 PM
Can you link me to a page where you're having the issue with the drop downs? I checked your Resources section on one site and the News on your other, but didn't see any problems.

As for the replacements, what are you using when you prefix them? I honestly don't see how that would be possible since vBa products always look for something like "clientscript (with the leading quote) when doing the replacements. So if you're changing that to "/forum/clientscript, there's no way it would find a match and replace that link.

Our Sponsors
 

tfw2005
05-02-2008, 05:13 PM
I entered most urls into the vbadvanced global replacements and that took care of that for the header and navbar.

I entered this to get dynamics javascript working temporarily, so thats why it's fine now.

<script type="text/javascript" src="<if condition="VBA_SCRIPT == 'dynamics'">$vboptions[bburl]/</if>$stylevar[yuipath]/yahoo-dom-event/yahoo-dom-event.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript" src="<if condition="VBA_SCRIPT == 'dynamics'">$vboptions[bburl]/</if>$stylevar[yuipath]/connection/connection-min.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">

But it still leaves my other area that is non-vbadvanced without proper links since its off-forum-root.

I can turn that part off and show you, but my links will be broken until you see it. So, I might just do a trouble ticket with a different private skin for you.