# |
Sep 13th 2009, 10:04 |
mr_pinc |
well yeah for controllers, but this seems to eliminate the need to use it in views |
# |
Sep 13th 2009, 10:03 |
savant |
i personally use diebug() :) |
# |
Sep 13th 2009, 10:02 |
savant |
you'll still need debug() |
# |
Sep 13th 2009, 10:02 |
mr_pinc |
well either way thanks for the help and this plugin info it's going to be super useful in the future. Now I never need a damn debug(); statement |
# |
Sep 13th 2009, 10:01 |
mr_pinc |
did you create that plugin? |
# |
Sep 13th 2009, 10:00 |
NoReGreT |
best thing to do for adding users is creating an add() action in the userscontroller ? (using auth ie) |
# |
Sep 13th 2009, 10:00 |
mr_pinc |
yes and annoying |
# |
Sep 13th 2009, 10:00 |
savant |
interesting. |
# |
Sep 13th 2009, 10:00 |
mr_pinc |
savant: I figured it out. There was an illegal character in the text ` instead of ' so it was not coming back |
# |
Sep 13th 2009, 09:59 |
NoReGreT |
thanks |
# |
Sep 13th 2009, 09:59 |
savant |
NoReGreT: that's because you are in debugmode. you can set it to lower than 2 (0 if you are in production) in the app/config/core.php file |
# |
Sep 13th 2009, 09:58 |
mr_pinc |
yeah, like I said all the other fields are returned ok |
# |
Sep 13th 2009, 09:58 |
savant |
and you are sure $id is being populated? |
# |
Sep 13th 2009, 09:58 |
NoReGreT |
in every page created, why there is teh query table below, how can i remove it |
# |
Sep 13th 2009, 09:58 |
mr_pinc |
all the other data in the form is fine |
# |
Sep 13th 2009, 09:58 |
mr_pinc |
yes |
# |
Sep 13th 2009, 09:58 |
savant |
does record 38 exist? |
# |
Sep 13th 2009, 09:57 |
mr_pinc |
that's the whole call |
# |
Sep 13th 2009, 09:57 |
mr_pinc |
$this->data = $this->Testimonial->read(null, $id); |
# |
Sep 13th 2009, 09:57 |
savant |
bin your action |
# |
Sep 13th 2009, 09:57 |
savant |
so then you aren't retrieving the records correctly |
# |
Sep 13th 2009, 09:57 |
mr_pinc |
yeah |
# |
Sep 13th 2009, 09:57 |
savant |
thats blank in debug_kit? |
# |
Sep 13th 2009, 09:56 |
mr_pinc |
'quote' when I retrieve record 16 the quote field populates fine, but when I get record 38 it is blank. It's just plain text in the database |
# |
Sep 13th 2009, 09:56 |
mr_pinc |
ok so my model is Testimonial and that has a field called ' |
# |
Sep 13th 2009, 09:55 |
savant |
make sure the array is exactly as it should be |
# |
Sep 13th 2009, 09:54 |
savant |
if that is empty or non-existent, well then we have issues |
# |
Sep 13th 2009, 09:54 |
mr_pinc |
yeah i do. |
# |
Sep 13th 2009, 09:54 |
savant |
one of them should be "this->data" |
# |
Sep 13th 2009, 09:54 |
savant |
you should be able to see the data available to you |
# |
Sep 13th 2009, 09:54 |
savant |
if the panel doesn't open, click it |
# |
Sep 13th 2009, 09:54 |
mr_pinc |
k |
# |
Sep 13th 2009, 09:54 |
savant |
okay now go to the right-most tab thing in the toolbar |
# |
Sep 13th 2009, 09:53 |
mr_pinc |
looks like it i see the tool bar. this plugin is sick |
# |
Sep 13th 2009, 09:53 |
savant |
and it works properly? |
# |
Sep 13th 2009, 09:52 |
mr_pinc |
ok installed |
# |
Sep 13th 2009, 09:50 |
savant |
http://thechaw.com/debug_kit/versions |
# |
Sep 13th 2009, 09:50 |
savant |
one sec |
# |
Sep 13th 2009, 09:50 |
mr_pinc |
there a way to get it without git, like in a zip? |
# |
Sep 13th 2009, 09:49 |
savant |
http://thechaw.com/debug_kit |
# |
Sep 13th 2009, 09:49 |
savant |
it's a plugin |