Needs work
Project:
Scrollable Views
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
2 Aug 2009 at 09:35 UTC
Updated:
8 Jan 2010 at 03:58 UTC
hello, i'm using views and the scrollable modules, i've create a views based on filed (i have 2 field).
and then i've changed the style of my view (Scrollable views).
but i can't show any view...
when i go to the theme inforamtion i've go this message :
Style output: scrollable-view.tpl.php (File not found, in folder modules/scrollable/)
so how can i get this file?
Comments
Comment #1
Jackinloadup commentedSame issue... Subscribing
Comment #2
diegohermes commentedYou can fix the problem doing this steps:
1 - Rename the template file scrollable.tpl.php to scrollable-view.tpl.php in modules/scrollable/theme - this will allow you to make changes to the template
2 - Copy the file to modules/scrollable/ - this will stop the error message in views (just that)
3 - Open the module scrollable.module and change the line 24 from
'template' => 'scrollable',
to
'template' => 'scrollable-view',
4 - Save the module and clear all cache
There are 2 problems in the module, the first is the wrong path to the template and the second is the template name, knowing this you can fix the problems in other ways, but this will work until a new release or a path been comitted.
regards
Comment #3
keva commentedThanks for the fix, diegohermes.
One more step:
also in scrollable.module, change line 20 from
$path = drupal_get_path('module', 'scrollable') .'/theme';
to
$path = drupal_get_path('module', 'scrollable');