Can't use two widgets in same page?

50 views
Skip to first unread message

svorr

unread,
Feb 22, 2012, 2:14:11 PM2/22/12
to Flux Users
I'm pulling my hair trying to figure out what I'm doing wrong. With
an incredible amount of work to customize it, I managed to add a CSS
navigation menu (a widget titled Simple under CSS Menus).

I now need to add a slide show, choose the Nivo Advanced and once I
add it, my navigation menu gets totally destroyed (no formatting at
all). I was carefully to add and not replace so that I would retain
the css for the menu, but to no avail. This is what I have now:

main.css (locked) - I don't know what that means as I didn't lock
anything, and there's no option to unlock.

ExampleResources/menu_style.css

Libraries/nivoslider/nivo_slider.css

Any ideas of how to make these two widgets together? This is a 16
page website, multiplied by 3, as I have to do it in three languages.
If I can't get through the index.hmtl with a navigation menu and a
slideshow that works, I'd have to give up Flux. That'll be a shame.

Thanks, Silvia

Karen

unread,
Feb 23, 2012, 6:32:51 AM2/23/12
to Flux Users
Hi Silvia, I've successfully used Nivo Advanced slider but with a menu
of my own that uses jquery too. Perhaps you can try to enclose the
slider in a div? I'm not sure about the menu widget you are using but
I believe it's important for them to both use the same version of
jquery.

svorr

unread,
Feb 23, 2012, 7:58:42 AM2/23/12
to Flux Users

svorr

unread,
Feb 23, 2012, 8:05:57 AM2/23/12
to Flux Users

Thanks, Karen. Th slider is in a div that i created although it adds
an additional one once you insert the Nivo. The nav menu i'm using is
the one in Flux widgets, called Simple.

I noticed that when I install Nivo slider, it deletes my menu css. The
only thing I can do, which I find strange and complicated, is to copy
back the CSS for the menu into my project. That works but only
because being a newbie at this I had kept a copy of my site in a
separate directory. If I hadn't, I would have had to redo my menu
which took hours to customize in different colors and block size.

I think I'll put a ticket with The Escapers. I don't think it should
be this complicated to include two widgets both of which are part of
Flux.

Thanks again

Silvia


On Feb 23, 7:32 am, Karen <dnkch...@gmail.com> wrote:

Dave

unread,
Feb 23, 2012, 8:27:27 AM2/23/12
to flux...@googlegroups.com
As I understand the widgets in flux, and I'm certainly not an expert, you need to put them for the most part into a blank page. Then preferably using a different text editor like bbedit combine the code with the rest of your page to achieve successful results. These widgets aren't really ready to go, but more like examples is my take. You have to be able to understand the example enough to work it into your own code.

Again can't stress enough how much easier this is in a real text editor when it gets down to the nitty gritty. If you don't have one suggest you download bbedits little brother...free...text wrangler from bare bones.

Dave

PS: textedit that comes with osx is a very sorry excuse for a text-editor and I'd sure and get my free copy of text-wrangler.

bbftx

unread,
Feb 23, 2012, 9:20:46 AM2/23/12
to Flux Users
Silvia,
When you add one of the widgets like Simple Menu or the Nivo Slider,
they typically create a folder called "ExampleResources".

What is happening is that you're overwriting that "ExampleResources"
folder (that contains your menu_style.css), by adding the
"ExampleResources" folder installed by the insertion of the Nivo
Slider widget .
You've got to rename the ExampleResources folder and your code that
references that folder after you get your menu set up the way you
want, before you add the Slider.

Then you can install the Nivo Slider.
bbftx
www.VolvoSugga.org

svorr

unread,
Feb 24, 2012, 8:27:08 AM2/24/12
to Flux Users
Thanks, bbtfx. Your solution works as it does copying back into the
ExampleResources the css for the menu.

This shouldn't happen though. It destroys your page and worse, Flux
has a warning, to replace or amend when you include the second
widget. Having chosen append, it shouldn't be replacing.


Dave,

Thanks of your comment too. I use TextWrangler and Komodo. In this
particular case of this menu, I was so confused that editing the code
directly was the only way to check what my changes were doing to the
menu.
Reply all
Reply to author
Forward
0 new messages