<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1397981557959272286</id><updated>2024-10-04T21:15:29.657-07:00</updated><category term="CSS"/><category term="SMARTY programming"/><category term="Wordpress Plugin"/><category term="style"/><category term="wordpress"/><title type='text'>Programming Tech</title><subtitle type='html'>This is the blog for people who is intrested in web programming</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://techno-ai.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://techno-ai.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02433797380918026001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1397981557959272286.post-3140888646671957718</id><published>2012-11-04T01:52:00.001-07:00</published><updated>2012-11-04T01:58:47.428-07:00</updated><title type='text'>Overriding the CSS styling</title><content type='html'>How to hack the CSS styling?&lt;br /&gt;
&lt;br /&gt;
well, usually when we have some template with css class, and we want to adjust the style or we want to adjust the position or etc..
and we cant seems to find the codes on where to adjust it.&lt;br /&gt;
so we can perform a CSS hack.&lt;br /&gt;
its simple. but a lazy style. but its efficient and work great.&lt;br /&gt;
like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&quot;theclass&quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
some text here&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it seems like there is a style class to the &amp;lt;div&amp;gt; tag. but we cant seems to find the class in the css file. then we perform the inline style CSS code.&lt;br /&gt;
&lt;br /&gt;
like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&quot;theclass&quot; style=&quot;color:#000000; width:300px; height:250px; background-color:#dedede;&quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
some text here&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so the browser will render the inline style first and override the CSS for the current div.&lt;br /&gt;
&lt;br /&gt;
have fun ;-)&lt;br /&gt;
&lt;br /&gt;
Result:&lt;br /&gt;
&lt;div class=&quot;theclass&quot; style=&quot;background-color: #dedede; color: black; height: 250px; width: 300px;&quot;&gt;
some text here

&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://techno-ai.blogspot.com/feeds/3140888646671957718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techno-ai.blogspot.com/2012/11/overriding-css-styling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/3140888646671957718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/3140888646671957718'/><link rel='alternate' type='text/html' href='http://techno-ai.blogspot.com/2012/11/overriding-css-styling.html' title='Overriding the CSS styling'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02433797380918026001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1397981557959272286.post-6846947144612756822</id><published>2012-10-30T17:54:00.003-07:00</published><updated>2012-10-30T17:54:46.456-07:00</updated><title type='text'>CSS - Diffrent between id and class</title><content type='html'>CSS (Cascading Style Sheet)&lt;br /&gt;
&lt;br /&gt;
the&amp;nbsp;different between id and class for styling using css is another easy part.&lt;br /&gt;
&lt;br /&gt;
lets take a look....&lt;br /&gt;
&amp;lt;style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#idclass {&lt;br /&gt;
color: red;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.normal_class{&lt;br /&gt;
color: blue;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font id=&quot;idclass&quot;&amp;gt;This is styling using &lt;b&gt;id&lt;/b&gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font class=&quot;normal_class&quot;&amp;gt;This is styling using&amp;nbsp;&lt;b&gt;class&lt;/b&gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
see? actually, its just the same. the&amp;nbsp;different&amp;nbsp;is just using dot &quot;.&quot; for class or just use hash &quot;#&quot; for id.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Result:
&lt;br&gt;&lt;br&gt;
&lt;style&gt;

#idclass {
color: red;
}

.normal_class{
color: blue;
} 
&lt;/style&gt;

&lt;font id=&quot;idclass&quot;&gt;This is styling using &lt;b&gt;id&lt;/b&gt;&lt;/font&gt;
&lt;br&gt;
&lt;font class=&quot;normal_class&quot;&gt;This is styling using &lt;b&gt;class&lt;/b&gt;&lt;/font&gt;</content><link rel='replies' type='application/atom+xml' href='http://techno-ai.blogspot.com/feeds/6846947144612756822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techno-ai.blogspot.com/2012/10/css-diffrent-between-id-and-class.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/6846947144612756822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/6846947144612756822'/><link rel='alternate' type='text/html' href='http://techno-ai.blogspot.com/2012/10/css-diffrent-between-id-and-class.html' title='CSS - Diffrent between id and class'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02433797380918026001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1397981557959272286.post-1064251764964305120</id><published>2012-10-30T17:43:00.001-07:00</published><updated>2012-10-30T17:43:10.226-07:00</updated><title type='text'>Wordpress meta tag</title><content type='html'>wordpress meta tag can be the most useful features when you create an application.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;this is to add user meta key:&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
add_user_meta($user-&amp;gt;ID, &#39;metakey1&#39;, &#39;value1&#39;);&lt;br /&gt;
&lt;br /&gt;
add_post_meta($user-&amp;gt;ID, &#39;metakey2&#39; , &#39;value2&#39;);&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;u&gt;this is to get the key back:&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
get_user_meta($user-&amp;gt;ID, &#39;metakey1&#39;, true);&lt;br /&gt;
&lt;br /&gt;
get_post_meta($user-&amp;gt;ID, &#39;metakey2&#39;, true);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
its just a simple function but can be very&amp;nbsp;useful&amp;nbsp;when you need it :-)</content><link rel='replies' type='application/atom+xml' href='http://techno-ai.blogspot.com/feeds/1064251764964305120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techno-ai.blogspot.com/2012/10/wordpress-meta-tag.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/1064251764964305120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/1064251764964305120'/><link rel='alternate' type='text/html' href='http://techno-ai.blogspot.com/2012/10/wordpress-meta-tag.html' title='Wordpress meta tag'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02433797380918026001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1397981557959272286.post-6928313595855117184</id><published>2012-10-30T17:28:00.002-07:00</published><updated>2012-10-30T17:47:08.813-07:00</updated><title type='text'>Background color inside div</title><content type='html'>background color inside dive is easy.... this is it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;style&amp;gt;&lt;br /&gt;
.test {&lt;br /&gt;
background-color:#dedede;&lt;br /&gt;
color:#000000;&lt;br /&gt;
width:300px;&lt;br /&gt;
height: 200px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;div class=&quot;test&quot;&amp;gt;put content here&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
there you go. the result of this code is just a 300px width box and 200px height with a grey color inside the box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Result:
&lt;br /&gt;
&lt;br /&gt;
&lt;style&gt;
.test {
background-color:#dedede;
color:#000000;
width:300px;
height: 200px;
}
&lt;/style&gt;

&lt;div class=&quot;test&quot;&gt;
put content here&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://techno-ai.blogspot.com/feeds/6928313595855117184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techno-ai.blogspot.com/2012/10/background-color-inside-div.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/6928313595855117184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/6928313595855117184'/><link rel='alternate' type='text/html' href='http://techno-ai.blogspot.com/2012/10/background-color-inside-div.html' title='Background color inside div'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02433797380918026001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1397981557959272286.post-7252619630739152696</id><published>2012-10-08T05:46:00.000-07:00</published><updated>2012-10-08T05:46:07.684-07:00</updated><title type='text'>Create Wordpress Themes From Scratch</title><content type='html'>Well actually, what you will need is just the knowledge of HTML, CSS and PHP and also some other&amp;nbsp;additional&amp;nbsp;programming&amp;nbsp;language&amp;nbsp;that you now.&lt;br /&gt;
&lt;br /&gt;
ill give you a link which I had learn how to do it in a pretty fast and effective method.&lt;br /&gt;
this is the link:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://themeshaper.com/2009/06/25/wordpress-theme-template-directory-structure-tutorial/&quot;&gt;http://themeshaper.com/2009/06/25/wordpress-theme-template-directory-structure-tutorial/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
enjoy it!&lt;br /&gt;
:)</content><link rel='replies' type='application/atom+xml' href='http://techno-ai.blogspot.com/feeds/7252619630739152696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techno-ai.blogspot.com/2012/10/create-wordpress-themes-from-scratch.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/7252619630739152696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/7252619630739152696'/><link rel='alternate' type='text/html' href='http://techno-ai.blogspot.com/2012/10/create-wordpress-themes-from-scratch.html' title='Create Wordpress Themes From Scratch'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02433797380918026001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1397981557959272286.post-880462841683784837</id><published>2012-09-17T08:04:00.001-07:00</published><updated>2012-09-17T08:04:27.518-07:00</updated><title type='text'>CSS - centering div</title><content type='html'>well.. It is quite easy to centering your div.&lt;br /&gt;
&lt;br /&gt;
use this attribute in your css to center your div.&lt;br /&gt;
&lt;br /&gt;
margin-left:auto;&lt;br /&gt;
margin-right:auto;&lt;br /&gt;
width:500px;&lt;br /&gt;
&lt;br /&gt;
centering your div in the html will require this three attribute to be embedded into your css.&lt;br /&gt;
without the width:xxxx&lt;br /&gt;
you couldnt center it. because it didnt have the exact measurement to be centered.</content><link rel='replies' type='application/atom+xml' href='http://techno-ai.blogspot.com/feeds/880462841683784837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techno-ai.blogspot.com/2012/09/css-centering-div.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/880462841683784837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/880462841683784837'/><link rel='alternate' type='text/html' href='http://techno-ai.blogspot.com/2012/09/css-centering-div.html' title='CSS - centering div'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02433797380918026001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1397981557959272286.post-4472828184156171914</id><published>2012-08-24T07:26:00.000-07:00</published><updated>2012-08-24T07:27:46.578-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="style"/><title type='text'>Identify the code for your stylesheet</title><content type='html'>do you ever wonder how in the world to style up your blog design?&lt;br /&gt;
of course you will need a programming langguage to learn wasnt it?&lt;br /&gt;
&lt;br /&gt;
so i will tell you in a simple way on how to know what kind of method to identify your blog style from just editing your html template&lt;br /&gt;
(of course I am talking about the blogspot template!)&lt;br /&gt;
&lt;br /&gt;
so, just go and edit your HTML template.&lt;br /&gt;
&lt;br /&gt;
just scroll down and have a scan on the codes (which you get dizzy if you dont understand them).&lt;br /&gt;
you see, there are some sort of format to style up the template. Many blog or website or so other sjashing looking site will use the .CSS style file to style up their site.&lt;br /&gt;
&lt;br /&gt;
now. if&lt;br /&gt;
you want to identify the style for the blogspot template.&lt;br /&gt;
you should find this kind of format&lt;br /&gt;
&lt;br /&gt;
body{&lt;br /&gt;
color: #ffffff;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
this is the CSS format of styling your blog.&lt;br /&gt;
find this in your template and learn how to play arround with CSS.&lt;br /&gt;
I am sure youll make a smashing looking site yourself&lt;br /&gt;
&lt;br /&gt;
:-)</content><link rel='replies' type='application/atom+xml' href='http://techno-ai.blogspot.com/feeds/4472828184156171914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techno-ai.blogspot.com/2012/08/identify-code-for-your-stylesheet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/4472828184156171914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/4472828184156171914'/><link rel='alternate' type='text/html' href='http://techno-ai.blogspot.com/2012/08/identify-code-for-your-stylesheet.html' title='Identify the code for your stylesheet'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02433797380918026001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1397981557959272286.post-7898476166511976988</id><published>2012-08-24T01:45:00.000-07:00</published><updated>2012-08-24T01:45:11.321-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="wordpress"/><category scheme="http://www.blogger.com/atom/ns#" term="Wordpress Plugin"/><title type='text'>Creating Wordpress Plugin</title><content type='html'>&lt;iframe src=&quot;http://www.slideshare.net/slideshow/embed_code/586718&quot; width=&quot;427&quot; height=&quot;356&quot; frameborder=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot; style=&quot;border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px&quot; allowfullscreen&gt; &lt;/iframe&gt; &lt;div style=&quot;margin-bottom:5px&quot;&gt; &lt;strong&gt; &lt;a href=&quot;http://www.slideshare.net/rebelpixel/developing-wordpress-plugins-presentation&quot; title=&quot;Developing WordPress Plugins&quot; target=&quot;_blank&quot;&gt;Developing WordPress Plugins&lt;/a&gt; &lt;/strong&gt; from &lt;strong&gt;&lt;a href=&quot;http://www.slideshare.net/rebelpixel&quot; target=&quot;_blank&quot;&gt;rebelpixel&lt;/a&gt;&lt;/strong&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://techno-ai.blogspot.com/feeds/7898476166511976988/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techno-ai.blogspot.com/2012/08/creating-wordpress-plugin.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/7898476166511976988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/7898476166511976988'/><link rel='alternate' type='text/html' href='http://techno-ai.blogspot.com/2012/08/creating-wordpress-plugin.html' title='Creating Wordpress Plugin'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02433797380918026001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1397981557959272286.post-1603573540027735761</id><published>2012-08-23T19:46:00.000-07:00</published><updated>2012-08-23T19:46:05.939-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SMARTY programming"/><title type='text'>SMARTY programming</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVatVzelAf8i_s7CbquIB4aslLKBS0yTGeMVEATrLdbzvoJZDCj15rLZzLtvyWREqCl3rhdxZwh1i-qHduNr-qskpgV1h0YStt6hvcAikVAnBBrjn5z80-7lY3RH6YknM2UP-IMoflZ2PB/s1600/smarty_icon.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;112&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVatVzelAf8i_s7CbquIB4aslLKBS0yTGeMVEATrLdbzvoJZDCj15rLZzLtvyWREqCl3rhdxZwh1i-qHduNr-qskpgV1h0YStt6hvcAikVAnBBrjn5z80-7lY3RH6YknM2UP-IMoflZ2PB/s320/smarty_icon.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
I had been learning myself to code this SMARTY programming style. It is quite different from the basic PHP programming. in basic PHP programming we will use &amp;lt;?php some function here..... ?&amp;gt; &amp;nbsp;the PHP tag.&lt;br /&gt;
but in SMARTY I have to use additional tag like {$variable} to display data and to manipulate the template.&lt;br /&gt;
&lt;br /&gt;
let say if i want to display this text &quot;hello there! good day huh!&quot;. in PHP I will code it like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php echo &quot;hello there! good day huh!&quot;; ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
but in SMARTY, I have to assign the values from other file to the template file.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;otherfile.php&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
$hellotext = &quot;hello there! good day huh!&quot;;&lt;br /&gt;
&lt;br /&gt;
$smarty-&amp;gt;assign(&#39;myvariable&#39;, $hellotext);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
after the assignment, i hade to do the template variable manipulation in the template file( .tpl) .&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;display.tpl&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;test&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
{$myvariable}&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
when the code is running it will be displayed like this:&lt;br /&gt;
&lt;br /&gt;
hello there! good day huh!</content><link rel='replies' type='application/atom+xml' href='http://techno-ai.blogspot.com/feeds/1603573540027735761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techno-ai.blogspot.com/2012/08/smarty-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/1603573540027735761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/1603573540027735761'/><link rel='alternate' type='text/html' href='http://techno-ai.blogspot.com/2012/08/smarty-programming.html' title='SMARTY programming'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02433797380918026001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVatVzelAf8i_s7CbquIB4aslLKBS0yTGeMVEATrLdbzvoJZDCj15rLZzLtvyWREqCl3rhdxZwh1i-qHduNr-qskpgV1h0YStt6hvcAikVAnBBrjn5z80-7lY3RH6YknM2UP-IMoflZ2PB/s72-c/smarty_icon.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1397981557959272286.post-5291393737345977276</id><published>2012-08-23T02:30:00.002-07:00</published><updated>2012-08-23T02:30:52.946-07:00</updated><title type='text'>The First Post</title><content type='html'>hello there! this is my first post and I am proud to be a coder!</content><link rel='replies' type='application/atom+xml' href='http://techno-ai.blogspot.com/feeds/5291393737345977276/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techno-ai.blogspot.com/2012/08/the-first-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/5291393737345977276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1397981557959272286/posts/default/5291393737345977276'/><link rel='alternate' type='text/html' href='http://techno-ai.blogspot.com/2012/08/the-first-post.html' title='The First Post'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02433797380918026001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>