SOLVED Editing Quick Reply


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: [Download] [Hide] [Select]
<!-- IF S_CAN_REPLY -->{CA_QUICK_REPLY_BUTTON}<!-- ENDIF -->

So can anyone tell me where to find it?

Thank you

Profile PM  
Inactive User
Subject: Re: Editing Quick Reply
Not quite sure what you are actually trying to change ?

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:

Code: [Download] [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.

Profile PM  
Subject: Re: Editing Quick Reply
Have a look in

templates\default\xs_topic.tpl

:mrgreen: :mrgreen:

Subject: Re: Editing Quick Reply
DWho wrote: [View Post]
Have a look in

templatesdefaultxs_topic.tpl

:mrgreen: :mrgreen:


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

Profile PM  
Subject: Re: Editing Quick Reply
great glad you got it sorted...


Page 1 of 1


  
You cannot post new topics
You 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