# |
Aug 6th 2008, 23:48 |
cl0s_ |
yea already looks all through there... thanks though.. |
# |
Aug 6th 2008, 23:48 |
batcoder-7 |
no JS allowed here atm |
# |
Aug 6th 2008, 23:48 |
batcoder-7 |
yeai just saw that |
# |
Aug 6th 2008, 23:48 |
batcoder-7 |
eeek |
# |
Aug 6th 2008, 23:48 |
benni |
batcoder-7: yap, kind of... with some jquery-magic I did that, see vernonlee.com |
# |
Aug 6th 2008, 23:44 |
joorus |
cl0s_, i don't know. Sure someones else does... Meanwhile why not looking the ContainableBehavior class reference? http://api.cakephp.org/class_containable_behavior.html |
# |
Aug 6th 2008, 23:41 |
batcoder-7 |
benni: what a 2 tier menu system ? |
# |
Aug 6th 2008, 23:37 |
cl0s_ |
is there anyway to check if there is already something set.. and possibly what it is? |
# |
Aug 6th 2008, 23:37 |
benni |
I've seen a very nice way to do this in the cake-powered wildflower-cms - the navigation-data is stored in a tree-behaviour-table |
# |
Aug 6th 2008, 23:36 |
joorus |
cl0s_, override |
# |
Aug 6th 2008, 23:36 |
batcoder-7 |
i am looking for the easiest but yet cleanest and best method |
# |
Aug 6th 2008, 23:35 |
batcoder-7 |
benni: everyone seems ot have a different method |
# |
Aug 6th 2008, 23:35 |
cl0s_ |
if i set $this->contain(array('Model'))... and then $this->contain(array('Model2')) somewhere else later on.. will the second one override or add on to what will be contained? |
# |
Aug 6th 2008, 23:33 |
benni |
So what's the question? How to do that? |
# |
Aug 6th 2008, 23:31 |
Jezek |
or the action name actually |
# |
Aug 6th 2008, 23:31 |
julien_re_ |
mmm $_SERVER['REQUEST_URI'] ? |
# |
Aug 6th 2008, 23:30 |
batcoder-7 |
benni: i have 5 top level tops and i want whem those are clicked to be like maybe 5 other nested links uner each top level |
# |
Aug 6th 2008, 23:29 |
Jezek |
how can i get the current url as a variable in the beforeSave function |
# |
Aug 6th 2008, 23:29 |
batcoder-7 |
im just having a real time with it |
# |
Aug 6th 2008, 23:29 |
benni |
batcoder-7: I did, kind of... what's the question? |
# |
Aug 6th 2008, 23:24 |
batcoder-7 |
or anyone else here who has made dynamic menus with cakephp ? |
# |
Aug 6th 2008, 23:24 |
moelee |
night all |
# |
Aug 6th 2008, 23:22 |
batcoder-7 |
polerin: you still up ? |
# |
Aug 6th 2008, 23:22 |
freebox |
the line 121 of sluggable.php must changed to $conditions = array($Model->alias . '.' . $this->__settings[$Model->alias]['slug'] . ' LIKE '=> $slug . '%'); |
# |
Aug 6th 2008, 23:22 |
freebox |
uhm |
# |
Aug 6th 2008, 23:19 |
thestaff |
no error tho! |
# |
Aug 6th 2008, 23:19 |
thestaff |
crap, i did their tuto line for line and don't get the same result |
# |
Aug 6th 2008, 23:19 |
moelee |
sorry |
# |
Aug 6th 2008, 23:18 |
moelee |
hm nope |
# |
Aug 6th 2008, 23:18 |
thestaff |
moelee, do you know about modalbox ? |
# |
Aug 6th 2008, 23:17 |
moelee |
haven't played around with that, no |
# |
Aug 6th 2008, 23:17 |
freebox |
/ |
# |
Aug 6th 2008, 23:17 |
freebox |
the third have foo-bar-1 too |
# |
Aug 6th 2008, 23:17 |
freebox |
the second "Foo Bar" have slug foo-bar-1 |
# |
Aug 6th 2008, 23:17 |
mrConfused |
does any1 have a recommendation between xamp and wamp? |
# |
Aug 6th 2008, 23:17 |
freebox |
im using the title field to slug, then the first record with tile "Foo Bar" have slug foo-bar |
# |
Aug 6th 2008, 23:16 |
freebox |
i'm trouble with duplicate slugs |
# |
Aug 6th 2008, 23:16 |
freebox |
moelee: you use sluggable behavior? |
# |
Aug 6th 2008, 23:16 |
freebox |
/ |
# |
Aug 6th 2008, 23:14 |
moelee |
yep |
# |
Aug 6th 2008, 23:14 |
poluta1 |
just add 'id' field :D |