Log message #108670

# At Username Text
# Aug 7th 2008, 04:27 thestaff what do you use ?
# Aug 7th 2008, 04:27 poluta1 i can't modify AppModel model class attributes
# Aug 7th 2008, 04:26 batcoder-7 whats the max you guys ever got done in 5 hours ?
# Aug 7th 2008, 04:26 stevieboy *it
# Aug 7th 2008, 04:26 stevieboy i dont use the thickbox-thingy, so i cant really test is
# Aug 7th 2008, 04:25 thestaff stevieboy, what should I do ?
# Aug 7th 2008, 04:25 TheBig Martz, I'll check now, thanks
# Aug 7th 2008, 04:25 poluta1 i can't modify AppModel model class
# Aug 7th 2008, 04:25 thestaff haha
# Aug 7th 2008, 04:25 Martz poluta1: 1 sec i'll bin some sorta logic for you
# Aug 7th 2008, 04:25 stevieboy thestaff: i referred to the replace-regex
# Aug 7th 2008, 04:25 Martz TheBig: There is TextHelper::truncate - so do you mean in the query or in the view?
# Aug 7th 2008, 04:25 poluta1 Martz: failed :(
# Aug 7th 2008, 04:24 batcoder-7 fammit 4 more hours
# Aug 7th 2008, 04:24 stevieboy p
# Aug 7th 2008, 04:24 stevieboy slifox: see you next month
# Aug 7th 2008, 04:24 thestaff stevieboy, ?
# Aug 7th 2008, 04:24 stevieboy thestaff: nerd!
# Aug 7th 2008, 04:24 slifox heh cheers I'll give this manual a read
# Aug 7th 2008, 04:24 TheBig is there a cakeway to truncate text? like before read all of some items?
# Aug 7th 2008, 04:24 stevieboy slifox: it helps you with data retrival (how is that spelled?), validation, html+form-generation, date/time-conversion and soooooo much more
# Aug 7th 2008, 04:23 Martz slifox: debugging typos will be the most "fun" for you ;)
# Aug 7th 2008, 04:23 Martz slifox: its a steep learning curve but its well worth it. And if you're new to PHP, its "good" that you won't learn all the nasty ways people usually do things without a framework
# Aug 7th 2008, 04:23 thestaff \/s/the/then/
# Aug 7th 2008, 04:23 slifox with things like validation etc
# Aug 7th 2008, 04:23 thestaff but the I go to items/add and I show up categories/add in a thickbox, then I can't submit
# Aug 7th 2008, 04:22 slifox I see I've been coding for a couple of weeks learning my way in php but I understand cakephp can help me
# Aug 7th 2008, 04:22 stevieboy slifox: pgcd: but it is worth the effort
# Aug 7th 2008, 04:22 pgcd stevieboy: i couldn't agree more =)
# Aug 7th 2008, 04:22 thestaff a new category is created
# Aug 7th 2008, 04:22 stevieboy slifox: cakephp is a very different approach at coding php. if you re "just" a php coder you will have to learn a bit
# Aug 7th 2008, 04:22 thestaff so when I got to this url everything works fine
# Aug 7th 2008, 04:21 thestaff sorry
# Aug 7th 2008, 04:21 thestaff action="/index.php/categories/add"
# Aug 7th 2008, 04:21 thestaff you meant the method >
# Aug 7th 2008, 04:21 thestaff stevieboy, none I removed it
# Aug 7th 2008, 04:21 stevieboy slifox: you should look at the tutorial in the book
# Aug 7th 2008, 04:20 Martz poluta1: so your app_controller gets the session data, and sets the variable in the model for you to use "later on"
# Aug 7th 2008, 04:20 stevieboy thestaff: which action is called after submit? (look in the first form-tag)
# Aug 7th 2008, 04:20 slifox hello I'm new to cakephp I wanted to know how a php framework works do I just upload the files to my server and include the php files for specific functions?
# Aug 7th 2008, 04:19 Martz poluta1: yep. thats what I recommended first, but you can keep it all in 1 model if you only need it there. Use app_model, app_controller - and get the controller to set a variable for you