[theme-reviewers] Tinymce button that only adds css codes.. still plugin territory?
Chip Bennett
chip at chipbennett.net
Sun Mar 3 19:23:49 UTC 2013
Which further demonstrates why the functionality belongs in a Plugin, and
not in the Theme.
On Sun, Mar 3, 2013 at 2:23 PM, Srikanth Koneru <tskk79 at gmail.com> wrote:
> I think this is what he means :
>
> .bluebutton { }
> .redbutton { }
> can be defined in stylesheet, but user has to enter <a href="#"
> class="bluebutton">Cute kittens here</a>
> most users can't do that as they don't know how to do it, but they can
> click on the mce buttons, select a button and fill link text and anchor.
> Sure when the user switches themes, the beautiful buttons will become
> ordinary links inheriting the styles of a tag in the new theme.
>
>
> On Mon, Mar 4, 2013 at 12:45 AM, Chip Bennett <chip at chipbennett.net>wrote:
>
>> All of those uses of an anchor link can already be styled by the Theme,
>> without the need for <span class="foobar"></span> wrappers.
>>
>> The question we're asking is why does *your Theme* need the user to
>> inject a button link into the post content? If YOUR THEME does not have a
>> *specific purpose* for injecting a button link into the post content, then
>> injection of an arbitrary button link for an arbitrary purpose is outside
>> the scope of the Theme.
>>
>>
>> On Sun, Mar 3, 2013 at 2:07 PM, Ünsal Korkmaz <unsalkorkmaz at gmail.com>wrote:
>>
>>> "can be anything" = Plugin territory.
>>> I cant say purpose of <a> tag mate.. come on.. am i in a dream? are u
>>> asking me purpose of <a> tag?
>>> what can i say?
>>>
>>> - user can link to his company website
>>> - user can link to his product
>>> - user can link to a kitty picture
>>> - etc..
>>>
>>> Seriously i didnt understand question in there i think
>>>
>>> On Sun, Mar 3, 2013 at 9:04 PM, Chip Bennett <chip at chipbennett.net>wrote:
>>>
>>>> "can be anything" = Plugin territory.
>>>>
>>>>
>>>> On Sun, Mar 3, 2013 at 1:59 PM, Ünsal Korkmaz <unsalkorkmaz at gmail.com>wrote:
>>>>
>>>>> Tinymce button is just adding "btn" class to <a> tag when click.
>>>>> But i think Chip was asking button purpose on post content which can
>>>>> be anything (promotion etc)
>>>>>
>>>>>
>>>>> On Sun, Mar 3, 2013 at 8:36 PM, Otto <otto at ottodestruct.com> wrote:
>>>>>
>>>>>> On Sun, Mar 3, 2013 at 11:13 AM, Ünsal Korkmaz <
>>>>>> unsalkorkmaz at gmail.com> wrote:
>>>>>> >> What is the purpose of that button?
>>>>>> >
>>>>>> > That can be anything.
>>>>>>
>>>>>> He wasn't asking about general HTML theory and the generic idea of
>>>>>> "buttons".
>>>>>>
>>>>>> What does YOUR button do, in your theme? Specifically. What class does
>>>>>> it add? What wrapper does it add? Why does it do that? Why does YOUR
>>>>>> theme have or need a button?
>>>>>>
>>>>>> The answers to these questions *do matter*, You're not going to get a
>>>>>> generic response saying "all buttons are okay" because not all buttons
>>>>>> are okay. But some might be, depending on their purpose.
>>>>>>
>>>>>> Forget the general question. Answer the specific one for YOUR
>>>>>> specific needs.
>>>>>>
>>>>>> -Otto
>>>>>> _______________________________________________
>>>>>> theme-reviewers mailing list
>>>>>> theme-reviewers at lists.wordpress.org
>>>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> theme-reviewers mailing list
>>>>> theme-reviewers at lists.wordpress.org
>>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> theme-reviewers mailing list
>>>> theme-reviewers at lists.wordpress.org
>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>>
>>>>
>>>
>>> _______________________________________________
>>> theme-reviewers mailing list
>>> theme-reviewers at lists.wordpress.org
>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>
>>>
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20130303/6d69fd63/attachment-0001.htm>
More information about the theme-reviewers
mailing list