Hi,
I'm just changing the way the buttons display but I've got problems editing the quick reply button because i don't know where it's code is.
Here's the code from viewtopic.tpl:
So can anyone tell me where to find it?
Thank you
SOLVED Editing Quick Reply
Subject: Re: Editing Quick Reply
Not quite sure what you are actually trying to change ?
default.cfg
default.cfg
Code: [Download] [Hide] [Select]
$images['quick_reply'] = $buttons_lang_folder . 'button_quick_reply.' . $buttons_extension . $img_fade;
Subject: Re: Editing Quick Reply
No, what I'm trying to do is see where is the {CA_QUICK_REPLY_BUTTON} code. In default.cfg tou can change the image, the extension, wheter it should fade or not but the {CA_QUICK_REPLY_BUTTON} command automatically writes something like:
Let's say I want to change the class of the a tag and remove the img tag or something similar. That's why I need to know where it is.
<a onclick="ShowHide('quick_reply', 'quick_reply2'); return false;" href="#">
<img title="Respuesta rápida" alt="Respuesta rápida" src="templates/knekz/images/blue/lang_spanish/button_quick_reply.gif"/>
</a>
<img title="Respuesta rápida" alt="Respuesta rápida" src="templates/knekz/images/blue/lang_spanish/button_quick_reply.gif"/>
</a>
Let's say I want to change the class of the a tag and remove the img tag or something similar. That's why I need to know where it is.
Subject: Re: Editing Quick Reply
Thank you! That's exactly what I was looking for. :mrgreen:
Do you know if that file also controls the buttons for private messaging?
Edit: Nevermind it's right there on privmsg_read_body.tpl . However, it'd be useful to know where the private messaging images are because I'm having the same problem with REPLY_PM_IMG :(
Edit (again): Well I only found that REPLY_PM_IMG code in privmsg.php and since I'm not going to change php for a template I'll just use the old markup for the PMs. I think you can mark this as solved
DWho wrote: [View Post]
Thank you! That's exactly what I was looking for. :mrgreen:
Do you know if that file also controls the buttons for private messaging?
Edit: Nevermind it's right there on privmsg_read_body.tpl . However, it'd be useful to know where the private messaging images are because I'm having the same problem with REPLY_PM_IMG :(
Edit (again): Well I only found that REPLY_PM_IMG code in privmsg.php and since I'm not going to change php for a template I'll just use the old markup for the PMs. I think you can mark this as solved
Page 1 of 1
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.0603s (PHP: 28% SQL: 72%)
SQL queries: 10 - Debug Off - GZIP Enabled