News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

catch_action how it works

Started by fakeblood, November 21, 2016, 02:01:50 PM

Previous topic - Next topic

fakeblood


$_REQUEST['action'] == 'custom';

$settings['catch_action'] = array(
      'template' => 'CoolTemplate',
      'layers' => array('main', 'coolness'),
      'sub_template' => 'coolinate'
   );


index.php?action=custom  its is ok

  error  'main_above'. not load

That I put in  CoolTemplate.template.php

<?php
---?????
??
funcion template_mai{
....
}
....
?>


Advertisement: