2014-01-04, 01:30 PM
(This post was last modified: 2014-01-04, 01:38 PM by Nicolas Flamel.)
I'm having a problem I don't understand.
My thankyoulike_button_add template is
Why is this not css?
Here's the code for a working css button:
Postbit_email
What's wrong? I'm stumped.
Thanks,
Poliwag
EDIT:
works on a test forum, with the same css
My thankyoulike_button_add template is
<span id="tyl_btn_{$post['pid']}"><a href="thankyoulike.php?action=add&pid={$post['pid']}&my_post_key={$mybb->post_code}" onclick="return thankyoulike.add({$post['pid']}, {$post['tid']});" title="{$lang->add_tyl}" id="tyl_a{$post['pid']}" class="postbit_button">Thanks</a></span>
Why is this not css?
Here's the code for a working css button:
Postbit_email
<a href="member.php?action=emailuser&uid={$post['uid']}" class="postbit_button button_email" title="{$lang->postbit_email}">Email</a>
What's wrong? I'm stumped.
Thanks,
Poliwag
EDIT:
<span id="tyl_btn_{$post['pid']}"><a href="thankyoulike.php?action=add&pid={$post['pid']}&my_post_key={$mybb->post_code}" onclick="return thankyoulike.add({$post['pid']}, {$post['tid']});" title="{$lang->add_tyl}" id="tyl_a{$post['pid']}" class="postbit_button">Thanks</a></span>
works on a test forum, with the same css