Replies: 3 comments 9 replies
-
The standard way to use is This unfortunately has not been implemented everywhere A lot of the other icons you mentioned are partly rewritten from old v1 code, but could use standardisation. |
Beta Was this translation helpful? Give feedback.
-
Guys, the best solution for form elements was introduced by @CaMer0n with HTML snippets for checkboxes and radios. Example: (HTML file in theme folder)
Full theme control of HTML markup and still using form handler and the same method everywhere. I think this could be used for buttons too. So e107::getForm()->button() can be used as before without worrying about frontend theme markup and classes. You should look at this solution - look for getSnippet() and renderSnippet() in form handler. |
Beta Was this translation helpful? Give feedback.
-
Wow, am i nuts or the snippets files that are on @CaMer0n commits, are not on the base code??? Real weird. The current base code inside the Boostrap3 theme What i'm seeing wrong here???? Even when i make the zip for the current code, the files isn't there! |
Beta Was this translation helpful? Give feedback.
-
Why there's so many code scatered across e107 to make something so simple as a single button?
For instance, in news:
PRINTICON
EMAILICON
PDFICON
SOCIALSHARE
in forum:
EMAILITEM
PRINTITEM
REPORTING
EDITIMG
QUOTEIMG
and so on...
Basically, why not reuse the emailprint function to render all sitewide buttons? Currently is only used by PRINTICON and EMAILICON from news, but it works for all the other purposes with some tweaks......
Beta Was this translation helpful? Give feedback.
All reactions