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
-
expNinja January 6th, 2013 @ 12:59 AM
- State changed from new to resolved
(from [3fba291eafd467fd3a2268ebdf9695dfb5191943]) Adds a 'noaction' param to {icon} function to set href="#" for javascript icons...the 'notext' param would prove to be fruitless since we need to specifically place an image as the link to prevent clipping [#839 state:resolved] https://github.com/exponentcms/exponent-cms/commit/3fba291eafd467fd...
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.
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