Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Paging toolbar -> language of image

Quote Reply
Paging toolbar -> language of image
Is there some easily way to change tile (alt) names of images that are display when you move your mouse pointer on image for "next page", "last page" etc. ?

UnReal Network
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!
Quote Reply
Re: [Andy] Paging toolbar -> language of image In reply to
image_url doesn't work in global. maybe the best way is just to change text in utils.pm ?

Regards.

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

Or you could just change these bits:

image_url('paging-next.gif')

..so it looks like:

http://www.domain.com/static/luna/paging-next.gif

(or wherever those images are held)

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!
Quote Reply
Re: [Andy] Paging toolbar -> language of image In reply to
Will try. Thanks a lot.

Regards.

UnReal Network