Jump to content

  • twitter
  • youtube
  • googleplus
  • facebook
  • rss
  • newsletter


Tutorial info Visit support topic

  • Added on: Mar 25 2011 06:11 AM
  • Views: 822
 


Adjusting the number of emoticons per row

A quick article on how to adjust the number of emoticons shown per row in the editor

Posted by AndyF on Mar 25 2011 06:11 AM
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...
		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;

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:

3 per row:

Posted Image


4 per row:

Posted Image

Powered by Tutorials 1.4.1 © 2012, by Michael McCune