Pedro Prez's plugins:
This Plugin allows to show a message to the users that iniciated session. The messages is shown as a lightbox. The administrator of the site can also choose to show the site announcements or a customized message.
To correctly activate this plugin please read the README.txt file.
To correctly configure the plugin the administrator of the site must click the "Show" button in the plugin link settings (yoursite.com/pg/flyer/setup)
Plugin developed by Keetup.
$('.lbHome .lightbox-content').html(<?php echo $vars['content'] ?>).addClass('flyer-content');
And, of course, if the content contains line breaks, this will lead to the unterminated string literal error. I think a better approach is to put the content in a hidden div and read it from there. This is the change I did to handle content with line breaks correctly (views/default/flyer/flyer.php):
<div id='flyer-content' style="display:none; visibility: hidden;">
<?php echo $vars['content'] ?>
var content = $('#flyer-content').html();
i'm now using the later version of this plugin in elgg 1.7.6 and finding that i can insert a table into a flyer text body on my local install but not on my public site.. i have yet to find why.. the table is removed completely when i save the flyer content..
any idea why? anyone?