# |
Aug 7th 2008, 15:18 |
TommyO |
mitnavn: I have a view that is simply <?php echo $this->element('login'); ?> even if it never gets called |
# |
Aug 7th 2008, 15:18 |
cudell |
i have also edited core.php to disable the cache |
# |
Aug 7th 2008, 15:18 |
cudell |
yeah, i checked into that, and only the models have things in the cache. |
# |
Aug 7th 2008, 15:18 |
ammadsaleem |
my session values are getting override with images |
# |
Aug 7th 2008, 15:18 |
teknoid |
cudell: your views might be cached on app/tmp/cache/ |
# |
Aug 7th 2008, 15:17 |
Wisp |
hmm |
# |
Aug 7th 2008, 15:17 |
mitnavn |
TommyO: At the moment it's just blank, I am considering routing it back to my frontpage :/ |
# |
Aug 7th 2008, 15:17 |
TommyO |
or to a site they don't have perms on? |
# |
Aug 7th 2008, 15:17 |
cudell |
i know the changes are being saved to the server when i reopen the files |
# |
Aug 7th 2008, 15:17 |
ammadsaleem |
can any one help me |
# |
Aug 7th 2008, 15:17 |
ammadsaleem |
i m using JQuery form plugin with cake and my Session vlaues are getting lost |
# |
Aug 7th 2008, 15:17 |
TommyO |
mitnavn: what happens if someone goes directly to /users/login ? |
# |
Aug 7th 2008, 15:16 |
teknoid |
Wisp: see above |
# |
Aug 7th 2008, 15:16 |
Wisp |
not in $content_for_layout; |
# |
Aug 7th 2008, 15:16 |
cudell |
no changes are reflected on the server |
# |
Aug 7th 2008, 15:16 |
teknoid |
Wisp: use $this->set() |
# |
Aug 7th 2008, 15:16 |
zmonteca |
teknoid: correct. the form goes to itself, /admins/users/student. I'll allow admins_students and see what happens. good god this is weird. |
# |
Aug 7th 2008, 15:16 |
cudell |
i am a rookie baker and have a freshly scaffolded application. when i make changes to the views files and save them |
# |
Aug 7th 2008, 15:16 |
Wisp |
i wanna set variable in my views and render it in my layout |
# |
Aug 7th 2008, 15:16 |
_psychic_ |
ammadsaleem: hey |
# |
Aug 7th 2008, 15:16 |
_psychic_ |
cudell: sup |
# |
Aug 7th 2008, 15:16 |
_psychic_ |
ok |
# |
Aug 7th 2008, 15:15 |
Wisp |
no |
# |
Aug 7th 2008, 15:14 |
cudell |
hello, bakers. |
# |
Aug 7th 2008, 15:14 |
teknoid |
zmonteca: possibly Auth is causing that. your only allow 'start', but that's not where the form goes, if i'm not mistaken |
# |
Aug 7th 2008, 15:14 |
_psychic_ |
Wisp: you want all your page titles to be the same? |
# |
Aug 7th 2008, 15:14 |
ammadsaleem |
helo all |
# |
Aug 7th 2008, 15:13 |
Wisp |
how i can make golbal vars loke $this->pageTitle ? |
# |
Aug 7th 2008, 15:13 |
mitnavn |
Thanks I'll try that, I only knew of making it private and that wouldn't work :P |
# |
Aug 7th 2008, 15:13 |
zmonteca |
teknoid: http://bin.cakephp.org/saved/35857 |
# |
Aug 7th 2008, 15:13 |
Wisp |
hello all |
# |
Aug 7th 2008, 15:13 |
teknoid |
$this->autoRender = false; to be more exact |
# |
Aug 7th 2008, 15:13 |
teknoid |
mitnavn: autoRender = false; |
# |
Aug 7th 2008, 15:12 |
mitnavn |
teknoid: well, as in my login form is in an element I include in my layout. So I don't need the view for the function, however when I press submit button it errors because of the missing login.ctp |
# |
Aug 7th 2008, 15:12 |
teknoid |
? |
# |
Aug 7th 2008, 15:12 |
teknoid |
zmonteca: view is fine, what about your action/controller? anything in beforeFilter() / beforeRender() |
# |
Aug 7th 2008, 15:11 |
zmonteca |
teknoid: you see anything obvious? |
# |
Aug 7th 2008, 15:11 |
teknoid |
mitnavn: why are you calling it from a view? |
# |
Aug 7th 2008, 15:11 |
mitnavn |
I have a login function I call from another view, can I make that function work without a view for itself? |
# |
Aug 7th 2008, 15:09 |
teknoid |
mesarpe2: have you done the blog tutorial? |
# |
Aug 7th 2008, 15:05 |
mesarpe2 |
i wanna know a fast way to create the form and receive the data |