Welcome Guest, Not a member yet? Register   Sign In
customize pagination links
#1

[eluser]Ngulo[/eluser]
hi all
i was looking to change my pagination links

i would like to change the default output of the next and prev links by:

<a >next</a>

to:
<a >somenthing else(like image one)</a>

is it possible?

thanks guys Wink
#2

[eluser]Ngulo[/eluser]
opsss Smile i found this

$config['first_link'] = 'Primo';
$config['next_link'] = 'avanti';
$config['prev_link'] = 'indietro';
$config['last_link'] = 'Ultimo';


these are changed by me but if i want $confing['first_link']='<p>...some image...</p>';

must i tell the image path into this variable?

is it right?
#3

[eluser]Ngulo[/eluser]
sorry another question Smile

if i want to eliminate links $config[‘first_link’] = ‘Primo’; and $config[‘last_link’] = ‘Ultimo’;

can i remove definitely? or must i always have these shows?
#4

[eluser]danmontgomery[/eluser]
I think what you're looking for is this: http://ellislab.com/forums/viewthread/149437/
#5

[eluser]Ngulo[/eluser]
thanks noctrum Wink

i understood how to customize my links but if i set

for example:

$config['first_link']=''; (so it is NULL)

the <a> link of this -> is shown anyway as <a>nothing</a>

i would like to know how and where to modify for definetly eliminate one of $config links without showing the <a> tags Smile

hope you understood my bad english Tongue
#6

[eluser]danmontgomery[/eluser]
[quote author="ispuk" date="1269460030"]thanks noctrum Wink

i understood how to customize my links but if i set

for example:

$config['first_link']=''; (so it is NULL)

the <a> link of this -> is shown anyway as <a>nothing</a>

i would like to know how and where to modify for definetly eliminate one of $config links without showing the <a> tags Smile

hope you understood my bad english Tongue[/quote]

I don't see any reference to setting the value to null... There's no way to disable the options, but you can hide them in HTML comments. Read over the thread again: http://ellislab.com/forums/viewreply/725616/
#7

[eluser]Ngulo[/eluser]
yeah i didn't read at the end sorry now i have Smile

sorry for another question

if i want to put into
$config['first_link']='some image';

i can do this
Code:
$config['first_link']='<img src="some_image.gif"/>';
will be shown as
Code:
<a><img src="some_image.gif"/></a>


??

Wink




Theme © iAndrew 2016 - Forum software by © MyBB