[support] theme more link in view panel

Jonathan Hedstrom jhedstrom at opensourcery.com
Tue Nov 25 00:37:04 UTC 2008



Christopher M. Jones wrote:
> I've got a panel node displaying a view. In the panel content 
> configuration I set the option to display a "more" link to the view. I 
> need to theme this link so that I says something other than "more", but 
> I'm not sure which theme override function, if any, I should use. Is 
> this link generated by views? So I should be able to theme the views 
> "more" link? Or is it generated by panels, and I should looking for a 
> panels theme override?
>
> This is somewhat urgent, so all help is appreciated.
>   

You should be able to create a file in your theme directory called
"views-more.tpl.php". See the file {views
directory}/theme/views-more.tpl.php for guidance on what variables are
available. If you're using D6, you'll have to clear your cache after
adding the template file to your theme directory.

Cheers,

Jonathan

-- 
Jonathan Hedstrom                                     OpenSourcery
http://opensourcery.com                        Technology for Good


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.drupal.org/pipermail/support/attachments/20081124/aa076595/attachment.pgp 


More information about the support mailing list