Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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

#839

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

Reported by dleffler · January 4th, 2013 @ 11:57 AM

State: resolved
Milestone: 2.1.1
Assigned to: dleffler dleffler

Activity

  1. expNinja
    expNinja
    • 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 Feature request - Add a 'noaction' and 'notext' option to {icon} function state:resolved] https://github.com/exponentcms/exponent-cms/commit/3fba291eafd467fd...

    January 6th, 2013 @ 12:59 AM

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.