OffersBit.com - Domain On Sale

2011-01-19 Thread gautam lakum
Hi there,

Want to buy a premier like domain name? Here is one.

Know more about it...

*OffersBit.com http://www.offersbit.com/*
*
*
*[image: 
PHP-Dev-Bit.png]https://flippa.com/auctions/120164/OffersBit-com---A-premium-like-domain-name
*
*
*
*Click here to bid for this
domain.https://flippa.com/auctions/120164/OffersBit-com---A-premium-like-domain-name
*
*
*
*[image: 
120164.png]https://flippa.com/auctions/120164/OffersBit-com---A-premium-like-domain-name
*



*--
Gautam Lakum
*

*Blog :* www.gautamlakum.com
*Email :* gautam.la...@gmail.com

*My profiles :* [image:
Facebook]http://www.facebook.com/people/Gautam-Lakum/1801544825
 [image: LinkedIn] http://in.linkedin.com/in/gautamlakum [image:
Twitter]http://twitter.com/webdevbit
*Contact me : *[image: Google Talk/] g gautam.la...@gmail.com
autam.la...@gmail.com

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Session-setFlash error

2010-07-09 Thread gautam lakum
I am getting this error in my default.ctp layout.


Notice (8): Undefined variable: session [APP\views\layouts
\default.ctp, line 74]
Code | Context

Fatal error: Call to a member function flash() on a non-object in C:
\wamp\www\rentcar1\app\views\layouts\default.ctp on line 74

This is the layout html I have written.

div class=span-24 last style=width:100%;text-
align:right;background:#F18235;color:#ff;
?php $session-flash(); ?


Please help. I am not getting what is happening there?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Session-setFlash error

2010-07-09 Thread gautam lakum
Thanks jeremy, it is working now.

On Jul 9, 1:28 pm, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
 If you are on 1.3, don't forget to add the Session helper and Session 
 component to your app_controller.

 Jeremy Burns
 Class Outfit

 jeremybu...@classoutfit.comhttp://www.classoutfit.com

 On 9 Jul 2010, at 20:51, gautam lakum wrote:



  I am getting this error in my default.ctp layout.

  Notice (8): Undefined variable: session [APP\views\layouts
  \default.ctp, line 74]
  Code | Context

  Fatal error: Call to a member function flash() on a non-object in C:
  \wamp\www\rentcar1\app\views\layouts\default.ctp on line 74

  This is the layout html I have written.

  div class=span-24 last style=width:100%;text-
  align:right;background:#F18235;color:#ff;
  ?php $session-flash(); ?

  Please help. I am not getting what is happening there?

  Check out the new CakePHP Questions sitehttp://cakeqs.organd help others 
  with their CakePHP related questions.

  You received this message because you are subscribed to the Google Groups 
  CakePHP group.
  To post to this group, send email to cake-php@googlegroups.com
  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this group 
  athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


render multiple views within single layout

2010-04-29 Thread gautam lakum
Hi all bakers,

I have coded like this to render two views in a single controller.

$this-render('upload_photos','layout1');
$this-viewPath = 'ideas';
$this-render('edit_progress',null);

But the problem is it renders layout1 completely after rendering
upload_photos, and then it renders the edit_progress view file along
with rendering layout2.
So in a single page, I am getting both layouts and both view files. I
want upload_photos and edit_progress rendered in layout1's ?php echo
$content_for_layout; ? area.

Help me please.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


How to store error messages in variables?

2010-02-01 Thread gautam lakum
Hi All,

I am trying to get all the errors in a variable. The problem is that I
can get missing controller and missing method or error404 like errors.
But I want to get warnings and notice errors in variable. How to do
this. I am just trying to make site error free. So that if someone is
using site, he/she will not be able to see errors and the actual error
will be send to me in email.

So please help me. How to get notice and warning errors like missing
value, divide by 0, missing arguments, etc. like errors.

Is there ant component or helper for that?

Thank You.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


pages_controller.php in controllers folder not working

2010-01-30 Thread gautam lakum
Hi all,

I have created pages_controller.php in controllers folder. There are
two actions in it named index and getmodel. I have created index.ctp
and getmodel.ctp in /app/views/pages. But when I try to access
http://.../pages/index or http://.../pages/getmodel, it gives error404
error. One thing is I have customized the cakephp default error pages.

But the question is why I can't access these urls although I have
created pages_controller.php actions and its .ctp files.

Thanks.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


ACL - aco/aro creation help

2009-12-07 Thread gautam lakum
Hi all,

I am using ACL with my cakePHP application. I want to assign
permissions to the users. I have groups table, in which I have 3 types
of groups called
1. superadmin
2. admin
3. member

The permissions are like superadmin can access all the controllers
actions, admin can also access all the actions but can't access
new_admin action. new_admin can be accessed only by super admin.
members can't access admin actions. They can access only login,
logout, search, profile, new_dealer, add_review actions.

So please help me, what should be there in aros and acos table. and
also aros_acos table. I am too much confused. If possible, please
reply with some easy example. I found some e.g. but they were
confusing me.

Thank you.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


cakephp html link problem

2009-10-26 Thread gautam lakum

I am new to cakePHP. I have used the last and newer both versions. In
new version I am facing problem with generating html link using $html-
link

The link as output is currect. But with the link title, I am also
getting the link as text that I have applied. Look below e.g.

?php echo $html-link(Login,'/users/login'); ?

The output should be just Login as text and when someone clicks in
that link then it should open login form. But I am getting output like
Login (/cakeproject/users/login) as text and rest of the output is
OK.

So give me the solution for this.
How to get link title only Login but not Login (/cakeproject/users/
login). I want to remove (/cakeproject/users/login) text from link
title.

Thank you.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



cakephp html link problem

2009-10-26 Thread gautam lakum

I am new to cakePHP. I have used the last and newer both versions. In
new version I am facing problem with generating html link using $html-
link

The link as output is currect. But with the link title, I am also
getting the link as text that I have applied. Look below e.g.

?php echo $html-link(Login,'/users/login'); ?

The output should be just Login as text and when someone clicks in
that link then it should open login form. But I am getting output like
Login (/cakeproject/users/login) as text and rest of the output is
OK.

So give me the solution for this.
How to get link title only Login but not Login (/cakeproject/users/
login). I want to remove (/cakeproject/users/login) text from link
title.

Thank you.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---