Customize "next/previous" in the new Slideshow

plocploc / 2012-12-19 15:04:02   

Hello,

I'd like to change the word "next" and "previous" into something else (french word or narrow).

I think I've done it before but now I can't remember where to change it

Thanks

arsondpi / 2012-12-19 15:32:42   

Hello - go to Admin/Assets/Plugins/format.slideshow.php

and edit accordingly the words (not css ids) Previous and Next:

  1.             $nav = "nn<div id='slideshow-nav' class='$nav_balance'>n";
  2.             $nav .= '<span id="total"><em>1</em> of ' . $total . '</span>  ';
  3.             $nav .= '<span id="previous"><a href="#" onclick="previous(); return false;">Previous</a></span> | ';
  4.             $nav .= '<span id="next"><a href="#" onclick="next(); return false;">Next</a></span>';
  5.             $nav .= "</div>nn";
plocploc / 2012-12-19 16:07:49   

Hello, Arsondpi
Thanks for you answer...

That's what I did but which "previous" is the good one

Each time I tried I had an error message
Parse error: syntax error, unexpected T_STRING in /homez.9/atravers/www/ndxzsite/plugin/format.slideshow.php on line 233

And no coming back (ctrl Z) is accepted, need to upload the format.php again

Vaska A / 2012-12-19 16:24:29   

That means that something is not right with the code - you'll need to go back and take out the change and work it back in slowly to find it.

plocploc / 2012-12-19 17:30:52   

Vaska

Sorry I don't understand what I have to do...
Anyway for the moment I uploaded the previous slideshow format which I had customized with no problem...

  1. $nav = "nn<div id='slideshow-nav'>n";
  2.             $nav .= '<span id="total"><em>1</em> / ' . $total . '</span>   ';
  3.             $nav .= '<span id="previous"><a href="#" onclick="previous(); return false;"><</a></span>   ';
  4.             $nav .= '<span id="next"><a href="#" onclick="next(); return false;">></a></span>';
  5.             $nav .= "</div>nn";

plocploc / 2012-12-19 18:16:48   

Arsondpi,

It looks like you answered me but your answer doesn't appear...

All the best

jlo337 / 2013-08-21 00:54:02   

I am trying to do the same but the Admin/Assets/Plugins/format.slideshow.php seems to be missing.

arsondpi / 2013-08-21 06:16:37   

That's because you haven't installed it yet -check a thread called "Slideshow beta test with us" in the Customize section of this forum.

jlo337 / 2013-08-21 07:06:37   

Sorry, I totally placed this in the wrong thread. My question is actually how do you change the Previous and Next text in Visual Index?

This thread has been closed, thank you.