Re: hello

2010-08-15 Thread Jeremy Burns | Class Outfit
The guide will: http://book.cakephp.org/view/907/Developing-with-CakePHP

Jeremy Burns
Class Outfit

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

On 14 Aug 2010, at 19:07, kami wrote:

 im new to cakephp i don't know how to install it will any one guide
 me
 
 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

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: Empty combo option + scaffolding

2010-08-15 Thread Jeremy Burns | Class Outfit
I would move off of scaffolds and on to your own code. Scaffolds are for quick 
and dirty, not production/proper sites - and you get the benefit of learning so 
that you won't need to rely on scaffolds in future.

Jeremy Burns
Class Outfit

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

On 15 Aug 2010, at 02:58, Hugo M wrote:

 Hi! I have some scaffolded controllers and a model Service with a
 belongs to relationship with model user. The thing is that the service
 may not have an owner (user). There's a way to show an empty parameter
 in a scaffolded controler's combo? I know empty parameter works with
 $form-select but with scaffold I can't put that parameter :S.
 
 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

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: How can I display CakePHP input validation errors in a different container input

2010-08-15 Thread rez...@gmail.com
what's meant of redirect this errors for concrete input or group
inputs ?
really I want to help you
Sorry , I can't understand what you want

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: How can I display CakePHP input validation errors in a different container input

2010-08-15 Thread Zaky Katalan-Ezra
Same here

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


can't delete record from table

2010-08-15 Thread Tomfox Wiranata
hi,

i am trying to delete a record from a table. to do that i call a
different model from my controller. anyway, i can retrieve the correct
data perfectly, that tells me the process is right. but i can't delete
a specifi record. first i declared the foreign model in my controller

var $uses = array('User', 'Test');

now i am retreiving the first record from that table, tests. it
happens in my controller:

function __getRecord()
{
$erg = $this-Test-find('first');
$id = $erg['Test']['id'];

$this-set('proxies', $erg);
  return $erg['Test']['name'];
$this-Test-delete($id);
}

After i got it i want to delete it from the table so i am passing the
$id to the delete function. but cake just wont delete the record.

i checked. the correct id is passed...

i am calling this function like
$this-Session-write('abc.test', $this-__getRecord());


can u see the problem? looking forward to your help :)
THX

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: How can I display CakePHP input validation errors in a different container input

2010-08-15 Thread Petr Vytlačil
Hi I will try to describe my problem better:

I have database tables addresses and user so i have two models User
and Address.
User haveone malingaddress (class Address) and billaddress (class
Address) this is definate in model User.
How is registration form where are inputs for information about user
some: User.name, User.phone ...
And inputs for Mailing and billing address: Mailingaddress.street,
Billingaddress.street

-- now i want before save this data to database valid inputs with
validations rules from model Address, source:


$this-Address-create($this-data['Maillingaddress']);
if($this-Address-validate()$this-data['Maillingaddress']){
$this-Address-save($this-data['Maillingaddress']);
}
And now when data arent valid a want show errors in form, but Form
helper get errors for inputs in form from model and data model name
isnt some as name input form:
Address.street != Mallingaddress.street

Is any way how a cane prepare this errors and send to helper?

Have you understand?

On 15 srp, 10:10, rez...@gmail.com rez...@gmail.com wrote:
 what's meant of redirect this errors for concrete input or group
 inputs ?
 really I want to help you
 Sorry , I can't understand what you want

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: How can I display CakePHP input validation errors in a different container input

2010-08-15 Thread Jeremy Burns | Class Outfit
Make some deliberate input errors in your form, and then place this in your 
Address model code:

die(debug($this-validationErrors));

This will show you the output of your validation errors array, and then you'll 
know what values to extract and display.

Jeremy Burns
Class Outfit

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

On 15 Aug 2010, at 15:30, Petr Vytlačil wrote:

 Hi I will try to describe my problem better:
 
 I have database tables addresses and user so i have two models User
 and Address.
 User haveone malingaddress (class Address) and billaddress (class
 Address) this is definate in model User.
 How is registration form where are inputs for information about user
 some: User.name, User.phone ...
 And inputs for Mailing and billing address: Mailingaddress.street,
 Billingaddress.street
 
 -- now i want before save this data to database valid inputs with
 validations rules from model Address, source:
 
 
 $this-Address-create($this-data['Maillingaddress']);
 if($this-Address-validate()$this-data['Maillingaddress']){
$this-Address-save($this-data['Maillingaddress']);
 }
 And now when data arent valid a want show errors in form, but Form
 helper get errors for inputs in form from model and data model name
 isnt some as name input form:
 Address.street != Mallingaddress.street
 
 Is any way how a cane prepare this errors and send to helper?
 
 Have you understand?
 
 On 15 srp, 10:10, rez...@gmail.com rez...@gmail.com wrote:
 what's meant of redirect this errors for concrete input or group
 inputs ?
 really I want to help you
 Sorry , I can't understand what you want
 
 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

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: How can I display CakePHP input validation errors in a different container input

2010-08-15 Thread euromark
if you bake your views/forms
this should be done automatically

IF you set up your model relations accordingly anyway
maybe somethings wrong here
you should post your code for details


On 15 Aug., 16:30, Petr Vytlačil petr.vytla...@gmail.com wrote:
 Hi I will try to describe my problem better:

 I have database tables addresses and user so i have two models User
 and Address.
 User haveone malingaddress (class Address) and billaddress (class
 Address) this is definate in model User.
 How is registration form where are inputs for information about user
 some: User.name, User.phone ...
 And inputs for Mailing and billing address: Mailingaddress.street,
 Billingaddress.street

 -- now i want before save this data to database valid inputs with
 validations rules from model Address, source:

 
 $this-Address-create($this-data['Maillingaddress']);
 if($this-Address-validate()$this-data['Maillingaddress']){
     $this-Address-save($this-data['Maillingaddress']);}

 And now when data arent valid a want show errors in form, but Form
 helper get errors for inputs in form from model and data model name
 isnt some as name input form:
 Address.street != Mallingaddress.street

 Is any way how a cane prepare this errors and send to helper?

 Have you understand?

 On 15 srp, 10:10, rez...@gmail.com rez...@gmail.com wrote:



  what's meant of redirect this errors for concrete input or group
  inputs ?
  really I want to help you
  Sorry , I can't understand what you want

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


i18n paginate

2010-08-15 Thread Jörg
Hello,

I try to lists all items of a groups model where the I18n locale is
'deu' OR 'eng'.
The problem is, if I try to set a condition to the paginate function I
get a SQL error.
I read in blogs and in this group that the problem is in the usage of
the two different finds [find('count'), find('all')].

I try the solution
http://cakephp.lighthouseapp.com/projects/42648/tickets/545-filtering-paginated-results-with-conditions-on-i18n-fields
but I wasn't successful.

Can somebody help me ?

THANKS Joerg !

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: Empty combo option + scaffolding

2010-08-15 Thread Hugo M
Yeah, I use scaffolds only in backend. The problem is I'm creating new
fields and modelds in the database and I don't want to update (for
now) my controllers every time, so scaffolding is perfect for me (at
backend).

2010/8/15 Jeremy Burns | Class Outfit jeremybu...@classoutfit.com:
 I would move off of scaffolds and on to your own code. Scaffolds are for 
 quick and dirty, not production/proper sites - and you get the benefit of 
 learning so that you won't need to rely on scaffolds in future.

 Jeremy Burns
 Class Outfit

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

 On 15 Aug 2010, at 02:58, Hugo M wrote:

 Hi! I have some scaffolded controllers and a model Service with a
 belongs to relationship with model user. The thing is that the service
 may not have an owner (user). There's a way to show an empty parameter
 in a scaffolded controler's combo? I know empty parameter works with
 $form-select but with scaffold I can't put that parameter :S.

 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

 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


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


problem with hasOne saving

2010-08-15 Thread Tomfox Wiranata
hi

i have two models: User and Address.. the relation is User hasOne
Address.

In my users_controller i declare it like this:

var $name = 'Users';
var $hasOne = 'UserAddress';

var $uses = array('UserAddress');


now after all information are entered in the form i am saving the user
first, then getting the user_id to save the address: this happens in a
controller function:

$this-User-save($this-data);

if ( $this-User-save($this-data) ){
 $this-data 
['UserAddress']['fk_user_id'] = $this-User-id;

 
$this-data['UserAddress']['title']= $this - Session -
read('User.contact.title');
 
$this-User-UserAddress-save($this-data);
}


the user is saved perfectly. but cake has a problem with my
UserAddress model. this is the error that pops up:


Undefined property: User::$UserAddress [APP\controllers
\users_controller.php, line 90]
Code | Context


 $this-data[User'Address']['title']= $this -
Session - read('User.contact.title');

 $this-UserUserAddress-save($this-data);

Fatal error: Call to a member function save() on a non-object in C:
\Development\xampp\htdocs\muh\app\controllers\users_controller.php on
line 90


so no information is saved for UserAddress


can u help me? thx :)

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: Empty combo option + scaffolding

2010-08-15 Thread euromark
i never use scaffold...
make sure your baking templates are as you need them, bake the views
and simply add the missing (new) fields by hand if they are introduced
later on
thats almost quicker and allows you to modify the empty param and
other stuff permanently.


On 15 Aug., 19:49, Hugo M ham1...@gmail.com wrote:
 Yeah, I use scaffolds only in backend. The problem is I'm creating new
 fields and modelds in the database and I don't want to update (for
 now) my controllers every time, so scaffolding is perfect for me (at
 backend).

 2010/8/15 Jeremy Burns | Class Outfit jeremybu...@classoutfit.com:



  I would move off of scaffolds and on to your own code. Scaffolds are for 
  quick and dirty, not production/proper sites - and you get the benefit of 
  learning so that you won't need to rely on scaffolds in future.

  Jeremy Burns
  Class Outfit

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

  On 15 Aug 2010, at 02:58, Hugo M wrote:

  Hi! I have some scaffolded controllers and a model Service with a
  belongs to relationship with model user. The thing is that the service
  may not have an owner (user). There's a way to show an empty parameter
  in a scaffolded controler's combo? I know empty parameter works with
  $form-select but with scaffold I can't put that parameter :S.

  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 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


Strange problem with form helper...

2010-08-15 Thread Zippoxer
I've created a simple authentication form with username and password
input fields.
The problem is that the password is always empty through $this-data
in the controller, but username is not empty.
What's the problem?

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: Empty combo option + scaffolding

2010-08-15 Thread Hugo M
Ok, thanks! I think scaffolding is a good tool but is not enough when
you need something else than ABM. Anyway, I think empty values in
combos should be added to scaffolding x). Too bad is not a can be
null config belongs to param or something like that.

2010/8/15 euromark dereurom...@googlemail.com:
 i never use scaffold...
 make sure your baking templates are as you need them, bake the views
 and simply add the missing (new) fields by hand if they are introduced
 later on
 thats almost quicker and allows you to modify the empty param and
 other stuff permanently.


 On 15 Aug., 19:49, Hugo M ham1...@gmail.com wrote:
 Yeah, I use scaffolds only in backend. The problem is I'm creating new
 fields and modelds in the database and I don't want to update (for
 now) my controllers every time, so scaffolding is perfect for me (at
 backend).

 2010/8/15 Jeremy Burns | Class Outfit jeremybu...@classoutfit.com:



  I would move off of scaffolds and on to your own code. Scaffolds are for 
  quick and dirty, not production/proper sites - and you get the benefit of 
  learning so that you won't need to rely on scaffolds in future.

  Jeremy Burns
  Class Outfit

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

  On 15 Aug 2010, at 02:58, Hugo M wrote:

  Hi! I have some scaffolded controllers and a model Service with a
  belongs to relationship with model user. The thing is that the service
  may not have an owner (user). There's a way to show an empty parameter
  in a scaffolded controler's combo? I know empty parameter works with
  $form-select but with scaffold I can't put that parameter :S.

  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 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


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 call from other app

2010-08-15 Thread Davor Ilic
Hi,

does anyone know an answer for my issue?

thanks

2010/8/11 Davor Ilic webfa...@gmail.com

 Hi,

 how i can use sessions in cake. My problem is i have two different apps on
 my webserver runing.

 With the one the user can registrate and login. And this one crates an
 session.

 Now the other app an chat would call with popup. My problem here is how to
 call the session which is seted by the other weblogin.

 I need now to know which session is set for the user to use it for my
 chatapp, how i call the session from other webapp.




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


Route question

2010-08-15 Thread Dave Maharaj
I have my gallery controller and each gallery has a slug so the url looks
like gallery/fishing (if manually typed in)

Routed like - Router::connect('/gallery/:gal_slug',array('controller' =
'galleries' , 'action' = 'view'), array( 'gal_slug' =
'[-_A-Za-z0-9]+','pass' = array('gal_slug' ) ) );

 

Then in my gallery index.ctp I have ?php echo $this-Html-link(__('View',
true), array('controller' = 'galleries' , 'action' = 'view',
$gallery['Gallery']['slug'])); ? but the url when hover/clicked over the
link shows view -  gallery/view/fishing.

 

How can I get it so it removes the view from the url? 

 

Thanks

 

Dave

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: Strange problem with form helper...

2010-08-15 Thread Sam
We need more info... can you paste your view, and perhaps your
controller action?

On Aug 15, 1:24 pm, Zippoxer zippo...@gmail.com wrote:
 I've created a simple authentication form with username and password
 input fields.
 The problem is that the password is always empty through $this-data
 in the controller, but username is not empty.
 What's the problem?

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: Route question

2010-08-15 Thread mark_story
The problem is that in your link you don't use the 'gal_slug' key for
the array.  So the router doesn't understand that you mean it to be a
gal_slug route.  The pass key in the options, isn't bidirectional
unfortunately.

-Mark

On Aug 15, 9:02 pm, Dave Maharaj m...@davemaharaj.com wrote:
 I have my gallery controller and each gallery has a slug so the url looks
 like gallery/fishing (if manually typed in)

 Routed like - Router::connect('/gallery/:gal_slug',array('controller' =
 'galleries' , 'action' = 'view'), array( 'gal_slug' =
 '[-_A-Za-z0-9]+','pass' = array('gal_slug' ) ) );

 Then in my gallery index.ctp I have ?php echo $this-Html-link(__('View',
 true), array('controller' = 'galleries' , 'action' = 'view',
 $gallery['Gallery']['slug'])); ? but the url when hover/clicked over the
 link shows view -  gallery/view/fishing.

 How can I get it so it removes the view from the url?

 Thanks

 Dave

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