Page 9 of 36,922, showing 100 records out of 3,692,143 total, starting on record 801, ending on 900
# | Username | Text | |
---|---|---|---|
# | Aug 6th 2008, 19:36 | polerin | there are about 50 zillion different ways to load the data to the elemnt, so you'll need to figure out what is the best for you though |
# | Aug 6th 2008, 19:37 | polerin | Hedz: I assumed.. are there only going to be one or two, or what's going on? |
# | Aug 6th 2008, 19:37 | batcoder-7 | so build each lower tier menu in css and then figure out of way to call that class for each different page i am on ? |
# | Aug 6th 2008, 19:37 | batcoder-7 | polerin: the problem is i am really just looking for the best fastest way of doing it |
# | Aug 6th 2008, 19:37 | Hedz | multiple projects multiple database |
# | Aug 6th 2008, 19:37 | batcoder-7 | polerin: and btw i did see some 100 percent css drop down menus the other day, they were pretty cool |
# | Aug 6th 2008, 19:38 | Hedz | but i dont want to add an array for each project |
# | Aug 6th 2008, 19:38 | polerin | batcoder-7: the are 100% css, except for in IE |
# | Aug 6th 2008, 19:38 | polerin | ) |
# | Aug 6th 2008, 19:38 | batcoder-7 | ah |
# | Aug 6th 2008, 19:38 | polerin | Hedz: if nothing else you can use $_SESSION, but it still sounds like a bad idea to me **shrugs** |
# | Aug 6th 2008, 19:39 | Ins|de | is it possible to get the last action requested? not $this->action, the previous called action |
# | Aug 6th 2008, 19:39 | polerin | Ins|de: you'd have to save the action in the session |
# | Aug 6th 2008, 19:39 | polerin | Ins|de: is this a login action? |
# | Aug 6th 2008, 19:39 | batcoder-7 | polerin: no one likes ie6 anyways hehehe |
# | Aug 6th 2008, 19:39 | Hedz | Ins|de look for referer |
# | Aug 6th 2008, 19:40 | polerin | batcoder-7: I'm not sure IE 7 fixed that :/ |
# | Aug 6th 2008, 19:40 | batcoder-7 | polerin: you got any ideas on the *best* way to go about doing this having 2 tier menu etc, there will need ot be some kind of php interaction with it to determine what page etc i am on |
# | Aug 6th 2008, 19:40 | batcoder-7 | polerin: i think so, and if not hopefylly ie8 hehe |
# | Aug 6th 2008, 19:41 | polerin | batcoder-7: yes, basicly you need to figure out how to hand your view the correct array of submenu items, what the best way depends on a whole bunch of factors |
# | Aug 6th 2008, 19:41 | polerin | is it determined on a per user basis |
# | Aug 6th 2008, 19:41 | polerin | is it going to change often |
# | Aug 6th 2008, 19:41 | polerin | etc |
# | 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:42 | Ins|de | Hedz, that's another option |
# | 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 | i previously had problems with referrer |
# | Aug 6th 2008, 19:43 | Ins|de | so, sessions sound me better |
# | 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:49 | Hedz | batcoder-7 js |
# | Aug 6th 2008, 19:49 | polerin | ACTION blinks |
# | 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:50 | polerin | batcoder-7: if that's all, then build an array of submenu's |
# | Aug 6th 2008, 19:50 | Hedz | ? |
# | Aug 6th 2008, 19:50 | Hedz | wrong person probably |
# | 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:51 | polerin | then check $this->controller or $this->action |
# | Aug 6th 2008, 19:51 | polerin | or whatever is neccisary given your division of main menu items |
# | 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:53 | polerin | that's actually really easy |
# | 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 |
# | Aug 6th 2008, 20:49 | Yeckel | Cache::config('disable');? |
# | Aug 6th 2008, 20:49 | Yeckel | oder |
# | Aug 6th 2008, 20:49 | Yeckel | nm |
# | Aug 6th 2008, 20:51 | achew22 | does anyone have any experience on anything like this http://bin.cakephp.org/view/1570024116 ? |
# | Aug 6th 2008, 20:52 | stabb | oh hey |
# | Aug 6th 2008, 20:53 | achew22 | hi |
# | Aug 6th 2008, 21:00 | milke | i need to know how to break from a controller action in the action early |
# | Aug 6th 2008, 21:00 | milke | should just return? |
# | Aug 6th 2008, 21:01 | polywog | hey, I am using RC2, does anyone know why this doesn't work anymore: $this->Client->findAll(array('id' =>'>1')); |
# | Aug 6th 2008, 21:01 | polywog | when I do a debug==2 it puts the ">1" in single quotes after an equal sign |
# | Aug 6th 2008, 21:02 | polywog | (in the query) |
# | Aug 6th 2008, 21:02 | Bloc | try 'id > 1' |
# | Aug 6th 2008, 21:02 | gwoo | polywog: have you read the all the release annoucnements? |
# | Aug 6th 2008, 21:02 | polywog | gwoo: awwwww, doh. sorry |
# | Aug 6th 2008, 21:02 | polywog | no |
# | Aug 6th 2008, 21:02 | achew22 | what's the xpath equivilant of {n}? |
# | Aug 6th 2008, 21:02 | polywog | ok, will go read them, thanks! |
# | Aug 6th 2008, 21:11 | polywog | man you guys gotta stop doing this, just when i find some tip or trick, it becomes useless... honestly, i love the work you're doing, but it seems like i am spinning my wheels on the simplest stuff. Thanks for the hardwork, tho. :) |
# | Aug 6th 2008, 21:12 | polywog | ok, back to wrk. |
# | Aug 6th 2008, 21:16 | enkindle | Ok, i really dont understand licensing that well... Is it ok to use Cake to develop a closed source site (that wont be sold) but still brings in money? |
# | Aug 6th 2008, 21:17 | jerrylee | hi how can i change cake 'debug' configure at runtime |
# | Aug 6th 2008, 21:19 | Hedz | like you would in core.php |
# | Aug 6th 2008, 21:22 | loki_racer | off topic, but does anyone remember reading about an ISP that had started intercepting ads on pages and serving their own? |
# | Aug 6th 2008, 21:22 | FurnaceBoy | it happens from time to time |
# | Aug 6th 2008, 21:22 | FurnaceBoy | maybe there was a recent /. story? |
# | Aug 6th 2008, 21:22 | loki_racer | ya, can't remember what ISP |
# | Aug 6th 2008, 21:22 | loki_racer | and I am writing a story about ISP's and need a reference |
# | Aug 6th 2008, 21:23 | t73net | hey all. Ok so I'm writing a search Controller for my app, with several models. I want to have the ability to import or some other methodical way of accessing a model, without declaring all of the available models in var$uses. Any suggestions? I'm trying to go for something like /search/index/user/T73 I know that there is a way to access a class at run time, but can't quite remember right now. |
# | Aug 6th 2008, 21:24 | FurnaceBoy | loki_racer, i get some interesting links with : http://www.google.ca/search?hl=enandsafe=offandclient=firefox-aandrls=org.mozilla%3Aen-GB%3Aofficialandhs=k9Fandq=isp+banner+ad+substitutionandbtnG=Searchandmeta= |
# | Aug 6th 2008, 21:24 | FurnaceBoy | ? |
# | Aug 6th 2008, 21:24 | loki_racer | i love the first one |
# | Aug 6th 2008, 21:24 | loki_racer | haha |
# | Aug 6th 2008, 21:24 | FurnaceBoy | heh |
# | Aug 6th 2008, 21:24 | FurnaceBoy | 2nd might be more relevant |
# | Aug 6th 2008, 21:24 | loki_racer | Charter, that's the one |
# | Aug 6th 2008, 21:24 | FurnaceBoy | +3rd |
# | Aug 6th 2008, 21:24 | loki_racer | ya, and Rogers in canada |
# | Aug 6th 2008, 21:24 | loki_racer | killer, thanks |
# | Aug 6th 2008, 21:24 | FurnaceBoy | i figured it was a canadian one |
# | Aug 6th 2008, 21:24 | FurnaceBoy | they're always pushing their luck for some reason :) |