https://www.icyphoenix.com/viewtopic.php?f=35&t=6325
-----------------------------------
elpulgas
Mon 17 Aug, 2009 06:29

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 linenumbers=false]<!-- IF S_CAN_REPLY -->{CA_QUICK_REPLY_BUTTON}<!-- ENDIF -->[/code]
So can anyone tell me where to find it? 

Thank you


-----------------------------------
Lopalong
Mon 17 Aug, 2009 07:46

Re: Editing Quick Reply
-----------------------------------
Not quite sure what you are actually trying to change ?

default.cfg

[code linenumbers=false]$images['quick_reply'] = $buttons_lang_folder . 'button_quick_reply.' . $buttons_extension . $img_fade;[/code]


-----------------------------------
elpulgas
Mon 17 Aug, 2009 18:01

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 linenumbers=false]<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>[/code]

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

Re: Editing Quick Reply
-----------------------------------
Have a look in 

templates\default\xs_topic.tpl

 :mrgreen:  :mrgreen:


-----------------------------------
elpulgas
Mon 17 Aug, 2009 19:01

Re: Editing Quick Reply
-----------------------------------
[quote user="DWho" post="43100"]Have a look in 

templatesdefaultxs_topic.tpl

 :mrgreen:  :mrgreen:[/quote]

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
Tue 18 Aug, 2009 11:39

Re: Editing Quick Reply
-----------------------------------
great glad you got it sorted...


