[no subject]

2014-12-21 Thread SANJU PARMAR


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


CakePHP 3.0 - Get data from event subject

2014-08-26 Thread Dr. Tarique Sani
Trying something very simple here

In my Listener I am trying to get

$event-subject()-id

but I keep getting  Table App\Model\Table\PostsTable is not associated
with id

What am I missing here?

Tarique


-- 
=
Hire a CakePHP dev team : http://sanisoft.com
=

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: CakePHP 3.0 - Get data from event subject

2014-08-26 Thread José Lorenzo
You probably want to use $event-data instead. Also, remember that 
listeners get the data as arguments, so if you want the entity Id add the 
$entity as the second argument of the function.

On Tuesday, August 26, 2014 2:00:49 PM UTC+2, Dr. Tarique Sani wrote:

 Trying something very simple here 

 In my Listener I am trying to get 

 $event-subject()-id

 but I keep getting  Table App\Model\Table\PostsTable is not associated 
 with id

 What am I missing here?

 Tarique


 -- 
 =
 Hire a CakePHP dev team : http://sanisoft.com
 =
  

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: CakePHP 3.0 - Get data from event subject

2014-08-26 Thread Dr. Tarique Sani
Thanks $event-data does the trick, $entity as second argument does not
appear with Id hydrated.

Cheers
Tarique


On Tue, Aug 26, 2014 at 6:08 PM, José Lorenzo jose@gmail.com wrote:

 You probably want to use $event-data instead. Also, remember that
 listeners get the data as arguments, so if you want the entity Id add the
 $entity as the second argument of the function.


 On Tuesday, August 26, 2014 2:00:49 PM UTC+2, Dr. Tarique Sani wrote:

 Trying something very simple here

 In my Listener I am trying to get

 $event-subject()-id

 but I keep getting  Table App\Model\Table\PostsTable is not associated
 with id

 What am I missing here?

 Tarique


 --
 =
 Hire a CakePHP dev team : http://sanisoft.com
 =

  --
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP

 ---
 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to cake-php+unsubscr...@googlegroups.com.
 To post to this group, send email to cake-php@googlegroups.com.
 Visit this group at http://groups.google.com/group/cake-php.
 For more options, visit https://groups.google.com/d/optout.




-- 
=
Hire a CakePHP dev team : http://sanisoft.com
=

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


[no subject]

2013-10-04 Thread Bubune Adih


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Model Subject not found

2013-02-26 Thread Bogdan Soos
Hi there and welcome to Cake, 
Try searching in the model association (belongsTo, hasMany, hasOne, 
hasAndBelongsToMany) I'll bet you have there a Subject. 

Bogdan. 

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

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




Model Subject not found

2013-02-26 Thread Bogdan Soos
Hi there and welcome to Cake, 
Try searching in the model association (belongsTo, hasMany, hasOne, 
hasAndBelongsToMany) I'll bet you have there a Subject. 

Bogdan. 

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

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




Model Subject not found

2013-02-25 Thread Paul Wiegers
Dear Bakers,

I'm trying to move a application from Symfony to CakePHP, getting tired of 
the way symfony always seems to be getting in the way instead of helping me 
out to do stuff quickly. Of course, I read the docs etc, and now I am 
trying my first baby-steps in Cake.

I have a existing database, which of course comes from the symfony-version 
of my app.

Now, I am trying to bake the CRUD for the database, just to see if things 
can work out without too much changes.

I ran

php bake model all
php bake controller all

without much trouble, and magic appears to be happening. But with bake view 
all, I hit a snag:

Error: Table subjects for model Subject was not found in datasource default.

The strange thing is: I have no Subject model (as far as I can see..) I 
sure don't have a table called subject, I don't even have a field called 
subject. Why is cake thinking I want a subject? I don't want a subject! 
:-)))

My question: how can I find out where this Subject is comming from?

BTW: I used the cake oAuth-app as groundwork for this app, as I want to use 
oAuth.

thanks for any light on this :)

Paul

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

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




Re: Model Subject not found

2013-02-25 Thread Thiago Belem
Maybe a search for Subject on files in your app folder?

Maybe you should try to bake with a plain new application, generated with
cake bake app-name or just a new unpacked CakePHP.

I also recommend you to use cake bake all model name so it should
generate the model, the controller and the views of the given model.

Regards,

--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil

*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd

thiagobelem.net
cont...@thiagobelem.net

*Skype / gTalk **»* thiago.belem.web
*LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt


On Mon, Feb 25, 2013 at 7:39 AM, Paul Wiegers pwieg...@gmail.com wrote:

 Dear Bakers,

 I'm trying to move a application from Symfony to CakePHP, getting tired of
 the way symfony always seems to be getting in the way instead of helping me
 out to do stuff quickly. Of course, I read the docs etc, and now I am
 trying my first baby-steps in Cake.

 I have a existing database, which of course comes from the symfony-version
 of my app.

 Now, I am trying to bake the CRUD for the database, just to see if things
 can work out without too much changes.

 I ran

 php bake model all
 php bake controller all

 without much trouble, and magic appears to be happening. But with bake
 view all, I hit a snag:

 Error: Table subjects for model Subject was not found in datasource
 default.

 The strange thing is: I have no Subject model (as far as I can see..) I
 sure don't have a table called subject, I don't even have a field called
 subject. Why is cake thinking I want a subject? I don't want a subject!
 :-)))

 My question: how can I find out where this Subject is comming from?

 BTW: I used the cake oAuth-app as groundwork for this app, as I want to
 use oAuth.

 thanks for any light on this :)

 Paul

 --
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP

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




-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

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




Re: Model Subject not found

2013-02-25 Thread Paul Wiegers
Hi Thiago,


Maybe a search for Subject on files in your app folder?


thanks for your answer. Of course, my initial reaction was: I did, but I 
don't find anything! And I did a grep Subject * -R. But I looked over the 
results once more.
Turns out, I did have a field called subject_id. The funny thing is: 
symfony does not care about the _id part, but I guess CakePHP thinks, 
because of the _id, that this must be a reference to another table, which 
does, indeed, not exist.

So, I changed the fieldname - now, the views are generated by bake without 
any problems.

Thanks again for pointing me in the right direction!

regards,

Paul

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

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




[no subject]

2012-12-25 Thread Philipp Wuermli
  http://epeacefornepal.org/wp-content/plugins/akismet/google.html

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
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.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




[no subject]

2012-08-08 Thread vikram sharma
Hello
Any body Suggest me to easy way installation of cake php

-- 
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.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.




[no subject]

2012-08-08 Thread vikram sharma
Any body suggest me installtion pf cake php I ma new.
-- 


*
http://rajasimha.com/images/best-regards.gif
Vikram Sharma  | Cell +9466205050 |*
*E-Mail :  vikramka...@gmail.com vikramka...@gmial.com|  *  *
My Quotes https://sites.google.com/site/vikramquotes/*
*

https://sites.google.com/a/daffodildb.com/rwpersonal/
**
**

http://goog_605103996


*

-- 
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.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.




[no subject]

2012-06-08 Thread Joerg Hermes


Mit freundlichen Grüßen

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


[no subject]

2012-06-04 Thread Tianfan Jin


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


[no subject]

2012-04-15 Thread Reza Talamkhani
Hi.
I need to fetch all gallery rows in every page in application.
How to fetch?
Note: Gallery Model is defined but i do'nt understand how to do?

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


[no subject]

2012-02-05 Thread Manouchehr Boshaq
hi
first i'm member of group but i cant post to moderator .
second:
i have a table for storing course data. any course has 1 or more
prerequisites of courses.
how can i relate HABTM table with itself.

thanks

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


Can't sum up question for a good subject.

2011-06-04 Thread turbo2ltr
Parts hasMany Attributes and Attributes belongsTo attribute_types.
This allows the user to create arbitrary attributes (like weight for
instance)  that all parts inherit and whose value can be set on a per-
part basis. These associations seem to work well.

But a problem arises because if the part doesn't have any attribute
values already set (or only some are set), then those fields do not
show up in the edit form because they are not part of the loop.  But
the fields should show up no matter if they are blank or not.

So, for the view, I simply passed a list of attribute types to the
view, then match up ID's with the part data.  Not very efficient but
it works.

foreach($AttTypes as $a)
{
echo trtd width=200 . $a['AttributeType']['name'] . :/
tdtd;
foreach($part['Attribute'] as $pa)
{
if($a['AttributeType']['id'] == $pa['attribute_type_id'])
{
 echo $pa['attribute_value'];
}
}
echo /td/tr;
}



So moving onto the add/edit, I ran into the problem as well. Again,
the attribute input fields are not put out because the model doesn't
actually contain the attribute fields.  So again, I pass a list of
attribute_types and walk through them.

foreach($AttTypes as $k=$at)
{
 echo $form-input('Attribute.' . $k . '.attribute_value',
array('label'=$at['AttributeType']['name']));
 echo $form-input('Attribute.' . $k .
'.id',array('type'='hidden'));
 echo $form-input('Attribute.' . $k .
'.attribute_type_id',array('type'='hidden'));
}


The problem is it's not setting the attribute_type_id properly.

The data that gets submitted during an edit is:

[Attribute] = Array
(
[0] = Array
(  // this value was already in the DB so the type_id
gets properly passed
[attribute_value] = Yes
[id] = 4
[attribute_type_id] = 2
)

[1] = Array
(  // this value was set for the first time during the
edit
[attribute_value] = foo
[id] =
[attribute_type_id] =  // missing type id
)
)


What ends up happening is cake puts everything where it's supposed to
when you save it, only the attribute_type_id is missing simply because
it wasn't passed.

So basically I have to set the input value for attribute_type_id if
it's not set already but I have no idea how to do that.

Additionally, as I'm typing this, I realized maybe I'm going about
this wrong?  Maybe, In the controller, I should be building the
model before passing the data to the view? i.e. I check to make sure
all attribute structures are in the model data passed to the view. For
the add view,  I'd manually add all the attributes, and for the edit
view, I'd add any attributes that don't have values. (?)




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


[no subject]

2010-04-15 Thread Ronald Chaplin
http://GertrudisFalzon3555.co.cc

-- 
Thanks,
Ron Chaplin
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Tenacious, Experienced PHP Developer

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

To unsubscribe, reply using remove me as the subject.


[no subject]

2010-04-10 Thread Ronald Chaplin
http://HoratioPaulino3145.co.cc

-- 
Thanks,
Ron Chaplin
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Tenacious, Experienced PHP Developer

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

To unsubscribe, reply using remove me as the subject.


[no subject]

2009-06-16 Thread lakers fan

Hello,

 I want to write a recursive function in my users controller which will be 
called from the url. 

 

http://localhost/cake/users/recfunction/param1/param2

 

This recfunction will call itself if needed.. 

 

function recfunction(param1, param2)

{

 if(condition == true)

   {

recfunction(param1, param2); //get error in this line recfunction not 
defined.

   }

}

 

any ideas?

 

Thanks,

Bharani

 

 

_
Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



mail subject is not influenced by charset-setting

2009-01-16 Thread Rimoe
hi,everyone.

I have use the emailcomponent to send Email.

but my subject can't be show by my  charset-setting

but the content can be show  very good.

version cakephp 1.2

I have no use the smtp and template.

Thanks

rimoe

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



[no subject]

2008-11-06 Thread Scott McLaughlin

unsubscribe


  

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Title in Subject (default)

2007-05-18 Thread Rodrigo Castilho Galvão Ferreira

Please, it would be very good for having a heading for standard, for example:


[CakePHP] MY TITLE


Admin, it could insert for standard?



Thanks,

-- 
Rodrigo Castilho Galvão Ferreira

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



Re: Title in Subject (default)

2007-05-18 Thread Sliv

I'm not sure I understand you exactly, but you can put this in a
controller to set a title for the view:

$this-pageTitle = 'yourpagetitle');

On May 18, 9:17 am, Rodrigo Castilho Galvão Ferreira
[EMAIL PROTECTED] wrote:
 Please, it would be very good for having a heading for standard, for example:

 [CakePHP] MY TITLE

 Admin, it could insert for standard?

 Thanks,

 --
 Rodrigo Castilho Galvão Ferreira


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



Re: Title in Subject (default)

2007-05-18 Thread Rodrigo Castilho Galvão Ferreira

Sorry, I did not specify where... Subject in Googlegroups CakePHP.


Examples:

[jQuery] Lorem ipsum dolor

[Rails-spinoffs] Suspendisse malesuada

[css-d] Aliquam cursus enim



For CakePHP Group:

[CakePHP] MY TITLE



Regards,

-- 
Rodrigo Castilho Galvão Ferreira









On 5/18/07, Sliv [EMAIL PROTECTED] wrote:

 I'm not sure I understand you exactly, but you can put this in a
 controller to set a title for the view:

 $this-pageTitle = 'yourpagetitle');

 On May 18, 9:17 am, Rodrigo Castilho Galvão Ferreira
 [EMAIL PROTECTED] wrote:
  Please, it would be very good for having a heading for standard, for 
  example:
 
  [CakePHP] MY TITLE
 
  Admin, it could insert for standard?
 
  Thanks,
 
  --
  Rodrigo Castilho Galvão Ferreira


 



www.rodrigocastilho.com
www.rodrigocastilho.com.br
www.rodcast.com.br
www.rod.cast.nom.br

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



RE: Title in Subject (default)

2007-05-18 Thread Mariano Iglesias

$this-set('title', 'yourpagetitle');

Is more appropiate.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Sliv
Enviado el: Viernes, 18 de Mayo de 2007 10:35 a.m.
Para: Cake PHP
Asunto: Re: Title in Subject (default)

I'm not sure I understand you exactly, but you can put this in a
controller to set a title for the view:

$this-pageTitle = 'yourpagetitle');


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



Re: Title in Subject (default)

2007-05-18 Thread Sam Sherlock
yes but you can just filter all mail sent to cake-php@googlegroups.com as
'cake'

On 18/05/07, Rodrigo Castilho Galvão Ferreira [EMAIL PROTECTED] wrote:


 Sorry, I did not specify where... Subject in Googlegroups CakePHP.


 Examples:

 [jQuery] Lorem ipsum dolor

 [Rails-spinoffs] Suspendisse malesuada

 [css-d] Aliquam cursus enim



 For CakePHP Group:

 [CakePHP] MY TITLE



 Regards,

 --
 Rodrigo Castilho Galvão Ferreira









 On 5/18/07, Sliv [EMAIL PROTECTED] wrote:
 
  I'm not sure I understand you exactly, but you can put this in a
  controller to set a title for the view:
 
  $this-pageTitle = 'yourpagetitle');
 
  On May 18, 9:17 am, Rodrigo Castilho Galvão Ferreira
  [EMAIL PROTECTED] wrote:
   Please, it would be very good for having a heading for standard, for
 example:
  
   [CakePHP] MY TITLE
  
   Admin, it could insert for standard?
  
   Thanks,
  
   --
   Rodrigo Castilho Galvão Ferreira
 
 
  
 


 www.rodrigocastilho.com
 www.rodrigocastilho.com.br
 www.rodcast.com.br
 www.rod.cast.nom.br

 


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



Re: Title in Subject (default)

2007-05-18 Thread Rodrigo Castilho Galvão Ferreira

...And in Subject Googlegroup, it does not exist? It would not be necessary?


-- 
Rodrigo Castilho Galvão Ferreira






On 5/18/07, Sam Sherlock [EMAIL PROTECTED] wrote:
 yes but you can just filter all mail sent to cake-php@googlegroups.com as
 'cake'

  On 18/05/07, Rodrigo Castilho Galvão Ferreira [EMAIL PROTECTED] wrote:
 
  Sorry, I did not specify where... Subject in Googlegroups CakePHP.
 
 
  Examples:
 
  [jQuery] Lorem ipsum dolor
 
  [Rails-spinoffs] Suspendisse malesuada
 
  [css-d] Aliquam cursus enim
 
 
 
  For CakePHP Group:
 
  [CakePHP] MY TITLE
 
 
 
  Regards,
 
  --
  Rodrigo Castilho Galvão Ferreira
 
 
 
 
 
 
 
 
 
  On 5/18/07, Sliv [EMAIL PROTECTED]  wrote:
  
   I'm not sure I understand you exactly, but you can put this in a
   controller to set a title for the view:
  
   $this-pageTitle = 'yourpagetitle');
  
   On May 18, 9:17 am, Rodrigo Castilho Galvão Ferreira
   [EMAIL PROTECTED] wrote:
Please, it would be very good for having a heading for standard, for
 example:
   
[CakePHP] MY TITLE
   
Admin, it could insert for standard?
   
Thanks,
   
--
Rodrigo Castilho Galvão Ferreira
  
  
   
  
 
 
  www.rodrigocastilho.com
  www.rodrigocastilho.com.br
  www.rodcast.com.br
  www.rod.cast.nom.br
 
 


  


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



Re: Title in Subject (default)

2007-05-18 Thread Matthias Bauer

On 18.05.2007 15:17 Rodrigo Castilho Galvão Ferreira wrote:

 Please, it would be very good for having a heading for standard, for example:

Why? Just filter on the List-Id header:

List-Id: cake-php.googlegroups.com

It's standardized, and way more robust.

-Matt

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



Re: Email Component and UTF8 Subject

2007-03-26 Thread Alex


I opened a ticket for this topic:

https://trac.cakephp.org/ticket/2298#preview


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



[no subject]

2007-03-09 Thread Yuriy Veremeyenko


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



Re: Email Component and UTF8 Subject

2007-03-06 Thread Alex



On 2 Mrz., 15:16, nateklaiber [EMAIL PROTECTED] wrote:
 Cake 1.2 has a new email component, I believe that is what he is
 referring to.


Yes you're right! I'm talking about the new Email Component
implemented in Cake 1.2 - sorry for that :-)



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



Email Component and UTF8 Subject

2007-03-02 Thread Alex


Maybe I'm wrong but I think the Email Component doesn't handle UTF8
subjects correctly. I have to wrap a utf8_decode() around my subject
to send it correctly.
Maybe the setting $this-Email-charset = 'utf-8' only impacts the
text to be send?

Greetings from Brasil,
Alex


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



Re: Admin, could you please add a subject prefix for this group?

2006-09-26 Thread [EMAIL PROTECTED]

Yeah do the filter based on senders address.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Re: Admin, could you please add a subject prefix for this group?

2006-09-26 Thread Brian French

you can also just create a filter in your MUA that looks for any email 
address coming from 'cake-php@googlegroups.com' and dump it into a sub 
folder; At least thats what i do.

Kjell Bublitz wrote:
 Heya

 I just enabled the mail on new message for this group. The subjects 
 not always tell if it's about cake, so i feel a little spammed. Could 
 you please add something like  [cake-php] to all subjects ie. 
 group-prefix? I never owned a group on google but i know that it is 
 possible. All my other groups have it on too. Makes following threads 
 alot more comfortable.

 Thank you for your time.






 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Admin, could you please add a subject prefix for this group?

2006-09-25 Thread Kjell Bublitz
HeyaI just enabled the mail on new message for this group. The subjects not always tell if it's about cake, so i feel a little spammed. Could you please add something like [cake-php] to all subjects ie. group-prefix? I never owned a group on google but i know that it is possible. All my other groups have it on too. Makes following threads alot more comfortable. 
Thank you for your time.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake PHP group.  To post to this group, send email to cake-php@googlegroups.com  To unsubscribe from this group, send email to [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/cake-php  -~--~~~~--~~--~--~---