Announcement

  •  » Extensions
  •  » [resolved] batch manager single mode (unit mode) event

#16 2011-08-04 14:22:16

fahim77
Member
2011-08-04
1

Re: [resolved] batch manager single mode (unit mode) event

J.Commelin wrote:

Hmm, sorry. That was indeed to quick. In the source code we did have quotes. Still it doesn't work :(

Code:

<?php
add_event_handler('loc_begin_admin', 'F1', 55 );

function F1()
{
  global $template;
  $template->set_prefilter('batch_manager_unit', 'F2');
}

function F2($content, &$smarty)
{
  return $content.'<div>TEST</div>';
}
?>

This code doesn't work.

There may to some corrections

Offline

 

#17 2011-08-04 17:26:42

flop25
Piwigo Team
2006-07-06
7037

Re: [resolved] batch manager single mode (unit mode) event

fahim77 wrote:

There may to some corrections

Sorry I don't understand : in this thread the problem seems resolved
Do you have a new one ? if it's true, open a new thread please


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#18 2011-08-05 12:10:01

Mattias
Translation Team
The Netherlands
2011-01-31
18

Re: [resolved] batch manager single mode (unit mode) event

Try clearing your cache, reinstalling your plugin and these kind of things.

This code does work...

Last edited by Mattias (2011-08-05 12:10:23)

Offline

 
  •  » Extensions
  •  » [resolved] batch manager single mode (unit mode) event

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact