How to paginate in HasAndBelongsToMany?(a liitle bit confused )

2011-11-25 Thread Richard Neil Roque
I do have a articles model and tags model. articles HABTM tags i use $this->set('articles', $this->Article->paginate()); and i can use paginator in index.ctp of Articles. I try to search articles by Tags, but the problem is it doesn't fit with the paginator. here's the code for showing of artic

Re: How to add a fixture to a plugin test?

2011-11-25 Thread euromark
what do you mean with it doesnt work? how did you initialize/access the model then? some code would be great On 25 Nov., 15:26, Roland wrote: > Hi! > > I have a fixture in plugins/Bancha/Test/Fixture/ArticleFixture.php and > a test case in plugins/Bancha/Test/Case/System/ConsistencyTests.php, >

Re: Where to publish new plugin?

2011-11-25 Thread Roland
Cool, thx. The plugin is currently in beta, so I wanted to write an article in maybe one month, when it is more stable. cheers Roland On 25 Nov., 02:44, Sam Sherlock wrote: > http://cakepackages.com/ > > you could also consider submitting a article for bakery too > >  - S > > On 24 November 201

How to add a fixture to a plugin test?

2011-11-25 Thread Roland
Hi! I have a fixture in plugins/Bancha/Test/Fixture/ArticleFixture.php and a test case in plugins/Bancha/Test/Case/System/ConsistencyTests.php, written for CakePHP 2.0. Corresponding to the cookbook I just have to include following line: public $fixtures = array('plugin.bancha.article'); But thi

Re: adjusting my website to different browser with cake

2011-11-25 Thread mike karthauser
On Fri, Nov 25, 2011 at 9:38 AM, Tomfox Wiranata wrote: > Hi everyone, > > something is bugging me, cause i dont know how to approach that issue: > > i developed a homepage and i used firefox for testing it. how do i > ensure, that my website looks the same, no matter what browser is > used? > te

adjusting my website to different browser with cake

2011-11-25 Thread Tomfox Wiranata
Hi everyone, something is bugging me, cause i dont know how to approach that issue: i developed a homepage and i used firefox for testing it. how do i ensure, that my website looks the same, no matter what browser is used? is there a plugin for cake or sth like that? i am looking for a guide/ tu