Thanks. I think I'll end up using little gifs to represent the up and down
arrows.
On Mon, Oct 17, 2011 at 11:55 PM, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
These characters are set in css. Look for these lines and alter them:
th a.asc:after {
content: ' ⇣';
}
th
Great, it works! Thanks!
I have one more question, where is the top-most view *.ctp file located?
The one that has the standard CakePHP logo on top-left. I need to modify
that info.
On Fri, Oct 14, 2011 at 10:12 PM, Marcus James marco...@gmail.com wrote:
Hi Garret,
2 things:-
1.
There's an issue. After I made this work, I inserted code for AJAX to take
care of the pagination. Now, when I try to sort based on last name or first
name, the up or down arrows are replaced with a bunch of funky characters,
looks like some unicode that's not getting translated properly. I'm
Right, I guess I should include the code. This is my View:
http://bin.cakephp.org/view/458627347
This is my controller:
http://bin.cakephp.org/view/1741251967
On Fri, Oct 14, 2011 at 10:12 PM, Marcus James marco...@gmail.com wrote:
Hi Garret,
2 things:-
1. *In your controller use
These characters are set in css. Look for these lines and alter them:
th a.asc:after {
content: ' ⇣';
}
th a.desc:after {
content: ' ⇡';
}
Jeremy Burns
Class Outfit
Tel: +44 (0) 208 123 3822
Mob: +44 (0) 7973 481949
Skype: jeremy_burns
http://www.classoutfit.com
Jeremy Burns
You have not ran paginate anywhere, you've set paginate settings for
your controller, but then just used find in all your actions.
Go back and read the book some more, it explains pagination very
clearly.
http://book.cakephp.org/view/1231/Pagination
HTH, Paul
On Oct 14, 9:39 pm, Yves S. Garret
Did you tried to include paginator helper in your controller?
On Oct 15, 4:39 am, Yves S. Garret yoursurrogate...@gmail.com
wrote:
I took the pagination route.
Here is my controller:
http://bin.cakephp.org/view/340330848
Here is my view:
http://bin.cakephp.org/view/2041962013
And this
Hi Garret,
2 things:-
1. *In your controller use this
$this-set('provider', $this-paginate('Provider'));
*
2. *In your view add this line at the end
tdecho http://www.php.net/echo $this-Paginator-numbers()/td*
*
*
*Enjoy*
*
*
*Marcus*
--
Our newest site for the community:
Hey all. I have a small problem.
I'm making a little app that will draw info from the database. The issue
that I'm running into is that it draws 3000+ records out at the same time
and dumps it on the screen. I would like only the first 30. How can I do
that?
This is my controller.
Your code is doing exactly what you are asking to do and, in this case,
pagination is indeed your friend. The book has everything you need to do
pagination and even ajax pagination.
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 14 Oct 2011, at 20:22, Yves S. Garret wrote:
Hey all.
I took the pagination route.
Here is my controller:
http://bin.cakephp.org/view/340330848
Here is my view:
http://bin.cakephp.org/view/2041962013
And this is the error that I'm getting:
*Fatal error*: Call to a member function sort() on a non-object in *
11 matches
Mail list logo