star rating system implementation using PROTOTYPE + AJAX.

2009-10-31 Thread BeerMan
I'm trying to use the starbox star rating system in my page. As the tutorial on the website suggested I used the saveStar function to call a function in one of my controllers. the controller name is comments and the function name is addRate. the code I have below doesnt work because it is not acc

Re: How to pass custom urls to pagination methods

2009-10-25 Thread BeerMan
Oh problem solved. nevermind. thx anyways.. On Oct 25, 3:01 pm, BeerMan wrote: > Just to be clear on my problem, for example if the next link has > url=../places/list/page:2 > then I need to change the url to = ../places/list/page:2/cat_id:3. > thank you again, > -Armen > >

Re: How to pass custom urls to pagination methods

2009-10-25 Thread BeerMan
Just to be clear on my problem, for example if the next link has url=../places/list/page:2 then I need to change the url to = ../places/list/page:2/cat_id:3. thank you again, -Armen On Oct 25, 11:33 am, BeerMan wrote: > Hey all, > I was looking through the paginator API to figure out

How to pass custom urls to pagination methods

2009-10-25 Thread BeerMan
Hey all, I was looking through the paginator API to figure out how to add custom parameters to the url. for example the page number link, has a link such as places/lists/page: 2. I also need to send the paramenter cat_id:2 or some other number. I think i should use the url option in pagination but

Re: How to use multiple layouts.

2009-10-23 Thread BeerMan
odel for simple page and add $useTable = false; which means you > > wont need the db. > > > regards > > mikek > > > On Fri, Oct 23, 2009 at 11:31 AM, BeerMan wrote: > > > > Hey all, > > > I have a very stupid question. I have a default.ctp which al

How to use multiple layouts.

2009-10-23 Thread BeerMan
Hey all, I have a very stupid question. I have a default.ctp which all the pages except the homepage will be rendered using this view file. So the homepage will not be using that default layout and contains no data that needs a database. I created a different layout for the homepage named homepage