mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 12:51:52 +02:00
Added example to _blank plugin for {---BREADCRUMB---} integration.
This commit is contained in:
@@ -27,9 +27,9 @@ class _blank_url // plugin-folder + '_url'
|
||||
|
||||
$config['other'] = array(
|
||||
'alias' => '_blank', // default alias '_blank'. {alias} is substituted with this value below. Allows for customization within the admin area.
|
||||
'regex' => '^{alias}/?$', // matched against url, and if true, redirected to 'redirect' below.
|
||||
'sef' => '{alias}', // used by e107::url(); to create a url from the db table.
|
||||
'redirect' => '{e_PLUGIN}_blank/_blank.php', // file-path of what to load when the regex returns true.
|
||||
'regex' => '^{alias}/other/?$', // matched against url, and if true, redirected to 'redirect' below.
|
||||
'sef' => '{alias}/other/', // used by e107::url(); to create a url from the db table.
|
||||
'redirect' => '{e_PLUGIN}_blank/_blank.php?other=1', // file-path of what to load when the regex returns true.
|
||||
|
||||
);
|
||||
|
||||
@@ -45,5 +45,4 @@ class _blank_url // plugin-folder + '_url'
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user