Active
Project:
Views Slideshow: Dynamic Display Block
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2011 at 00:03 UTC
Updated:
11 Jan 2012 at 06:24 UTC
Default template is working as should.
But it doesnt have pager.
so i downloaded the themes choosed vsdupright60 as template but it breaks views admin..
chrome gives this error in console:
Uncaught TypeError: Object #<Object> has no method 'scrollable' views_slideshow_ddblock.js:296
thats what breaking everything probably.
I have attached the view export that breaks views admin (actually all site's) javascript
My site is on localhost but if you want to see it live i can upload it online
thanks
| Comment | File | Size | Author |
|---|---|---|---|
| views_export.txt | 18.29 KB | ParisLiakos |
Comments
Comment #1
ppblaauw commentedDid you download and install the latest theme package: vsdupright1060V1-2.rar from http://ddblock.myalbums.biz/download
Comment #2
ParisLiakos commenteduhm yeah:)
and i re-downloaded just now to make sure i have the latest version.error persists
you mean my views export works for you?
this is the error from firefox's console
Comment #3
ppblaauw commentedThe steps I did:
Slideshow works
Comment #4
ParisLiakos commentedso weird......
the export i posted is about page view.when i add block display i can see pager...but pager only on that case:S
and javascript stil breaks..even the toolbar's shortcut wont work..
are you sure you havent change something to vsd-upright60?
maybe we have different templates....what can i say:S
i will upload it online and will give you password for the admin to check it by yourself..
but the most likely is that we have different vsd-upright templates
Comment #5
ppblaauw commented#5
Ok, will wait till you have the site online.
Please send link, username and password via contact form.
Comment #6
ppblaauw commentedI had a look at your site.
I see that the tools.scrollable-1.0.5.min.js javascript is not added to the page.
It should be added by the views-slideshow-ddblock-pager-content--vsdupright60p.tpl.php template file
the tools.scrollable-1.0.5.min.js is at: sites/all/modules/views_slideshow_ddblock/js/tools.scrollable-1.0.5.min.js
In views-slideshow-ddblock-pager-content--vsdupright60p.tpl.php, can you change
into
if this does not work can you try the to add the tools.scrollable-1.0.5.min.js in the .info file of the theme, to see if the slideshow works than.
Comment #7
ParisLiakos commentedyes!
you are right:)
thank you.
changing that line fixed this!
:))))
Comment #8
ppblaauw commentedthanks for finding the bug.
I had another slideshow theme on the same page which provided the tools.scrollable-1.0.5.min.js on my test server.
That is why I did not get the error.
Will upload new version of slideshow themes with this line changed
Set status to fixed.
Comment #10
mariano.barcia commentedI'm too getting these very same errors, but with the latest version of the templates. I inspected the browser console, as previously mentioned, and the tools.scrollable-1.0.5.min.js is being included, so the fix didn't work in my case.
In problematic line of the script, the
myScrollablevariable gets this selector:"#views-slideshow-ddblock-scrollable-pager-pagina_principal_page div.vsd-scrollable-pager"IMO it fails because there is not element matching that selector. Sorry I cannot fix it, but my 2cents is please check the pre-conditions of the existence of that selector.
Comment #11
pkchoo commentedWhere can I download this new version of the vsdupright1060V1-3.rar theme? I go to this page (http://ddblock.myalbums.biz/download), but I can't tell when this was updated.
I am using this theme for my views slideshow dynamic display block and I've been having issue with it and views. It keeps breaking views. When I attempt to change settings in views, after making the change (if it allows me to make the change. it doesn't allow me all the time), the page changes into a bunch of garbled text. I have to hit the back arrow in the browser and hit refresh before it takes me back to the views interface. Fortunately, sometimes it keeps the changes I made and allows me to save.
Sometimes, I am not allowed to change settings at all, which is very frustrating. For example, I added a nodequeue to the filter, but am not able to change it's settings to allow it to be "true".
If the theme has been updated in the past couple of months to address this, that would be great!
Thank you,
Joe
Comment #11.0
pkchoo commentedmade it more descriptive