JenniAnn wrote:
Thank you so much! That was the clearest instruction to follow, and the simplest thing to do.
You're welcome.

JenniAnn wrote:
I was wondering if it would also be possible to have the image also be the link, rather than having the "send this site" next to the image? If it is possible, how would I go about doing this?
Yes, it is. I think that the following should work:

Edit
/modules/mod_recommend_plus.phpComment out or delete
lines # 73, 74 and 77Code:
echo "<img src=\"".$rcp_image."\" align=\"absmiddle\" alt=\"\" />";
echo " ";
}
echo "<a href=\"javascript:void(0)\" onclick=\"window.open('index2.php?option=com_recommend_plus&task=form&act=".$rcp_act.$rcp_ttl."','mywin','status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=750,height=410,directories=no,location=no');\" title=\"".$rcp_link_text."\">".$rcp_link_text."</a>";
IMPORTANT: Do not delete line # 75 which should contain just a closing curly brace.Then add this code
instead of line # 77Code:
echo "<a href=\"javascript:void(0)\" onclick=\"window.open('index2.php?option=com_recommend_plus&task=form&act=".$rcp_act.$rcp_ttl."','mywin','status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=750,height=410,directories=no,location=no');\"><img src=\"".$rcp_image."\" align=\"absmiddle\" border =\"0\" alt=\"".$rcp_link_text."\" /></a>";
And, in case you want both image and text linked...Replace
line # 73 Code:
echo "<img src=\"".$rcp_image."\" align=\"absmiddle\" alt=\"\" />";
with this one
Code:
echo "<a href=\"javascript:void(0)\" onclick=\"window.open('index2.php?option=com_recommend_plus&task=form&act=".$rcp_act.$rcp_ttl."','mywin','status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=750,height=410,directories=no,location=no');\"><img src=\"".$rcp_image."\" align=\"absmiddle\" border =\"0\" alt=\"".$rcp_link_text."\" /></a>";
JenniAnn wrote:
Your module and component is almost perfect, and this is very happy! It's been a bad past couple of days for me and Joomla-- I tried to install at least 5 modules, and yours is the only one with a readable XML file. Thank you so much!
That's amazing because I'm not a professional coder.

This must be the magic of open source!
