CodeIgniter Forums
User Manual: smileys - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: User Manual: smileys (/thread-6528.html)



User Manual: smileys - El Forum - 03-03-2008

[eluser]monkster[/eluser]
Hi,

In the section regarding views:

"&lt;/form&gt; <p>Click to insert a smiley!</p> &lt;?php echo $smiley_table; ?&gt; &lt;/body&gt; &lt;/html&gt;"

This is out of the textarea when it's supposed to be within.


User Manual: smileys - El Forum - 03-03-2008

[eluser]Grahack[/eluser]
Code:
<p>Click to insert a smiley!</p> &lt;?php echo $smiley_table; ?&gt;
is out of the form tag, so will be outside the textarea.
IMHO, no way to display the smiley table in the textarea (if it was what you wanted to do).


User Manual: smileys - El Forum - 03-03-2008

[eluser]monkster[/eluser]
Oh, that's not what I meant.

On that page, http://ellislab.com/codeigniter/user-guide/helpers/smiley_helper.html , the example was showing what to place inside the View file, and the contents of the View file was placed inside a textarea on smiley_helper.html, but I suppose "&lt;/form&gt; <p>Click to insert a smiley!</p> &lt;?php echo $smiley_table; ?&gt; &lt;/body&gt; &lt;/html&gt;" was left out of the textarea by mistake.

Was a little confusing for me when I first read that page.


User Manual: smileys - El Forum - 03-03-2008

[eluser]Grahack[/eluser]
Ok, sorry. It seems to be fixed now.