Log message #107301

# At Username Text
# 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
# Aug 6th 2008, 19:41 polerin is it going to change often
# Aug 6th 2008, 19:41 polerin is it determined on a per user basis
# 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:40 batcoder-7 polerin: i think so, and if not hopefylly ie8 hehe
# 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 polerin batcoder-7: I'm not sure IE 7 fixed that :/
# Aug 6th 2008, 19:39 Hedz Ins|de look for referer
# Aug 6th 2008, 19:39 batcoder-7 polerin: no one likes ie6 anyways hehehe
# Aug 6th 2008, 19:39 polerin Ins|de: is this a login action?
# Aug 6th 2008, 19:39 polerin Ins|de: you'd have to save the action in the session
# 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: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:38 batcoder-7 ah
# Aug 6th 2008, 19:38 polerin )
# Aug 6th 2008, 19:38 polerin batcoder-7: the are 100% css, except for in IE
# Aug 6th 2008, 19:38 Hedz but i dont want to add an array for each project
# 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:37 Hedz multiple projects multiple database
# 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 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 polerin Hedz: I assumed.. are there only going to be one or two, or what's going on?
# 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:36 Hedz i want to change the default database settings depending on a session var
# Aug 6th 2008, 19:36 batcoder-7 but i need cake to figure out which page its on and to build the 2nd tir menu right ?
# Aug 6th 2008, 19:36 polerin and put it in an element, or something of that nature
# Aug 6th 2008, 19:35 polerin nah, you can do that in plain (x)html with css
# Aug 6th 2008, 19:35 batcoder-7 a click + page load is fine