customize pagination links |
[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
[eluser]Ngulo[/eluser]
opsss 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?
[eluser]Ngulo[/eluser]
sorry another question 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?
[eluser]danmontgomery[/eluser]
I think what you're looking for is this: http://ellislab.com/forums/viewthread/149437/
[eluser]Ngulo[/eluser]
thanks noctrum 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 hope you understood my bad english
[eluser]danmontgomery[/eluser]
[quote author="ispuk" date="1269460030"]thanks noctrum 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 hope you understood my bad english [/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/
[eluser]Ngulo[/eluser]
yeah i didn't read at the end sorry now i have 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"/>'; Code: <a><img src="some_image.gif"/></a> ?? |
Welcome Guest, Not a member yet? Register Sign In |