The Joomla! Extensions Directory ™

dannydawson

Reviews(2)
 
bydannydawson, May 29, 2012
Admin branding
Excellent little plugin, did exactly what I needed very quickly. A suggestion for adding another feature - is it possible to add a feature to change the favicon image?
bydannydawson, November 4, 2010
1 of 1 people found this review helpful
EmbedChessboard
Great plugin. Would be good if it supplied detailed step by step intructions on how to change size of chess board or provide an easy way to change settings of board size. this plugin does provide easy settings to change colour, which is great.
Owner's reply

Thanks for the feedback.

As far as the size of the chessboard is concerned, I'm afraid this is hardcoded in the code at the moment.

In order to add chessboards of different sizes to your joomla articles you have two options:

1) tweak the plugin code.
Look at the file embedchessboard.php where the square size is set in the line:

$replacement .= "&ss=26&ps=d&pf=d";

Changing the square size number "26" to a larger number will make your chessboard larger. You will also have to change the portions of code where the variable $height is set in order to take into account the larger resulting board size (manually increase the height numeric values and check the results on different articles showing different chessboards). When increasing the square size, the plugin will also look for larger piece bitmaps that are not in the package and that you will have to add manually from the main pgn4web zipfile available at http://code.google.com/p/pgn4web/downloads/list

To help you in this complicated process, you might want to look at the work done by the user contributing a backport of the plugin for joomla 1.0; within the backport he also added the option for different board sizes. Look for the joomla 1.0 plugin at the joomlacode download page:
http://joomlacode.org/gf/project/embedchessboard/frs/

2) use a generic plugin to embed iframes.
Alternatively, lot more chessboard configuration options are available if you install a generic plugin to embed iframes in your joomla articles, such as this one:
http://extensions.joomla.org/extensions/style-a-design/popups-a-iframes/4144

Then you generate the iframe src parameter from the pgn4web board generator tool available at:
http://pgn4web-board-generator.casaschi.net

Be aware, neither of the 1) or 2) option is as straightforward as using the basic plugin, but both would give you the flexibility you want.

If I get a lot of user requests I might add the option to tune the chessboard size... but don't hold your breath.

Thanks again for the feedback.