Elgg 2.3.10.
OS: Linux Mint.
Auction plugin: https://elgg.org/plugins/1117178
Auction plugin in settings the popup window is not working, it just opens in a new page.
Any help would be much appriciated.
php code:
<?php
// Load fancybox
elgg_load_js('lightbox');
elgg_load_css('lightbox');
elgg_load_js('wi.category');
echo "<h4>Categories showing depends on plugins activated</h4>";
if (elgg_is_active_plugin('wiAuction')) {
$list = elgg_list_entities(array(
'type' => 'object',
'subtype' => 'wiauctioncategory',
"pagination" => false,
"full_view" => false
));
?>
<div class="elgg-module elgg-module-inline">
<div class="elgg-head">
<?php echo elgg_view("output/url", array("text" => elgg_echo("add"), "href" => $vars["url"] . "wicategory/forms/save/wiauction", "class" => "elgg-button elgg-button-action add-float-right categories-popup"));?>
<h3>
<?php echo elgg_echo('wi:category:wiauction');
?>
</h3>
</div>
<div class="elgg-body">
<?php echo $list; ?>
</div>
</div>
<?php
}
if (elgg_is_active_plugin('wiJob') || elgg_is_active_plugin('wiJobGPL') || elgg_is_active_plugin('wiSkill')) {
$list = elgg_list_entities(array(
'type' => 'object',
'subtype' => 'wijobskillcategory',
));
?>
<div class="elgg-module elgg-module-inline">
<div class="elgg-head">
<?php echo elgg_view("output/url", array("text" => elgg_echo("add"), "href" => $vars["url"] . "wicategory/forms/save/wijobskill", "class" => "elgg-button add-float-right elgg-button-action categories-popup"));?>
<h3>
<?php echo elgg_echo('wi:category:wijobskill'); ?>
</h3>
</div>
<div class="elgg-body">
<?php echo $list; ?>
</div>
</div>
<?php
}
?>
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.
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- Rudi@rudi
Rudi - 0 likes
- learningbob@learningbob
learningbob - 0 likes
You must log in to post replies.Add
BTW, elgg_load_js('lightbox'); and elgg_load_css('lightbox'); are deprecated since 2.2
Thanks for your help RvR.
hi @Rudi sorry to but in, but where did you download this from ? it goes to a blank page
NB: Go to http://www.elggstore.webintelligence.ie/ and download the Web Intelligence Framework. Will not work without our framework.
it says this will not work without the download :/