Closed (fixed)
Project:
Metropolis
Version:
7.x-1.1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2011 at 06:51 UTC
Updated:
12 Jul 2011 at 22:11 UTC
I can´t figure out how I can handle the image slideshow. The views module is installed but I found nothing to config for the slideshow. Must I create a new view?
Comments
Comment #1
joschy3d commentedComment #2
joschy3d commentedwhen I try to import the view template image slideshow:
Fatal error: Call to a member function get_human_name() on a non-object in /mnt/webg/c0/84/52862084/htdocs/D7Space/sites/all/modules/views/plugins/export_ui/views_ui.class.php on line 387
Comment #3
danpros commentedHi,
This tutorial will answer your question http://drupal.org/node/1023940
Dan
Comment #4
joschy3d commentedHi Dan,
thanks but not really, because the UI changes don't let you follow the tutorial right. It is a little bit frustrating...
joschy3d
Comment #5
OrthoHQ commentedAfter reading the initial post I dug around and eventually found the file that essentially holds the values for the slideshow. Firstly you should locate the images associated with the slideshow located in Themes-> Metropolis -> Images->Slides. There will be three images in this folder. Copy down the names if need be. Next open "page.tpl.php" in the themes-> Metropolis folder. You should see the following code
...
<img src="<?php print $base_path . $directory; ?>/images/slides/metropolis-1.jpg" width="804" height="375" alt="Metropolis 1"/>...
To change the images in the slideshow, place new images in Themes-> Metropolis -> Images->Slides and make reference to the names in "page.tpl.php" by replacing metropolis-1.jpg, metropolis-2.jpg, and metropolis-3.jpg in the code. I see no reason as to why you couldn't even duplicate the line to increase the number of photos in the slideshow. I hope this helps. Oh and if the format is wrong in this post I apologize this is my first post on Drupal.org.
Comment #6
joschy3d commentedYes, I have found that two. But another, more seriously problem I´m found. The IMCE module don´t work correct with the theme. No buttons in the file browser... So I switch to another theme where the IMCE module works...
thanks, joschy3d
Comment #7
condocr commentedHi OrthoHQ,
Actually yes you can duplicate line or increase the number of photos in the slide show. You will also need to modify the file Maintenance-page.tpl.php
The code section is start on line 84
and you just need to add the line of code similiar to the that you mention
I modified the file that you said and this one and working correclty.
hope this helps
Regards