Hello Kimi.
What i did was to show the image if exist, when edit, and if you not upload
other,do nothing:
Edit page
echo $this-Html-image(user_icons/.$photo, $options = array('alt' =
'Icon User', 'width' = '150px'));
echo $this-Form-input('User.photo', array('type' = 'file'));
if you do want to get the base url in Cakephp.
Use following code :
*echo Router::url('/', true)*
It will return exact website url of your website.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because
Hola, trabajo en Ubuntu con cakephp 2.5 y necesito conectarme a una Base de
Datos en un Servidor de Windows con SQLServer 2005.
El problema es que desde el Framework no puedo conectarme, me muestra el
siguiente Mensaje:
CakePHP is NOT able to connect to the database.
Datasource class SqlServer
Thanks very much Stephen. I kept at it and found the solution lay in
removing the 'required' and 'allowEmpty' from the 'needOne' ruleset, and
adding a 'required' = false in the view.
Here's the working solution for any one else with this problem:
The model:
public $validate = array(
Hi
I am new to cakephp and i used baking concept for my tables. Now i got
pages generated but i am unable to do edit and view actions.I am getting
error as
Unsupported operand types
D:\xampp\htdocs\lib\Cake\View\Helper\FormHelper.php Line:1802.
Please help me.
Thanks in advance.
--
That error does not correspond to CakePHP 3.0
What version are you actually using?
On Thursday, July 17, 2014 2:45:39 PM UTC+2, raji gudivada wrote:
Hi
I am new to cakephp and i used baking concept for my tables. Now i got
pages generated but i am unable to do edit and view actions.I am
Sorry i am using cakephp 2.5.o version
On Thursday, July 17, 2014 6:15:39 PM UTC+5:30, raji gudivada wrote:
Hi
I am new to cakephp and i used baking concept for my tables. Now i got
pages generated but i am unable to do edit and view actions.I am getting
error as
Unsupported operand
Sorry @ jose Lorenzo
My current version is cakephp 2.5.0.
--
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
So what is in that line?
debug() it properly
Am Donnerstag, 17. Juli 2014 15:10:13 UTC+2 schrieb raji gudivada:
Sorry @ jose Lorenzo
My current version is cakephp 2.5.0.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You
Please update to the lastest 2.5 version, what you experience is a known
bug of that version
On Thursday, July 17, 2014 3:10:13 PM UTC+2, raji gudivada wrote:
Sorry @ jose Lorenzo
My current version is cakephp 2.5.0.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on
Hello All,
I am facing one problem.
I want to send an email with attachment.
I have to create a pdf file on the fly means on click of link -create pdf
-send as an attchment. and it should be done using ajax.
I am using dompdf to create PDF file.
so is there any solution to achieve this?
--
Dup
of
http://stackoverflow.com/questions/24804976/send-runtime-generated-pdf-in-attchment-in-email
It is still very unclear as it is currently asked
Am Donnerstag, 17. Juli 2014 15:08:13 UTC+2 schrieb JAYESH TANK:
Hello All,
I am facing one problem.
I want to send an email with
This can help you?
$this-Picture-query(UPDATE User SET status='active';);
Em terça-feira, 17 de junho de 2014 09h10min30s UTC-3, સાદીકહસન પલસાણીયા
escreveu:
$this-loadModel('User');
$this-User-updateAll(array('stauts'='active'),array());
Above code equvivalent SQL query is generated like
I try to do an update all in my add action with the following method:
$this-CmsPage-updateAll(
array(
'CmsPage.rgt' = *('CmsPage.rgt' + 2)*
),
array(
'CmsPage.rgt ' = $right
)
);
Unfortunately, i'ts not working. It keeps sending the value 2 to the rgt
I don't think cells are going to be a good fit for either of these use cases.
The general consensus on the github issse is that having cells be isolated is
more useful than having them share state with the containing view scope.
-mark
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Yeah, it makes sense ..
How about being able to give the cell a specific view in those cases where you
know what you are doing ?
/thomas
On 18 Jul 2014, at 02:12, mark_story mark.st...@gmail.com wrote:
I don't think cells are going to be a good fit for either of these use cases.
The
16 matches
Mail list logo