PDA

View Full Version : Simple Template: Arrows for Previous / Next


Jodi
05-06-2006, 06:24 PM
Hello,

First, thanks to the pixelpost gods for creating such a great application. Just upgraded to 1.5 and couldn't be happier.

A couple question about the customizing the Simple Template:

1. I would like to have arrows insted of the words "next" and "previous". Which lines do I need to edit to change the words to pictures? (i have the images ready and sized in my images folder)

2. If I don't use arrows, where exactly can I change the wording (to say "next image", and "previous image"?)

3. Is it possible to get those arrows / words in the same place no matter how the window is resized (right now they move as you resize, sorry, I don't know what the term is for this). I would like them to be say 600px apart and centered. Suggestions?

Thankyou in advance!

Happy PhotoBlogging,

--Jodi

http://www.fivefeet.ca

Joe[y]
05-06-2006, 06:50 PM
1) you can do this in languages/lang-english.php - just find 'previous' and 'next' and replace as appropiate.

2) see above

3) sure. go to templates/simple/styles/light.css find #image-navigate and change width:70%; to width:600px; or whatever.

hope that helps.

elis
05-06-2006, 06:54 PM
Have you tried to modify your language file in language folder?
Assuming that in HTML language << is &laquo; and >> is &raquo;
I have changed rows 46 and 47 in my lang-english.php file in this way:


45 // IMAGE NAVIGATION
46 $lang_previous = "&laquo; prev"; //was "Previous"
47 $lang_next = "next &raquo;"; //was "Next"

elis
05-06-2006, 06:57 PM
Sorry Joe[y], I read just shortly afterwards your answer

Jodi
05-07-2006, 01:46 PM
Thank you both very much!

I first tried modifying the language file and adding a link to an arrow.gif insted of the word 'previous'. That was a disaster!!! Ended up making my whole blog not show up!!! (perhaps I did that wrong.... took out "prvious" and added <img src="......">.) So, I decided to go with the "<<" ">>" insted. Worked brilliantly.

:)

Cheers!

Jodi

http://www.fivefeet.ca

Vernon.Trent
05-07-2006, 01:56 PM
a bold ">>" looks much better than any gfx :)

Jodi
05-07-2006, 01:58 PM
Bold? How do I make it bold? I'm up for it!!

--Jodi

Vernon.Trent
05-07-2006, 03:35 PM
Bold? How do I make it bold? I'm up for it!!

--Jodi


<b> this text will be bold <b />

like this

<b>&laquo;</b>

RobbieMc
05-07-2006, 03:36 PM
I think you can just put <b> ... </b> around the arrows in your language file.