Log message #113603

# At Username Text
# Aug 9th 2008, 12:51 jaredhoyt or do a an if() on the param in the beforeFilter() and allow() or deny() 'display' accordingly
# Aug 9th 2008, 12:51 SunSparc jaredhoyt: Hmm, ok
# Aug 9th 2008, 12:50 jaredhoyt SunSparc: the allow() is for actions, not parameters though afaik... so you might have to separate the home page into another action
# Aug 9th 2008, 12:49 jaredhoyt SunSparc: just copy the pages_controller from the cake core
# Aug 9th 2008, 12:49 linked_ hmm, i think my question should be...does routes::parseExtensions affect controllers' passedArgs
# Aug 9th 2008, 12:45 SunSparc When using the Auth component, if I want to "allow" users to see the home page "views/pages/home.ctp" will I need to create a PagesController in order to add the Auth->allow? I assume the answer is, yes.
# Aug 9th 2008, 12:40 linked_ i made use of mapResources to automatically handle calls for /controller/action.xml. does it also understands /controller/action/param1/param2.xml?
# Aug 9th 2008, 12:39 linked_ hi. does routes::mapResources definition affects passedArgs?
# Aug 9th 2008, 12:31 jaredhoyt or do you care, i don't know how closely related rowing is to sailing =P
# Aug 9th 2008, 12:30 jaredhoyt gwoo: you enjoying the rowing coverage today?
# Aug 9th 2008, 12:28 B00mgo_M4N you're welcome :)
# Aug 9th 2008, 12:23 ilove_php AD7 its working now, thanks for those advice
# Aug 9th 2008, 12:16 AD7six TommyO: I feel like a mirror :P
# Aug 9th 2008, 12:13 TommyO haha. there it is again
# Aug 9th 2008, 12:12 AD7six ilove_php: what's you're best guess at how to do so.
# Aug 9th 2008, 12:12 ilove_php thanks... just one more question, what if i want to remove that div?
# Aug 9th 2008, 12:05 AD7six ilove_php: well at least you already know what to do...
# Aug 9th 2008, 12:05 ilove_php however, the space is still there (i think it has something to do with the div) :(
# Aug 9th 2008, 12:05 ilove_php my bad, i forgot to change it from '' to false
# Aug 9th 2008, 12:04 AD7six ilove_php: show
# Aug 9th 2008, 12:04 ilove_php AD7: i already inserted the 'label'=>false but it still prints out the label, thats what im trying to say
# Aug 9th 2008, 12:00 kalileo freebox: If you look at the manual you'll see that there is not a $this->Model->findByWhatever() used in the Controller, but a $this->paginate, and that the pagination is for the main Model, and not for the related Models. However I understand that, if you have many related Models, you would want to page through them.
# Aug 9th 2008, 11:59 AD7six ilove_php: TheBig gave you a suggestion on how to get rid of the label - what are you currently trying to do (think).
# Aug 9th 2008, 11:58 AD7six ilove_php: you'd be better off doing echo $form->create(); echo $form->inputs(array('username', 'password')); .. imo.
# Aug 9th 2008, 11:58 ilove_php AD7six: already done that but it stills print the label and the div
# Aug 9th 2008, 11:58 lhy AD7six sorry typo... :) seems its working now
# Aug 9th 2008, 11:58 ilove_php am new to cakephp thats why im still working my way familiarizing with the framework
# Aug 9th 2008, 11:57 AD7six ilove_php: look at TheBig's suggestion and give it your best guess
# Aug 9th 2008, 11:57 ilove_php AD7six i know i sound annoying asking these stupid questions, is there a way to remove that div on the inputbox?
# Aug 9th 2008, 11:57 AD7six lhy: your test function does nothing - write has 2 parameters
# Aug 9th 2008, 11:56 lhy AD7six just write something to the session.. I want to print it out in the view... but the view says no value (debug mode on 3) assigned for the var
# Aug 9th 2008, 11:56 AD7six stop guessing
# Aug 9th 2008, 11:56 AD7six ilove_php: look at the source
# Aug 9th 2008, 11:55 ilove_php @AD7six = i already set my label value to false and it still gives me that freaking space lol. tried putting a space on my passwords label but i guess the $form class trims the label first, maybe andnbsp; will work gotta give it a try
# Aug 9th 2008, 11:55 AD7six lhy: your test function doesn't do anything
# Aug 9th 2008, 11:54 linked_ AD7six: ah, ok. thanks!
# Aug 9th 2008, 11:54 AD7six linked_: no
# Aug 9th 2008, 11:54 linked_ AD7six: i guess to summarize my question, do $this->model->relatedModel calls has the conditions defined models relationship definitions?
# Aug 9th 2008, 11:53 AD7six TheBig: almost certainly that wont help because the question asked isn't the real problem.
# Aug 9th 2008, 11:53 AD7six why don't you just us the form helper and modify your params to get the output you want - rather than the 1/2 and 1/2 solution you are currently doing.
# Aug 9th 2008, 11:53 TheBig ilove_php, just write $form->input('field', array('label' => false));