Probably but then wouldn't that kind of defeat the purpose of using
Cake?
On Sep 23, 1:34 am, Vivi Vivi vivianbog...@gmail.com wrote:
Maybe can be done within htaccess with rewrite rule.
On Thu, Sep 23, 2010 at 8:28 AM, Kyle Decot kyle.de...@gmail.com wrote:
I've tried the following w
I am attempting to make a route that will handle the generation of all
of my images. Basically I want it to be something similar to Flickr.
For example:
http://images.example.com/[models]/[sizes]_[filename].[extension]
[models] = (blog|event|user)
[sizes] = (t|s|l|o)
[filename] = example
Anyone? I know this is possible. I've been trying off and on all day
today with no success.
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.
I've tried the following w/ no success
Router::connect('/:model/:size\_:filename.:extension',
array('controller' = 'images', 'action' = 'server'),array(
'model'='(blog|event|users)+',
'size'='(t|m|l|o){1,1}',
'filename'='[a-zA-Z0-9]+',
I created a .manifest file in my webroot folder and I've linked to it
in my layout's html tag. The problem is I think that it isn't
returning w/ the text/cache-manifest type that is required. How do I
go about fixing this?
Check out the new CakePHP Questions site http://cakeqs.org and help others
I need to take an array that I have and turn it into something similar
to:
items perpage = 20 total = 223 page = 1
item created = ... modified = ...
textsdfsdfkdsjfdsfljdsflkjdsfkldsjf/text
somethingelse thing = foobar /
/item
/items
Is it possible to do this without knowing the exact
I have two different models, Skatepark and Weather. I am calling $this-
Skatepark-read(). The Weather's beforeFind() never gets called but
it's afterFind() does. Any ideas why this is happening?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related
') {
}
else if(
Then in my hosting cpanel, I go to the subdomains tab and add a new
subdomain, and set my cake app directory as the path for the
subdomain. Is this an acceptable way of doing this or could this be
the cause of my problems.
On Mar 8, 5:28 pm, Kyle Decot kdec...@gmail.com wrote:
I
of the
security component below 2
On 3/8/10, Kyle Decot kdec...@gmail.com wrote:
Well my sessions.save is set to database in my core.php file. Also, I
did $session-read() on my www page and I get all of my auth info,
however if I do the same thing on, blog.mysite.com then auth is now
callback in app_controller:
$this-Cookie-domain = '.mydomain.tld';
Note that the '.' before your domain name is what tells the browser that the
cookie is valid for *.mydomain.tld.
On Mon, Mar 8, 2010 at 4:50 PM, Kyle Decot kdec...@gmail.com wrote:
Where do I set the realm for the session
Yep. It's all one Cake App. Any ideas?
On Mar 7, 11:43 am, cricket zijn.digi...@gmail.com wrote:
A subdomain is usually a completely separate site. Do you already have
the same Cake app serving all of your subdomains?
On Mar 6, 5:34 pm, Kyle Decot kdec...@gmail.com wrote:
I have a couple
is it's easy to check if
the session was lost, that wold be the first thing I'd look at. Good
luck.
On Sun, 2010-03-07 at 15:25 -0800, Kyle Decot wrote:
Yep. It's all one Cake App. Any ideas?
On Mar 7, 11:43 am, cricket zijn.digi...@gmail.com wrote:
A subdomain is usually a completely
I have a couple different subdomains on my site but I am having some
problems w/ the Auth Component. I login fine under the standard www
subdomain but then if I go to a different subdomain, then I am no
longer logged in. How do I make sure that my Auth login persists
across all of my subdomains?
Hey guys. I have an interesting problem that I don't know how to
solve. I'm building an API for my site and some of my methods require
a api_token which is basically md5(username . md5(password)). The
problem is how to do I verify that this is valid when I don't know the
original password. All my
(Which the build in pagination does automatically).
If you need some help in getting the 'search' term to stay persistent
in your pagination come ask on the irc channel (freenode.net #cakephp)
On Mar 3, 9:04 pm, Kyle Decot kdec...@gmail.com wrote:
I need my page: parameter to appear in my
I need my page: parameter to appear in my url like /model/index/?
page=2search=something How can I get all my parameters to appear in
my paging links? Thanks.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this
I am creating an API for my website and I want to create validation
rules for my various methods based on some rows in my api_arguments
table. How should I go about doing this? Thanks for any help.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP
/images/index/?filename=blahblahblah
On Feb 8, 2:48 am, Miles J mileswjohn...@gmail.com wrote:
Quick question, why are you routing it to a controller, if the path is
basically the same?
On Feb 7, 7:19 pm, Kyle Decot kdec...@gmail.com wrote:
I store all of my full size images at something
I store all of my full size images at something like /img/photos/
filename_goes_here.jpg I would like to be able to add a route so that
if I visit /img/photos/75x75_filename_goes_here.jpg it will be handled
by my images controller. I've tried adding:
Router::connect('/img/photos/75x75_*',
I am creating an API for my CakePHP site and I am wondering how I
should go about authentication? I will be mainly using my API for my
iPhone app but would also like to eventually open it up to anyone that
would be interested in using it. Any recommendations, or approaches
you would suggest would
echo li . $html-link(spanLink Text/span,/some/link/,array
(),false,false) . /li;
On Nov 28, 6:48 pm, Dave make.cake.b...@gmail.com wrote:
Any ideas how to accomplish this output code in Cake?
lia href=/some/linkspanLink Text/span/a/li
I have tried using the $html-link and $html-tag('span',
Columbus, OH!
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
How would I go about making my ApiController link to api.example.com/?
Thanks for any insight you can provide
--
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-...@googlegroups.com.
To unsubscribe from this
echo $form-input('Weekday', array('options' = array
('Monday'='Monday','Tuesday'='Tuesday','Wednesday'='Wednesday','Thursday'='Thursday',
'Friday'='Friday','Saturday'='Saturday',
'Sunday'='Sunday')));
On Nov 10, 1:04 am, cake dhanya@gmail.com wrote:
Hi all,
I want the weekdays to be
Try echo $form-input(description,array(value=html_entity_decode(@
$this-data[Model][description])));
On Oct 31, 5:29 pm, Dave make.cake.b...@gmail.com wrote:
Can someone help me out with this fairly simple question.
I am doing:
$clean = new Sanitize();
$this-data =
Can someone please help me with this? I've tried posting on here and
on the IRC channel and no one can seem to figure this out...it this
just not possible with cake? All I am trying to do is creating a link
using reverse routing and having named params in the URL.
On Oct 9, 10:38 pm, Kyle Decot
I'm using $html-link() not $html-url(); I don't know why I typed
that.
I don't know what you mean by the first part of your response
On Oct 10, 5:29 pm, robust solution i...@robustsolution.net wrote:
Dear Kyle Decot
I think whenever you define a route in the routes.php you should not
repeat
Anyone know how to do this? I've yet to figure it out...I'm really
stumped
On Sep 17, 1:29 pm, Kyle Decot kdec...@gmail.com wrote:
Anyone have any other suggestions? I could hardcode the urls, but I
would rather use reverse routing if possible. Thanks.
On Sep 16, 9:57 pm, Kyle Decot kdec
I want to set up my website so I can have urls like:
sample.com/search/
sample.com/search/q:search+terms/
sample.com/search/country:us/region:oh/
..etc..
I also want to be able to do reverse routing w/ my links. I have my
routes.php set up like:
Router::connect('/search/*', array('controller'
I want to append a dynamically created field to my paginated results
but when I do
$this-paginate['fields'] = Model.first_name as example;
It only pulls in that field when what I really want is all the fields
it would normally get, plus this one. Is there a way to do this? Thanks
I am paginating some results and if the user provides a address, then
I am geocoding the address and doing a radius search. I would like to
order those results by distance though. How do I add a dynamically
created field (distance) to my paginated results?
HAVING distance = {$distance}
));
Andras
On Oct 1, 2009, at 2:54 PM, Kyle Decot wrote:
I am paginating some results and if the user provides a address, then
I am geocoding the address and doing a radius search. I would like to
order those results by distance
I am attempting to create KML pages for my site but I'm not having any
luck. In my routes.php I have:
Router::parseExtensions('kml');
I have also created a KML layout at /app/layouts/kml/default.ctp
When I go to localhost/my_controller/index.kml though the default
layout is being used. How can
Anyone have any other suggestions? I could hardcode the urls, but I
would rather use reverse routing if possible. Thanks.
On Sep 16, 9:57 pm, Kyle Decot kdec...@gmail.com wrote:
Thanks for the reply but I'm not always going to have just the q
parameter. For instance, sometimes I have something
'));
/Martin
On Sep 16, 4:38 am, Kyle Decot kdec...@gmail.com wrote:
I am having a little bit of trouble w/ my reverse routing. In my
routes.php file I have:
Router::connect('/search/*', array('controller' = 'skateparks',
'action' = 'index'));
Then in my view I do something like:
$html
' = 'skateparks',
'action' = 'index'));
/Martin
On Sep 16, 4:38 am, Kyle Decot kdec...@gmail.com wrote:
I am having a little bit of trouble w/ my reverse routing. In my
routes.php file I have:
Router::connect('/search/*', array('controller' = 'skateparks',
'action' = 'index
When my users enter something like something near 123 Main St, I'd
like to be able to detect that and Geocode my results. How would I
detect this? Some other examples I'd like to work w/ are:
something within 40 miles of 43112
Thanks for any help you can provide
this can be achieved with only few mistakes by using regex etc.
but something like close to, within must be really difficult
On 15 Sep., 21:08, Kyle Decot kdec...@gmail.com wrote:
When my users enter something like something near 123 Main St, I'd
like to be able to detect that and Geocode my
I am having a little bit of trouble w/ my reverse routing. In my
routes.php file I have:
Router::connect('/search/*', array('controller' = 'skateparks',
'action' = 'index'));
Then in my view I do something like:
$html-link(Search for Something,array
I am having a little bit of trouble w/ my $this-data. When someone
submits the form, in my beforeValidate() method, I create two new
variables inside of $this-data ($this-data['Model']['lat'] $this-
data['Model']['lng'])...I I then want to pass those back to the view
if the validation of the
My reasoning behind me wanting to do it this way is because I have an
address,city, region, and country fields on my form, and then in my
beforeValidate(), I am taking those values and using the Google Map
API and if it's a real address w/ a accuracy level of 8, then I add in
the lat, lng, and
Here is a little clearer explanation of what I'm doing and what's
going wrong:
function beforeValidate() {
$this-data['Model']['new_var'] = my new variable;
}
then in my view I do:
pr($this-data);
My new_var variable is not present. Anyone know what's going on?
On Sep 2, 3:15 pm, Kyle
That's about as easy as you're going to get. The Email Component is
pretty straightforward. If you're looking for a really easy way to
send simple emails, just use the PHP mail() function.
http://www.php.net/manual/en/function.mail.php
On Jul 30, 1:27 pm, Abraham Boray abrahambo...@gmail.com
I know this isn't specifically a CakePHP question but I tried posting
something about it on the Yahoo Groups page an never received a
response. I'm trying to implement the YUI Uploader into my app and
everything is going good except when I return the data to the
uploader. I am echoing something
Certainly. My tables is just called comments. Here is my Comment
Model:
?php
class Comment extends AppModel {
var $name = 'Comment';
var $actsAs = array('Commentia');
}
?
My table structure looks almost identical to the one on your blog but
I did add some extra fields (IP
(;
}
On Jul 5, 4:28 pm, Miles J mileswjohn...@gmail.com wrote:
Ok but what model are comments attached to? Entry?
On Jul 5, 8:06 am, Kyle Decot kdec...@gmail.com wrote:
Certainly. My tables is just called comments. Here is my Comment
Model:
?php
class Comment extends AppModel
I'm attempting to implement the Commentia Behavior into my website but
I'm having some problems. When I submit/save a comment, the comment is
saved to the comments table and then it precedes to insert blank rows
until it runs out of memory. Any ideas of why this is happening?
Alright. I have a form and when I submit the form using an image based
submit button like ?php echo $form-submit(submit.png); ? two
values (x and y) get added to my submitted data so the URL ends up
being something like sample.com/?x=40y=30. Each time the x and y
values are different. I have no
Oh okay. Well I don't really want or need those so how do I make it so
those values aren't included?
On Jun 25, 6:17 pm, Miles J mileswjohn...@gmail.com wrote:
They x and y are the coordinates where you clicked your mouse on the
image.
On Jun 25, 3:04 pm, Kyle Decot kdec...@gmail.com wrote
you can, thats part of HTML not Cake.
On Jun 25, 3:20 pm, Kyle Decot kdec...@gmail.com wrote:
Oh okay. Well I don't really want or need those so how do I make it so
those values aren't included?
On Jun 25, 6:17 pm, Miles J mileswjohn...@gmail.com wrote:
They x and y
I am building a search form and I want the user to be able to select a
checkbox to only show results that has photos. My model uses a hasMany
= (Photo); How do I write my conditions array? I've tried the
following but get an Invalid use of group function.
$conditions [] = COUNT(Photo) 0;
in your controller you could do something like:
if($this-Auth-user()) {
$this-render(index_logged_in);
}
else {
$this-render(index_logged_out);
}
On May 25, 9:24 pm, kai k3ho...@gmail.com wrote:
For the sake of a better user experience I'd like to change the index
page of my website
I'm trying to implement HTML Tidy into my project using the code at:
http://bakery.cakephp.org/articles/view/getting-tidy
I had to modify it a little to get it to work with 1.2 but I'm now
having a new problem. The problem is that when a JSON page is
requested on my site, Tidy is wrapping the
I am using the Searchable Behavior on my website but I've noticed that
if someone types something that is 3 characters or shorter, then
nothing is returned. I understand that this is because FullText search
is set up this way. Is there any way to change this? I get an awful
lot of people that
I am building a forum and I want to make it so that if someone enters
some text w/ a link to an image in it, my script will take out the
link and replace it w/ the image. Anyone know how I would do this? I
would also like to do the same thing w/ youtube and vimeo links in the
future. Thanks for
to get jquery working
in its most basic form on your site, than get the fck editor plugin
for jquery, then install fck to your vendors folder.
explaining in detail would be a bit lengthy but i hope it gives you
some ideas.
On May 20, 3:10 am, Kyle Decot kdec...@gmail.com wrote:
I am building
and include it in your
helpers array:
var $helpers = array('Html', 'Form', 'Autolink');
And in your view:
?php echo $autolink-images($post['Post']['content']); ?
Not very well tested I'm afraid but it should give you some ideas...
On 21 May, 02:00, Kyle Decot kdec...@gmail.com wrote:
I
trying out the Textile or BBCode helpers though if
you need more flexibility:
http://cakeforge.org/projects/textilehelper/http://bakery.cakephp.org/articles/view/bbcode-helper-1
On 21 May, 04:15, Kyle Decot kdec...@gmail.com wrote:
Awesome! It's definetly a step in the right direction
How about if you show us your form code.
On May 17, 10:55 pm, mike mwu...@gmail.com wrote:
hmm... but if I add the input type file, when I call the save method
in the action, it tries to persist the object to the database and I
get a sql error
On May 8, 10:52 pm, Trevor Fitzgerald
out
unexpectedly.
Which browsers/versions do you have working?
On May 17, 2:05 am, Kyle Decot kdec...@gmail.com wrote:
I'm not sure if anyone else is experiencing this problem but Safari 4
keeps logging me out. Sometimes it won't do it for almost 10 minutes
and then other times
Oh, I didn't see that you had asked which browsers I had working. I've
tested it on the following w/ no problems:
Firefox 3 (mac)
Camino 1.6 (mac)
Safari 3 (mac)
On May 18, 2:14 am, Kyle Decot kdec...@gmail.com wrote:
I'm using Mac 10.5.7 I can't remember my app logging me out like
Awesome! I set it to false an it fixed the problem. Thanks so much!
On May 18, 11:03 am, ChicagoPlanesTrains myronhay...@gmail.com
wrote:
What is Session.checkAgent set to in your app/config/core.php? If it's
true, try setting it to false. I believe this has helped with random
log-out. Not
I am attempting to construct my array but am having some problems w/
the $conditions array. I am doing something like:
$conditions = array(Model.approved=1);
if($something == $something_else)
$conditions['Model.something'] = 1;
if(!empty($search)) {
$criteria[MATCH(SearchIndex.data) ]
both $conditions $criteria so it's a bit difficult to
say for sure. But that last bit would probably work better as one
complete string.
'MATCH(SearchIndex.data) AGAINST(\''
. $this-params['named']['search']
. '\') IN BOOLEAN MODE)';
On Wed, May 13, 2009 at 6:37 PM, Kyle
['named']['search']
. '\') IN BOOLEAN MODE)';
On Wed, May 13, 2009 at 7:24 PM, Kyle Decot kdec...@gmail.com wrote:
Oh, my bad. I must have typed it incorrectly. They should all be
$conditions; I'd rather do it in an array because I have a lot of
different conditions/fields that can go
Try this:
echo $html-link($html-image(delete.png,array
(alt=Delete,title=Delete)),$html-url(array
(controller=users,action=delete)),array(),Are you sure to
delete user?,false);
On May 10, 2:09 pm, paulos nikolo paulitosthe...@gmail.com wrote:
I tried to use html-link as you said but i can't
I agree w/ Brian. On my site, I have all my user preferences stored in
my profiles table.
On May 10, 1:57 pm, brian bally.z...@gmail.com wrote:
On Sun, May 10, 2009 at 1:33 PM, park park@gmail.com wrote:
On an social site, users may change preferences on whether their
profiles are open
on same server
that use short sessions. In this case Session.save = 'cake' will help.
On Apr 20, 2:26 pm, Kyle Decot kdec...@gmail.com wrote:
I've started to get logged out of my website every couple of minutes
and I'm not really sure why. I set the Security level to low but that
didn't
I am attempting to make a loop that goes through all the tags a user
has provided(comma seperated) and then if it's not already in the tags
table, save it then add it to the event they just added. I can't seem
to get it to work because $tag_id is always the same for all the tags
so only the last
of
trouble by using TagBehavior:
http://bakery.cakephp.org/articles/view/simple-tagging-behavior
No muss, no fuss. Ain't the Bakery grand?
On Sun, May 3, 2009 at 7:11 PM, Kyle Decot kdec...@gmail.com wrote:
I am attempting to make a loop that goes through all the tags a user
has provided
I am creating a API for my website and I had a couple of questions.
How do I keep track of who is accessing the API? How would I implement
something where they needed at key to have access? I am also planning
on making an iPhone app to go along w/ my website. How do I make it so
that my app is
I know this isn't specifically a CakePHP question but I thought I
would see any any of you could help me out anyways. I am getting a
feed of Twitter updates and I want to check each one to see if it has
a http://twitpic.com URL in it. How would I go about getting the
TwitPic URL out of it? I
\]+)/';
preg_match($pattern, $str, $matches, PREG_SET_ORDER);
debug($matches);
On Tue, Apr 28, 2009 at 7:54 AM, Kyle Decot kdec...@gmail.com wrote:
I know this isn't specifically a CakePHP question but I thought I
would see any any of you could help me out anyways. I am getting a
feed
I've started to get logged out of my website every couple of minutes
and I'm not really sure why. I set the Security level to low but that
didn't help any. It doesn't really happen on any particular part of my
site, just kind of random. Any ideas on how I can determine what's
causing this? Thank
I want to build a forum for my website but I have a question about the
URL structure. I want it to be something like:
example.com/forum/top-category/sub-category-1/sub-category-2/..
(etc).../thread-name/
How would I do this in the routes file? Any thoughts?
I am trying to create a search by distance feature using the Geocoded
behavior but I am having an odd problem. Whenever I search for
something, no results are returned unless I change the radius to
something incredibly high like 6000 miles. I looked at the query that
it is creating and it is
I have my jquery stuff set up like:
webroot
|_ js
|_ jquery
|_ jquery.js
|_ ui
|_ core.js
|_ accordion.js
Then in my view I do:
?php echo $javascript-link(array(jquery/jquery.js,jquery/ui/
core.js,jquery/ui/accordion.js),false); ?
div id =
I'm attempting to integrate a YUI Chart into the admin side of my
application but I'm having no success. If I directly go to the json
page that I want via the browser, then everything works fine, however
when the chart attempts to pull in the json page, I am getting a 404.
I have tried this in
Anyone have any ideas? I'm under somewhat of a time constraint. Thank
you for your help!
--~--~-~--~~~---~--~~
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
Surely. It basically looks like what is below. I have removed some
validation code though to make it more readable.
?php
class Skatepark extends AppModel {
var $name = 'Skatepark';
var $belongsTo = array(State,PadRequirement,User);
var $hasOne = array(SearchIndex);
var $hasAndBelongsToMany
I tried both ways that you suggested. I'm still getting a undefined
column for Rating.score
On Feb 17, 2:27 am, Kyle Decot kdec...@gmail.com wrote:
It still doesn't seem to be working. After looking at the query it is
generating, it doesn't seem to be including any of my hasMany items.
Any
I am trying to create a top 10 list for my website but I'm having some
trouble getting my find query to work. Currently I have something
like:
$top = $this-Model-find('all',array('order'=AVG
(Rating.score),limit=10));
When I do this however I'm getting the following error:
Unknown column
That doesn't work. It doesn't seem to be including my Rating table
along with my main model.
On Feb 16, 11:42 pm, Miles J mileswjohn...@gmail.com wrote:
Try 'order' = 'COUNT(*) DESC'
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Sorry for the confusion. I have a Skatepark modal and a Rating Model.
In my Skatepark model, I have:
$hasMany = array(Rating);
In my rating table, I have a column called score. I'm trying to get
the 10 highest averages of the skateparks.
Hope this cleans up what I'm trying to accomplish.
On
It still doesn't seem to be working. After looking at the query it is
generating, it doesn't seem to be including any of my hasMany items.
Any thoughts?
On Feb 17, 2:14 am, Miles J mileswjohn...@gmail.com wrote:
Well if your trying to get the score from the Skatepark model:
I'm trying to create a shell but I'm running into some problems. If I
add $uses = array(User); to my shell then I get:
Error: Missing Database Connection. Try 'cake bake'
Any ideas? I'm new to shells so I have no clue. Any help is, as
always, appreciated.
Anyone have any ideas?
--~--~-~--~~~---~--~~
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
I figured out what the problem was. I was incorrectly specifying the
path to my app.
--~--~-~--~~~---~--~~
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
I've put what you suggested into my Cron Manager on my HostGator admin
panel but I am receiving an email that says:
TERM environment variable not set.
1
Any ideas? Thank you as always!
On Jan 21, 2:53 am, Martin Westin martin.westin...@gmail.com wrote:
You type (paste) something like this
For anyone that is attempting the same thing as me, I solved the
problem by doing:
App::import(Component,Email);
$this-Email = new EmailComponent();
$this-Email-startup($this);
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
to the
controller for some reason.
On Mon, Feb 9, 2009 at 2:29 AM, Kyle Decot kdec...@gmail.com wrote:
When trying to use the initialize method, I get a undefined method
error:
Fatal error: Call to undefined method EmailComponent::initialize() in /
home/affinit3/public_html/theskateparkdirectory
is not much better than a wild guess, though.
On Mon, Feb 9, 2009 at 1:27 PM, Kyle Decot kdec...@gmail.com wrote:
Well if I remove the App::import(... and load the Email Component via
the components var, then everything goes smoothly. I would like to
avoid this however since this function is used
an expert.
On Mon, Feb 9, 2009 at 6:28 PM, Kyle Decot kdec...@gmail.com wrote:
I tried changing the method to be public but the problems still
persist. Any other suggestions? I'm really stumped on this!
On Feb 9, 1:51 pm, brian bally.z...@gmail.com wrote:
Well, you're closer to a solution
I'm using 1.2.1. Any thoughts?
On Feb 9, 10:43 pm, mscdex msc...@gmail.com wrote:
Just out of curiousity, what version of CakePHP are you using?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To
Have you tried using the Email Component?
http://api.cakephp.org/class/email-component
On Feb 8, 9:04 pm, peterhf peter.f...@sbcglobal.net wrote:
This code is not working:
$result = mail('peter.f...@sbcglobal.net', 'This is a test.',
'This is a test.', 'From: peter.f...@sbcglobal.net'
I am attempting to make a method that sends out an HTML based email
but I am having some problems. In my App_Controller file I have:
function __sendEmailNotification($to,$from,$subject,$body) {
App::import(Component,Email);
$this-Email = new EmailComponent();
Ah, stupid mistake but I've updated the set to be body instead of
email_body and am still getting the same results. Any other ideas?
On Feb 9, 1:55 am, brian bally.z...@gmail.com wrote:
sorry, I should have unquoted that. This should be clearer.
$this-set(email_body,$body);
Notice (8):
- private, protected, or
public. Maybe that's the problem?
On Mon, Feb 9, 2009 at 1:57 AM, Kyle Decot kdec...@gmail.com wrote:
Ah, stupid mistake but I've updated the set to be body instead of
email_body and am still getting the same results. Any other ideas?
On Feb 9, 1:55 am, brian bally.z
I have attempted to implement the PHP Speedy helper found on the
bakery at:
http://bakery.cakephp.org/articles/view/phpspeedy-helper
If I have the debug set to 0 then none of my javascript or css is
affected. If I alter the helper to allow for debug to be 1 then I get
the following errors:
I'm really confused about shell tasks. How would I invoke the task? I
know that I would use terminal (I'm on a mac) but how would I do this?
Second, how do you automate this process so that it would run every
hour?
--~--~-~--~~~---~--~~
You received this message
1 - 100 of 241 matches
Mail list logo