Page 43 of 211,261, showing 20 records out of 4,225,204 total, starting on record 841, ending on 860
# | Username | Text | |
---|---|---|---|
# | Aug 6th 2008, 19:53 | polerin | set the class on your body tag |
# | Aug 6th 2008, 19:53 | polerin | if you were in Items details |
# | Aug 6th 2008, 19:53 | polerin | you could say <body class="items details"> |
# | 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: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:57 | polerin | body.items.detail #menu .itemsdetails { background: #bbb; } |
# | Aug 6th 2008, 20:00 | batcoder-7 | ah |
# | Aug 6th 2008, 20:01 | polerin | and you can just specify multiples of those and only use one style :) |
# | Aug 6th 2008, 20:02 | batcoder-7 | polerin: yea |
# | Aug 6th 2008, 20:02 | batcoder-7 | i hate doing this dynamic menu stuff |
# | 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:23 | batcoder-7 | polerin: im going ot barely get this working hehehe |
# | 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: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:31 | cl0s_ | from bindable* |
# | 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:33 | crux | achew22: looks like it |
# | Aug 6th 2008, 20:34 | crux | App::import('vendor', 'FileName') will look for app/vendors/FileName.php |
# | Aug 6th 2008, 20:36 | Yeckel | can you turn off cache in cakephp? |
# | Aug 6th 2008, 20:42 | achew22 | yes, go to the core.php file in config and disable it |