CodeIgniter Forums

Full Version: User Manual: smileys
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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.

El Forum

[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).

El Forum

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

On that page, http://ellislab.com/codeigniter/user-gui...elper.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.

El Forum

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