Saturday, July 19, 2014

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+unsubscribe@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.

No comments: