Sign in to follow this  
Followers 0

Adjusting the number of emoticons per row


Description

A quick article on how to adjust the number of emoticons shown per row in the editor
Here is a quick article on how to adjust the number of emoticons shown in the editor. This might be helpful if you have a lot set 'clickable' and want some more to appear initially.

Connect via FTP or your hosts File Manager. Open /public/js/ips.editor.js

Around line 2162, find...
[code] var table = new Element( 'table', { id: this.id + '_emoticons_palette' } ).addClassName('rte_emoticons');
var tbody = new Element('tbody'); // IE needs a tbody
table.insert( tbody );
var perrow = 2;
var classname = '1';
var i = 0;[/code]

Adjust the var perrow = 2; line, taking care not to disturb any other code and save the change.

View the posting screen and hard refresh (CTRL +F5 on a Windows machine) the page to see the results. :)

I would suggest 3 or 4 usually. A couple of quick pics:

[b]3 per row:[/b]

[IMG]http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/emoticons_per_row_1.png[/IMG]


[b]4 per row:[/b]

[IMG]http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/emoticons_per_row_2.png[/IMG]



0 Comments

There are no comments to display.