Log message #107328

# At Username Text
# Aug 6th 2008, 20:49 Yeckel nm
# Aug 6th 2008, 20:49 Yeckel oder
# Aug 6th 2008, 20:49 Yeckel Cache::config('disable');?
# Aug 6th 2008, 20:42 achew22 yes, go to the core.php file in config and disable it
# Aug 6th 2008, 20:36 Yeckel can you turn off cache in cakephp?
# Aug 6th 2008, 20:34 crux App::import('vendor', 'FileName') will look for app/vendors/FileName.php
# Aug 6th 2008, 20:33 crux achew22: looks like it
# Aug 6th 2008, 20:31 achew22 what is the inflection on file in the vendor folder imported through App::import('Vendor', 'FileName') => vendors/FileName.php?
# Aug 6th 2008, 20:31 cl0s_ from bindable*
# Aug 6th 2008, 20:31 cl0s_ but $this->Model->contain(array('ModelComment', 'User')); or something like that should work.. same as the restrict used to?
# Aug 6th 2008, 20:30 cl0s_ using the containable behavior.. i can pass it an array correct? Just didnt see anyone doing it in the example and im getting some errors with it..
# Aug 6th 2008, 20:23 batcoder-7 polerin: im going ot barely get this working hehehe
# Aug 6th 2008, 20:04 polerin btw there are any number of more elegant ways of specifying that array for the element, so once you get stuff working and the kinks worked out, you may wish to look at pulling it from Configure::'s cache or something along those lines
# Aug 6th 2008, 20:02 batcoder-7 i hate doing this dynamic menu stuff
# Aug 6th 2008, 20:02 batcoder-7 polerin: yea
# Aug 6th 2008, 20:01 polerin and you can just specify multiples of those and only use one style :)
# Aug 6th 2008, 20:00 batcoder-7 ah
# Aug 6th 2008, 19:57 polerin body.items.detail #menu .itemsdetails { background: #bbb; }
# Aug 6th 2008, 19:56 batcoder-7 i dont get how the body class would be abel to mess with a style of the current tab/ link
# Aug 6th 2008, 19:54 polerin then in your css just have a rule for how ever detaild you need it to be
# Aug 6th 2008, 19:53 polerin you could say <body class="items details">
# Aug 6th 2008, 19:53 polerin if you were in Items details
# Aug 6th 2008, 19:53 polerin set the class on your body tag
# Aug 6th 2008, 19:53 polerin that's actually really easy
# Aug 6th 2008, 19:52 batcoder-7 polerin: i need to highlight each link that the page is on as well, like change the class to current
# Aug 6th 2008, 19:51 polerin or whatever is neccisary given your division of main menu items
# Aug 6th 2008, 19:51 polerin then check $this->controller or $this->action
# Aug 6th 2008, 19:51 polerin array('mainPage1'=>array('submenu item 1' => '/foo/bar/1', 'submenu item 2' => '/foo/bar/whatever'));
# Aug 6th 2008, 19:50 Hedz wrong person probably
# Aug 6th 2008, 19:50 Hedz ?
# Aug 6th 2008, 19:50 polerin batcoder-7: if that's all, then build an array of submenu's
# Aug 6th 2008, 19:49 polerin Hedz: you still need to figure out what page he's on, and that's done from inside cake more easily
# Aug 6th 2008, 19:49 polerin ACTION blinks
# Aug 6th 2008, 19:49 Hedz batcoder-7 js
# Aug 6th 2008, 19:48 batcoder-7 polerin: if you had to do it for a simple 5 main top level links and each one of those had about 5 2nd level links, no special things or anything, what way would you go about doing it ?
# Aug 6th 2008, 19:43 Ins|de so, sessions sound me better
# Aug 6th 2008, 19:42 Ins|de i previously had problems with referrer
# Aug 6th 2008, 19:42 polerin Ins|de: you can check the referrer, but that's not a 100% answer
# Aug 6th 2008, 19:42 Ins|de Hedz, that's another option
# Aug 6th 2008, 19:41 Ins|de polerin, no, just for an action on a list of items, because i would like to implement calls for i outside the list, and i would like it returns to the same location, i thought it maybe has and implementation elsewhere inside the cake :)
# Aug 6th 2008, 19:41 polerin etc