<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to Insert Ticket Number into Premade Reply Answer in osTicket v1.6 RC5</title>
	<atom:link href="http://www.openscriptsolution.com/2009/11/09/how-to-insert-ticket-number-into-premade-reply-answer-in-osticket-v1-6-rc5/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.openscriptsolution.com/2009/11/09/how-to-insert-ticket-number-into-premade-reply-answer-in-osticket-v1-6-rc5/</link>
	<description>... where solutions for script programming are found ...</description>
	<lastBuildDate>Wed, 08 Feb 2012 12:54:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: bhoward</title>
		<link>http://www.openscriptsolution.com/2009/11/09/how-to-insert-ticket-number-into-premade-reply-answer-in-osticket-v1-6-rc5/comment-page-1/#comment-1067</link>
		<dc:creator>bhoward</dc:creator>
		<pubDate>Thu, 04 Mar 2010 07:21:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=814#comment-1067</guid>
		<description>Well, I already did that earlier. I think I added variables in all the necessary places, including:

$search = array(&#039;/%ticket/&#039;,&#039;/%price/&#039;)
$replace = array($this-&gt;getExtId(), $this-&gt;getPrice(),

After that, I just copied/pasted your code TWICE (for &quot;%ticket&quot; and &quot;%price&quot;), like this:

                $body = str_replace(&quot;%price&quot;,$this-&gt;getPrice(),$body);
                $body = str_replace(&quot;%ticket&quot;,$this-&gt;getExtId(),$body);

I did the same thing for the second line of code you gave. But I&#039;m still getting no results. =(</description>
		<content:encoded><![CDATA[<p>Well, I already did that earlier. I think I added variables in all the necessary places, including:</p>
<p>$search = array(&#8216;/%ticket/&#8217;,'/%price/&#8217;)<br />
$replace = array($this-&gt;getExtId(), $this-&gt;getPrice(),</p>
<p>After that, I just copied/pasted your code TWICE (for &#8220;%ticket&#8221; and &#8220;%price&#8221;), like this:</p>
<p>                $body = str_replace(&#8220;%price&#8221;,$this-&gt;getPrice(),$body);<br />
                $body = str_replace(&#8220;%ticket&#8221;,$this-&gt;getExtId(),$body);</p>
<p>I did the same thing for the second line of code you gave. But I&#8217;m still getting no results. =(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Masino Sinaga</title>
		<link>http://www.openscriptsolution.com/2009/11/09/how-to-insert-ticket-number-into-premade-reply-answer-in-osticket-v1-6-rc5/comment-page-1/#comment-1066</link>
		<dc:creator>Masino Sinaga</dc:creator>
		<pubDate>Thu, 04 Mar 2010 06:47:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=814#comment-1066</guid>
		<description>You might add your own variables to the replaceTemplateVars function that located in /include/class.ticket.php file. Besides that, you have to learn about the related functions and or files; depending on your own need.</description>
		<content:encoded><![CDATA[<p>You might add your own variables to the replaceTemplateVars function that located in /include/class.ticket.php file. Besides that, you have to learn about the related functions and or files; depending on your own need.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bhoward</title>
		<link>http://www.openscriptsolution.com/2009/11/09/how-to-insert-ticket-number-into-premade-reply-answer-in-osticket-v1-6-rc5/comment-page-1/#comment-1064</link>
		<dc:creator>bhoward</dc:creator>
		<pubDate>Thu, 04 Mar 2010 04:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=814#comment-1064</guid>
		<description>Thanks for the code! But I was wondering: how can I add more variables to the code?

I&#039;d like to put ticket number (%ticket), customer price (%price), and maybe a few more variables in there. I&#039;ve been trying to figure it out all day, but I don&#039;t know what to do. =\

Please help if you can! (PS: I&#039;m also a member of osTicket Forums; I have the same username there.)</description>
		<content:encoded><![CDATA[<p>Thanks for the code! But I was wondering: how can I add more variables to the code?</p>
<p>I&#8217;d like to put ticket number (%ticket), customer price (%price), and maybe a few more variables in there. I&#8217;ve been trying to figure it out all day, but I don&#8217;t know what to do. =\</p>
<p>Please help if you can! (PS: I&#8217;m also a member of osTicket Forums; I have the same username there.)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
