Sorry for not bumping old topics, but has anyone managed to send an email
with CakeEmail and stmp.gmail.com?
My settings:
class EmailConfig {
public $gmail = array(
'transport' => 'Smtp',
'from' => array('u...@domain.com' => 'Name'),
'host' => 'ssl://smtp.gmail.com',
'port' => 465,
'timeout' => 1
Maybe you should use link instead of url
$this->Html->link( /string $title/,/mixed $url = null/,/array $options =
array()/,/string $confirmMessage = false);
$this->Html->link('title', '/photos/upload?PHPSESSID=' . session_id() .
'&privacy=' . $_GET['privacy'],//array('escape' => false));
Thi
hi guys,..
I'm getting " & " in a view instead of " & " ,... how can I avoid
" amp; " to pass privacy on upload...? here is my code:
'uploadScript' : 'url('/photos/upload?PHPSESSID=' .
session_id() . '&privacy=' . $_GET['privacy'], array('escape'=>false)) ?>',
and this is what's coming i
I am writing a behavior which checks a field for duplicates in beforeSave()
and updates the created row in afterSave().
I am wondering what happens to $model->data array if I modify it directly
or I use $model->find() or $model->save() while in the callback.
Do other behaviors and callbacks a
I got similar problem few months ago but it's ok after clear browser cache
and delete server /app/tmp/cache files.
On Saturday, 20 October 2012 06:24:13 UTC+8, GerarD wrote:
>
> Hi there... I don't think that's the problem. I check all my data in the
> DB and the Query, and it's all fine...
>
>
setting 'url' options in image can do the trick too.
$this->Html->image($image['Image']['thumb_path'], array( 'alt' => $title
,'url' => $yoururl));
On Tuesday, 23 October 2012 12:08:13 UTC+8, bs28723 wrote:
>
> I would like to use Html->image and Html->link together, but Html->link
> will conve
Thanks Chetan & Marcus.
On 10/23/2012 12:23 AM, chetan varshney [via CakePHP] wrote:
>
> Use this for example $imgTag = $this->Html->image($image['Image']
> ['thumb_path'], array( 'alt' => $title )); $options = array('class' =>
> 'thumb', 'name' => trim(Inflector::slug($title)), 'title' =>
> tr
Actually you only need one table with the following fields:
username or email
password
group
+ additional fields that might be useful for your application
After login (with AuthComponent) you can check to which group the user
belongs. Depending on the group you can redirect the user to the corre
more info:
http://stackoverflow.com/questions/4163711/please-change-the-value-of-security-salt-in-app-config-core-php-to-a-salt-valu
(sorry for posting twice)
2012/10/23 Felipe Zavan :
> Have you opened the Config/core.php and changed the security salt and hash?
>
> I think that 'notice' is rela
Have you opened the Config/core.php and changed the security salt and hash?
I think that 'notice' is related to that.
2012/10/23 Lorenzo Strada :
> Hi Guys
> right yesterday i installed my first webserver on windows environment and i
> choose cakephp as my first framework but i got some issue.
>
i'm planning a new project with cakephp and i have a problem.
i want to create multiple access areas and multiple user-tables i.e. like a
shop system:
group 1: customers
group 2: merchants
group 3: affiliate-partners (4. group: admins [this maybe with acl])
every group will have its own area (
Hi Guys
right yesterday i installed my first webserver on *windows* environment and
i choose *cakephp* as my first framework but i got some issue.
I followed the instruction on the cake documentation but something gone
wrong.
I created manually the example database for the blog tutorial but i can
you can either write your own escaping function who takes care of those
characters, or better, use base64encode to pass those special character
strings via $_GET
but there you also need to tweak it a little bit,
see the CakeDC search plugin for details where I fixed the method to safely
encode t
Dear cakephp experts,
While passing parameters through URL, there are cases when the parameters
contain funny characters like %$#. This problem is solved when I encode the
URL. However, for some reason, characters such as backslash / and
forward-slash \ simply do not work on cakephp. All other
14 matches
Mail list logo