#839 ✓resolved

Feature request - Add a 'noaction' and 'notext' option to {icon} function

Reported by dleffler | January 4th, 2013 @ 11:57 AM | in 2.1.1 (closed)

In order to have a more consistent interface implementation, we should add two params to the {icon} smarty function:

  • 'noaction' for generating an href="#" for buttons with a javascript action (which currently must be built by hand...noaction=1...mutually exclusive with 'action'
  • 'notext' for generating a button without text, icon only...notext=1...mutually exclusive with 'text'...we can currently do this in most cases by simply passing an image filename

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Bug Tracker for Exponent CMS

Shared Ticket Bins

People watching this ticket