On Mon, 2009-05-11 at 18:16 +0530, Parag Hardas wrote:
> Hello Friends!
> I wish to put some google ads on the page can some one tell me in
> which page one should insert their ad code. I dont mind in which
> position the ads go ... just let me know where to insert their code so
> that the ads are seen somewhere on the page.

See the "plugins" directory for some examples. Make sure to enable your
plugin in config.php. There are 'hooks' in various locations (see
EVENTS.txt) in the laconica code. You could create events which will get
caught.

The following will run the publicityPrimary method if you have the
onEndShowSections method in your plugin:

function onEndShowSections($action)
{
        $this->publicityPrimary($action);
}

-Sarven

_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to