Ulrich wrote:As I see it, miniblog in the current version does not support the call of plugins from within the text.
Indeed, plugincalls are not evaluated in the teasers.
Ulrich wrote:So any chance, with a quick fix, not to display this or other plugin calls?
*** Edit ***
Or even better to call another plugin!
Both is possible. It is not clear to me what would generally be best; the teasers are stripping all HTML markup, so the result might look strange.
Anyhow, a quickfix to evaluate plugincalls: in plugins/miniblog/index.php replace line 82-84:
Code: Select all
$mblog['teaser'][] = isset($page_data['description']) && $page_data['description']
? $page_data['description']
: mb_substr(strip_tags(substr($c[$page],(strpos($c[$page],$plugin_cf['miniblog']['teaser_2nd_source'])),550)),0,$plugin_cf['miniblog']['teaser_generated_length']);
with the following:
Code: Select all
if (isset($page_data['description']) && $page_data['description']) {
$mblog['teaser'][] = $page_data['description'];
} else {
$evaldPage = evaluate_plugincall($c[$page]);
$mblog['teaser'][] = mb_substr(strip_tags(substr($evaldPage,(strpos($evaldPage,$plugin_cf['miniblog']['teaser_2nd_source'])),550)),0,$plugin_cf['miniblog']['teaser_generated_length']);
}