Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This module is unlike any other of its kind and just what I am after BUT, we really could use a Drupal 6 release on Drupal.org , even if it's just a DEV version. Any chance of that?
Many thanks
Comment | File | Size | Author |
---|---|---|---|
#21 | modules.JPG | 101.43 KB | vsl |
#21 | views ticker.JPG | 28.75 KB | vsl |
#19 | view.txt | 2.52 KB | gracian |
#19 | view.jpg | 113.06 KB | gracian |
#12 | news-ticker1.png | 32.49 KB | mmcintosh |
Comments
Comment #1
raghukr CreditAttribution: raghukr commentedI have released a D6 backport of D7 version as dev. It is not very well tested, but at least is a start.
Comment #2
SirClickalotGreat news!
I Immediately installed the release and went to switch on the module and use it but, when I went to choose Views Ticker as the Style plugin for View (2.12) I got the errors message shown in the attached screenshot.
Any advice?
Thank you
Comment #3
raghukr CreditAttribution: raghukr commentedPlease wait for a day. The D6 version may be buggy. I will commit a better version tomorrow.
Comment #4
raghukr CreditAttribution: raghukr commentedDue to some reason, the dev snapshot of 6.x-2.x is not getting updated in the project page. Here is the latest snapshot http://drupalcode.org/project/views_ticker.git/snapshot/612dc2d.tar.gz
Comment #5
SirClickalotAs before in #2, when I try to set 'Views ticker' as a Row Style plugin, i am still getting....
'PHP Fatal error: Class 'views_plugin_style' not found in /home/drupalsites/startpoint6/startpoint6/htdocs/sites/all/modules/core/views_ticker/includes/views_ticker_style_plugin.inc on line 13'
Thank you again, keep them coming and I will keep testing!
Comment #6
raghukr CreditAttribution: raghukr commentedIt is working for me. Can you post details of your drupal version, views version, etc?
Comment #7
raghukr CreditAttribution: raghukr commentedFrom your post
Can you put the views_ticker module under sites/all/modules instead of sites/all/modules/core and try?
Comment #8
SirClickalotTried that and it made no difference I'm afraid.
To be honest though, it would be wrong for your module to 'assume' that modules did not live in sub-folder. Granted, my use of the word 'core' is bad and ideally I'd like it be 'contrib' but can't for the life of me find a way to change it without killing my site!
Comment #9
raghukr CreditAttribution: raghukr commentedLooking at the error, there may be some issue with the views module in your installation. It is able to load views_ticker but is not able to find the views_plugin_style present in the plugins\views_plugin_style.inc of views module. Try disabling/enabling the views & running update on drupal.
Comment #10
mmcintosh CreditAttribution: mmcintosh commentedI just installed your 612dc2d.tar.gz version listed on this issue and have it working. It seems to only have the style of the ticker not any of the other possible styles fade etc..... Also I am not sure what I am doing wrong; even though the view returns more than one result, only one is passed to the block it does not cycle between results as I expected it to do. The block style options only contain start delay and place holder.
Drupal version 6.22 on ubuntu 10.04
Regards
Mark
Comment #11
raghukr CreditAttribution: raghukr commented@mmcintosh,
In the views edit page, click on the views ticker settings (wheel icon next to style: "views ticker"). Scroll down and you will see a dropdown for changing ticker type.
Comment #12
mmcintosh CreditAttribution: mmcintosh commentedI have attached screen shots there is no drop down. I do not have any idea why as it throws no error just no drop down or selection. I will uninstall and reinstall today to see if somehow I have done something wrong.
Comment #13
raghukr CreditAttribution: raghukr commented@mmcintosh
in the first screenshot, click on the "Update defaults display". Then click on the settings icon next to views ticker. Then upload the screenshot of entire page.
BTW, Which views version are you using?
Comment #14
CinemaSaville CreditAttribution: CinemaSaville commentedI upgraded from 6.1 dev to 6.2 and I'm also getting the same error message:
Error Description:
Fatal error: Class 'views_plugin_style' not found in /home/placemea/public_html/sites/all/modules/views_ticker/includes/views_ticker_style_plugin.inc on line 13
I deleted my original view, and just try to choose this as the style plugin and get this error.
I'm using the latest version of views 6.x-2
Comment #15
raghukr CreditAttribution: raghukr commentedI am using views 6.x-2.12. It works for me, no errors. Can you check if this error occurs for other views plugins (like jCarousel)? If it does, then the issue might be with views. Also you could try the dev version of views.
Comment #16
mmcintosh CreditAttribution: mmcintosh commentedJust wanted to report back that I reinstalled and it now works version 612dc2d.tar.gz listed above I was able to get fade to work properly after the re-installation. Thanks
Mark
Comment #17
gracian CreditAttribution: gracian commentedSorry, but "612dc2d.tar.gz" is not working for me on Drupal 6.22 :(
PHP Fatal error: Class 'views_plugin_style' not found in /sites/all/modules/views_ticker/includes/views_ticker_style_plugin.inc on line 13, referer: http:///admin/build/views/edit/Hot_News
Comment #18
raghukr CreditAttribution: raghukr commentedI have tried hard to reproduce "PHP Fatal error: Class 'views_plugin_style' not found" issue, but not successful. If you people can provide more information about your setup, php/apache logs if any, etc, it will be easier for me to debug. Also, you could export your view and upload it.
Comment #19
gracian CreditAttribution: gracian commentedThanks a lot for your time. I'm sure, that the mistake is on my side, but ... I have attached my view export.
Comment #20
mbasfour CreditAttribution: mbasfour commentedsubscribing
Comment #21
vsl CreditAttribution: vsl commentedThanks for yours time. I have passed this error by
include ("path to... /views_plugin_style.inc");
BUT i don't manage to make it work... it doesn't display any fields. I keep trying and i give you feedback if i manage to go further.
If you have any idea please help me.
Comment #22
vsl CreditAttribution: vsl commentedit works with this release ...
http://drupalcode.org/project/views_ticker.git/snapshot/1d711e0.tar.gz
and with this add in views_ticker_style_plugin.inc
if(!class_exists('views_plugin_style')) {
include ("/path ... /views/plugins/views_plugin_style.inc");
}
Comment #23
raghukr CreditAttribution: raghukr commentedThat is a bit strange. It is a views plugin & views files need not be explicitly included. I am not able to reproduce it on my end. Since include works for you, here is the correct way of including module files.
if(!class_exists('views_plugin_style')) {
include (drupal_get_path('module', 'views_ticker').'/plugins/views_plugin_style.inc');
}
If somebody who is facing the "class not found" can provide me a zip of their sites directory with db dump along with php/drupal version info, it will be easier for me to try reproduce it.
OR
You could try disabling all the modules, enable only views/views_ticker & see if the problem still occurs. If not, then enable other modules in batches (3-4 at a time) & figure out which module might be interfering. I can then use that info to debug.
Without this help from people facing the issue, I will not be able to provide an official fix since I am not able to reproduce it in my env.
Comment #24
ajdonnison CreditAttribution: ajdonnison commentedHad the same issue, but uninstalled, commented out the files[] lines in the views_ticker.info file, reinstalled and the error went away. No need to edit anything else. This is with the official release.
Confirmed by re-enabling the files[] lines and reinstalling, problem came back.
It would appear that putting the includes in the files[] array causes Drupal core to load these _before_ the views module gets to load it, hence the error.
Comment #25
raghukr CreditAttribution: raghukr commented@ajdonnison
Thanks for the analysis. I will make changes, do a little testing and commit. But what I don't understand is why this error is not consistent in all installations. Also, nobody has complained about this issue on 7.x.
Comment #26
benwei CreditAttribution: benwei commentedI was experiencing the 'class not found' issue with 6.x-2.x, but after upgrading to 6.x-2.x-dev, I'm no longer seeing it.
Comment #27
SchwebDesign CreditAttribution: SchwebDesign commentedi was having this error as well with VIews 3 and after updating to the latest DEV of views-ticker this stopped happening for me.
my problem specifically was the " Fatal error: Class 'views_plugin_style' not found in " error when attempting to select this style as the views display.
Comment #28
kongoji CreditAttribution: kongoji commentedjust a little improvement to comments #22 and #23
I'll try to provide a patch as soon as I got time to.
Comment #29
raghukr CreditAttribution: raghukr commentedDev version already contains fix for this. I will push it to official release in a week or so.
Comment #30
brunodboConfirming that the current dev version fixes this issue. For me, it came up when adding the autoload module to my Pressflow installation.
Would it be possible to roll a new stable release with this fix? Thanks!