DMXzone Nivo Slider Support Product Page

Answered

This extension "hi-jacks" all other uses of the Nivo Slider

Asked 11 Aug 2011 18:45:19
1
has this question
11 Aug 2011 18:45:19 Abra Cadabra posted:
I download a later version of NivoSlider at nivo.dev7studios.com. Then I create a new site in DW and place it there. I have not opened the DMX Nivo extensions at this point.

When I open the demo.html that is included in the original Nivo package, the DMX Nivo Slider extension will inject code and add scripts and css without even telling me so.

Doubled script
<script type="text/javascript" src="../jquery.nivo.slider.pack.js"></script>
<script type="text/javascript" src="../../ScriptLibrary/jquery.nivo.slider.pack.js"></script>

Doubled css
<link rel="stylesheet" href="../nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="../../Styles/nivo-slider.css" />


I need to be flexible in my work. I could of course turn off the extension but that always leads to it being shut off permanently.

Please have a look at this. A more reasonable approach to me would be that if I activate the Nivo extension in a site then it is ok that the extensions takes control, but not otherwise.

Replies

Replied 11 Aug 2011 19:47:55
11 Aug 2011 19:47:55 Abra Cadabra replied:
I remembered now that I have one client site since before running a Nivo Slider.

I open the index.html file and get code injected and now DW wants to upload new scripts to their site. This is not acceptable.

Not a warning or anything about code changes. This is a clients site and it gets messed up just from opening a file?

This is more serious than I first thought.

Please have this fixed somehow.
Replied 13 Jul 2012 05:31:14
13 Jul 2012 05:31:14 Richard Apperly replied:
I also have this issue. Very annoying so I disabled the extension. Dreamweaver then pops up with a whole pile of javascript errors. I removed the extension completely and it still happens. This is most annoying!
Replied 13 Jul 2012 06:10:57
13 Jul 2012 06:10:57 Teodor Kuduschiev replied:
Hi Richard,

Can you please describe your problem a little more detailed - step by step and please provide the error messages text?
Replied 16 Jul 2012 07:24:07
16 Jul 2012 07:24:07 Richard Apperly replied:
I have had to reinstall the extension because removing it caused a number of JS error messages to popup in Dreamweaver. Don't know exactly what they are.

The annoying thing is...I have quite a few pages that use the Nivo Slider but NOT the dmxzone version - some use the version directly from the NIVO website. When the extension gets installed in DW, it automatically adds the dmxzone NIVO files into my HTML. This is just annoying because I then need to delete that code.
Replied 17 Jul 2012 05:39:57
17 Jul 2012 05:39:57 Richard Apperly replied:
Just FYI, these are the lines of code the extension automatically inserts into ANY page that contains the NIVO slider...even if the NIVO slider isn't the DMXZone version.

<link rel="stylesheet" type="text/css" href="../Styles/nivo-slider.css" />
<script type="text/javascript" src="../ScriptLibrary/jquery-latest.pack.js"></script>
<script type="text/javascript" src="../ScriptLibrary/jquery.nivo.slider.pack.js"></script>
Replied 17 Jul 2012 06:12:16
17 Jul 2012 06:12:16 Teodor Kuduschiev replied:
Hello Richard,

Yes this is how all of our extensions work - when you open a page containing a code of the extension it checks if all of the files needed are there.
Replied 17 Jul 2012 06:20:02
17 Jul 2012 06:20:02 Richard Apperly replied:
But the page does not contain a code of the extension at all. It contains a snippet of code directly from the NIVO website - NOT the dmxzone extension.

If the extension just looks for the word 'NIVO' and inserts the code then that is a real annoyance.
Replied 17 Jul 2012 07:22:53
17 Jul 2012 07:22:53 Teodor Kuduschiev replied:
Both are using the same scripts.
That's why when there is the nivo slider js script included on your page the dmxzone nivo slider places the code.

Reply to this topic