Hi,
i hope some guys can help me. I have a php coding problem!
I will add the plugin elgg fivestar to the river (looks like mainpage nailart-nageldesign.com too)......
The file /docroot/mod/tidypics/views/default/river/object/image/create.php is the file to add the code i think.
This is the original elgg fivestar code:
<?php echo elgg_view("elggx_fivestar/elggx_fivestar", array('entity' => $vars['video'], 'outerId' => 'fivestar_izap_videos_list')); ?>
And this is the create.php at line 21:
/* // this adds the album cover to the river display
$string .= "<a href=\"" . $album->getURL() . "\"> <img src=\"" . $CONFIG->wwwroot . 'mod/tidypics/thumbnail.php?file_guid=' . $album->cover . '&size=thumb" class="tidypics_album_cover" alt="thumbnail"/> </a>';
*/
$string .= "<a href=\"" . $image->getURL() . "\"> <img src=\"" . $CONFIG->wwwroot . 'mod/tidypics/thumbnail.php?file_guid=' . $image->guid . '&size=thumb" class="tidypics_album_cover" alt="thumbnail"/> </a>';
$string .= "</div>";
echo $string;
I have no idea for the right coding string to add the fivestar plugin! I hope you can help me!
Regards
Lars
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.