Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [deadroot] Paging toolbar -> language of image

Quote Reply
Re: [deadroot] Paging toolbar -> language of image In reply to
Hi,

I believe you can do it by editing the "paging_options" global in the templates. By default, it is:

Code:
sub {
return {
max_pages => 25,
boundary_pages => 1,
style => 1,
};
}

You can edit it like so:

Code:
sub {
return {
max_pages => 25,
boundary_pages => 1,
style => 1,
style_next => '<img src="' . image_url('paging-next.gif') . '" alt="&gt;" title="Next Page" />',
style_prev => '<img src="' . image_url('paging-prev.gif') . '" alt="&lt;" title="Previous Page" />',
style_first => '<img src="' . image_url('paging-first.gif') . '" alt="|&lt;" title="First Page" />',
style_last => '<img src="' . image_url('paging-last.gif') . '" alt="&gt;|" title="Last Page" />',
style_nonext => '<img src="' . image_url('paging-nonext.gif') . '" alt="" />',
style_noprev => '<img src="' . image_url('paging-noprev.gif') . '" alt="" />',
style_nofirst => '<img src="' . image_url('paging-nofirst.gif') . '" alt="" />',
style_nolast => '<img src="' . image_url('paging-nolast.gif') . '" alt="" />',
};
}

Hope that helps.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Paging toolbar -> language of image DeadMan 3141 Jan 2, 2008, 7:30 AM
Thread Re: [deadroot] Paging toolbar -> language of image
Andy 3046 Jan 2, 2008, 8:58 AM
Thread Re: [Andy] Paging toolbar -> language of image
DeadMan 3067 Jan 2, 2008, 10:12 AM
Thread Re: [deadroot] Paging toolbar -> language of image
Andy 3075 Jan 2, 2008, 10:29 AM
Post Re: [Andy] Paging toolbar -> language of image
DeadMan 3044 Jan 2, 2008, 3:02 PM