Meint
Offline
Posts: 87
|
 |
« on: November 21, 2011, 07:42:38 PM » |
|
Hi all,
I am having problems installing the Nivo Slider in Website Baker. I tried the module first but with that I get a menu item which i don't need since the slider needs to be on every page in the header. I didn't fully get it to work but decided not to continue this road since i don't need a menu item.
Secondly i tried to install the nivo slider directly based upon the tutorial from the makers of the slider. Result: can't get it working and I have no idea why.
Finally i found out there is a plugin as well for Website baker so installed all the necessary programs LibraryAdmin and Lib_jquery. First of all now I have a menu item again plus the thing is not working.
Does anyone have experience with the nivo slider in Website baker and can he/she help me with the installation? I spend in total over three days figuring this out and I am about to give up..
Hope to hear from anyone soon.
Cheers, Meint
|
|
|
|
« Last Edit: November 23, 2011, 10:58:45 AM by Meint »
|
Logged
|
|
|
|
dbs
WebsiteBaker Org e.V.
Offline
Posts: 3719
|
 |
« Reply #1 on: November 21, 2011, 07:57:02 PM » |
|
hi, can you post a link to your slider-page?
|
|
|
|
|
Logged
|
|
|
|
Meint
Offline
Posts: 87
|
 |
« Reply #2 on: November 21, 2011, 08:31:24 PM » |
|
Sure. Here it is: http://nieuw.websitesvoormkb-ers.nl/pages/nivoslider.phpVia menu item 'Home' you will see the installation via the tutorial from http://nivo.dev7studios.com/support/jquery-plugin-usage/via menu item 'Nivo-slider' you will see the installation via the plugin. For the same reason as the module I haven't finished that since i don;t want the slider to be a menu item. However, in the meantime I am continuing to figure it out myself so it might change in the next hour.
|
|
|
|
« Last Edit: November 21, 2011, 08:38:32 PM by Meint »
|
Logged
|
|
|
|
dbs
WebsiteBaker Org e.V.
Offline
Posts: 3719
|
 |
« Reply #3 on: November 21, 2011, 08:49:47 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
Meint
Offline
Posts: 87
|
 |
« Reply #4 on: November 21, 2011, 09:07:42 PM » |
|
There was a folder with a different name. I changed it and it seems something is starting to work now. I copies the images for the slider in the images folder (slide1.jpg, slide2.jpg, slide3.jpg and slide4.jpg) can't figure out yet where to change the path to the images.
Would you also happen to know how to stop it being a menu item?
|
|
|
|
|
Logged
|
|
|
|
dbs
WebsiteBaker Org e.V.
Offline
Posts: 3719
|
 |
« Reply #5 on: November 21, 2011, 09:42:36 PM » |
|
plz look into your editor (sourcecode). how is the path to the images? how put you the images in the editor?
the images should be in the media-folder an with the editor (image-button) you select they.
|
|
|
|
|
Logged
|
|
|
|
Meint
Offline
Posts: 87
|
 |
« Reply #6 on: November 22, 2011, 12:36:41 PM » |
|
I continued my effort to get the Nivo slider working this morning. I am using the direct option as described in the tutorial from http://nivo.dev7studios.com/support/jquery-plugin-usage/. First i installed the demo version on an empty subdomain without installing website baker: http://test.websitesvoormkb-ers.nl >> It works! Secondly I installled everything in the same way in the index.php plus template.css from Websitebaker template "Simple": http://nieuw.websitesvoormkb-ers.nl >> It doesn't work now. The sliders is just not loading. Big question is, why doesn't it work now?
|
|
|
|
|
Logged
|
|
|
|
dbs
WebsiteBaker Org e.V.
Offline
Posts: 3719
|
 |
« Reply #7 on: November 22, 2011, 01:14:21 PM » |
|
the pathes to your pics are wrong. websitebaker has not the same structure like the demo-site of nivoslider-
|
|
|
|
|
Logged
|
|
|
|
|
|
dbs
WebsiteBaker Org e.V.
Offline
Posts: 3719
|
 |
« Reply #9 on: November 22, 2011, 03:23:46 PM » |
|
In the index.php you can use something like this: <img src="<?php echo TEMPLATE_DIR; ?>/images/slide1.jpg" /> without libraryadmin you need this path also for nivo-css and js.
|
|
|
|
|
Logged
|
|
|
|
Meint
Offline
Posts: 87
|
 |
« Reply #10 on: November 23, 2011, 10:57:12 AM » |
|
Thanks for your reply dbs. I solved the problem by describing the paths to all the other files as well. Meaning the nivoslider.css, jquery.nivo.slider. pack.js etc.
I thought that you could refer to files the same way as you refer to (background)images in the CSS file but by now i understand it doesn't work that way for all documents.
Thanks again for your help!
Cheers, Meint
|
|
|
|
|
Logged
|
|
|
|
dbs
WebsiteBaker Org e.V.
Offline
Posts: 3719
|
 |
« Reply #11 on: November 23, 2011, 11:06:54 AM » |
|
within the template.css you can use the relative pathes to backgroundimages.  but not within the index.php. now you know that.
|
|
|
|
|
Logged
|
|
|
|
|