Page 1 of 1

event_externalphp and headline

Posted: Fri Nov 17, 2006 5:46 pm
by WebReiter
Hi,

how can i create a headline with the event_externalphp plugin, like with the static pages headline.

In the source code it looks like here:
<h4 class="serendipity_title"><a href="#"></a></h4>
Any idea?

Re: event_externalphp and headline

Posted: Fri Nov 17, 2006 5:53 pm
by garvinhicking
Hi!

Your included PHP can simply echo such HTML code!

HTH,
Garvin

Posted: Fri Nov 17, 2006 6:14 pm
by WebReiter
Mea culpa. I did it wrong. :?

I mean the headline for the meta tags variable $head_title.

How can i realize that?

Posted: Sat Nov 18, 2006 8:13 pm
by garvinhicking
Hi!

Ah, okay. For that you would need to modify the plugin so that you use

$serendipity['smarty']->assign('head_title', 'your title');

within the eventhook where your PHP code is emitted.You might even beable to use that code call within your custom PHP code...

HTH,
Garvin

Posted: Sun Nov 19, 2006 11:10 am
by WebReiter
Thank you :D