e107::url()
All links with URL parameters have to use _BASEDIR constant, e107::url() is not fully working yet.
if (!defined('_BASEDIR')) {
define('_BASEDIR', e_PLUGIN.'efiction/');
}
Example how to use it without _BASEDIR for now:
$base = e107::url('efiction', 'member');
$link = "<a href=\"".$base."?action=".$panel['panel_name']."\">".$panel['panel_title']."</a>";
Working e107 URLs
Displays
Version
e107::url('efiction','index')
plugin frontpage (index.php)
✅1.0.1
e107::url('efiction','admin')
admin area frontpage (admin.php)
✅1.0.1
e107::url('efiction', 'member')
Logged in Author's account
✅1.0.2
Last updated