Re: Making Paginator templates work with themes [CakePHP 3]
Is the AppController of the plugin being executed? On Sunday, July 20, 2014 2:44:21 AM UTC+2, Dr. Tarique Sani wrote: Oh! It supports plugin notation. I was just suggesting that for plugin which are acting as themes the helper array in AppController of the plugin is not being read. Thanks for your answer. On Saturday, July 19, 2014, José Lorenzo jose@gmail.com wrote: I don't think it supports plugin notation right now, please open a ticket. It definitely seems like something we need to support On Saturday, July 19, 2014 5:32:01 AM UTC+2, Dr. Tarique Sani wrote: Don't know if this is a bug or a feature but I am trying to make Paginator templates work with themes I have to put the following in the AppController of the main program to make it work. public $helpers = [ 'Paginator' = ['templates' = 'Twit.paginator-templates.php'] ]; If I put the same/similar in the AppController of the plugin it does not work. Am I missing something or it is a bug/oversight/feature For theming it would be infinitely better if this worked from the AppController of the Plugin Cheers Tarique -- = The Conference Schedule Creator : http://shdlr.com PHP for E-Biz : http://sanisoft.com = -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout. -- = The Conference Schedule Creator : http://shdlr.com PHP for E-Biz : http://sanisoft.com = -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Re: Making Paginator templates work with themes [CakePHP 3]
I don't think it supports plugin notation right now, please open a ticket. It definitely seems like something we need to support On Saturday, July 19, 2014 5:32:01 AM UTC+2, Dr. Tarique Sani wrote: Don't know if this is a bug or a feature but I am trying to make Paginator templates work with themes I have to put the following in the AppController of the main program to make it work. public $helpers = [ 'Paginator' = ['templates' = 'Twit.paginator-templates.php'] ]; If I put the same/similar in the AppController of the plugin it does not work. Am I missing something or it is a bug/oversight/feature For theming it would be infinitely better if this worked from the AppController of the Plugin Cheers Tarique -- = The Conference Schedule Creator : http://shdlr.com PHP for E-Biz : http://sanisoft.com = -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Re: Making Paginator templates work with themes [CakePHP 3]
Oh! It supports plugin notation. I was just suggesting that for plugin which are acting as themes the helper array in AppController of the plugin is not being read. Thanks for your answer. On Saturday, July 19, 2014, José Lorenzo jose@gmail.com wrote: I don't think it supports plugin notation right now, please open a ticket. It definitely seems like something we need to support On Saturday, July 19, 2014 5:32:01 AM UTC+2, Dr. Tarique Sani wrote: Don't know if this is a bug or a feature but I am trying to make Paginator templates work with themes I have to put the following in the AppController of the main program to make it work. public $helpers = [ 'Paginator' = ['templates' = 'Twit.paginator-templates.php'] ]; If I put the same/similar in the AppController of the plugin it does not work. Am I missing something or it is a bug/oversight/feature For theming it would be infinitely better if this worked from the AppController of the Plugin Cheers Tarique -- = The Conference Schedule Creator : http://shdlr.com PHP for E-Biz : http://sanisoft.com = -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com javascript:_e(%7B%7D,'cvml','cake-php%2bunsubscr...@googlegroups.com');. To post to this group, send email to cake-php@googlegroups.com javascript:_e(%7B%7D,'cvml','cake-php@googlegroups.com');. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout. -- = The Conference Schedule Creator : http://shdlr.com PHP for E-Biz : http://sanisoft.com = -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Making Paginator templates work with themes [CakePHP 3]
Don't know if this is a bug or a feature but I am trying to make Paginator templates work with themes I have to put the following in the AppController of the main program to make it work. public $helpers = [ 'Paginator' = ['templates' = 'Twit.paginator-templates.php'] ]; If I put the same/similar in the AppController of the plugin it does not work. Am I missing something or it is a bug/oversight/feature For theming it would be infinitely better if this worked from the AppController of the Plugin Cheers Tarique -- = The Conference Schedule Creator : http://shdlr.com PHP for E-Biz : http://sanisoft.com = -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.