Editing Quick Reply »  Show posts from    to     

Icy Phoenix


Old Support Topics - Editing Quick Reply



elpulgas [ Mon 17 Aug, 2009 06:29 ]
Post subject: Editing Quick Reply
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:
Code: [Hide] [Select]
<!-- IF S_CAN_REPLY -->{CA_QUICK_REPLY_BUTTON}<!-- ENDIF -->

So can anyone tell me where to find it?

Thank you


Lopalong [ Mon 17 Aug, 2009 07:46 ]
Post subject: Re: Editing Quick Reply
Not quite sure what you are actually trying to change ?

default.cfg

Code: [Hide] [Select]
$images['quick_reply'] = $buttons_lang_folder . 'button_quick_reply.' . $buttons_extension . $img_fade;


elpulgas [ Mon 17 Aug, 2009 18:01 ]
Post 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:

Code: [Hide] [Select]
<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>


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.


DWho [ Mon 17 Aug, 2009 18:51 ]
Post subject: Re: Editing Quick Reply
Have a look in

templates\default\xs_topic.tpl



elpulgas [ Mon 17 Aug, 2009 19:01 ]
Post subject: Re: Editing Quick Reply
DWho wrote: [View Post]
Have a look in

templatesdefaultxs_topic.tpl



Thank you! That's exactly what I was looking for.

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 [ Tue 18 Aug, 2009 11:39 ]
Post subject: Re: Editing Quick Reply
great glad you got it sorted...




Powered by Icy Phoenix