I already solved it in another way
Thanks anyway:)
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/Add-items-to-category-tp5714898p5714939.html
Sent from the CakePHP mailing list archive at Nabble.com.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on
On Wednesday, 15 May 2013 03:28:46 UTC+2, Fabio Schunig wrote:
Hello!
I'm doing a research about frameworks for PHP.
Currently, I'm researching the frameworks Zend, CakePHP, CodeIgniter, Yii
and Symfony.
I'm new in the subject, and I'm reading a lot of tutorials and manuals.
The
I'm having an issue where using a find in an afterFind callback is messing
up my original contain.
*Short Story
*When using this from my Note model:
$job = $this-Job-find('first', array(
'conditions' = array('Job.id' = $data['Note']['job_id']),
'contain' = array('Assignee',
how to use mulltiple dropdown list,checkbox ,radio buttons in cake-php in
registration page?
On Wednesday, 14 September 2011 22:11:21 UTC+5:30, tubiz wrote:
Please I have a register action in my user controller how do i send a
mail to a user after he has successfully registered and his
hi Santhos,
follow below process
UsersController: in add method
You have to copy past same as..
Step 1:
/**
* add method
*
* @return void
*/
public function add() {
if ($this-request-is('post')) {
$this-User-create();
if ($this-User-save($this-request-data)) {
I am trying to populate fields in my edit action. I have been struggling
with this for a full day now and can't seem to wrap my head around it. Here
is what Ive got.
The model is Declination which belongsTo Policy. Policy hasMany
Declination. With that said, the edit action does contain the
Also here is my controller
/**
* edit function.
*
* @access public
* @param mixed $id (default: null)
* @return void
*/
public function edit($id = null) {
if (!empty($this-data)) {
$this-Declination-create();
if ($this-Declination-saveAll($this-data['Declination'])) {
Hello All,
I have help documentation in html, png files located in a single folder...
Created by another.
Where should these files be located within the site's app folder. A folder
within /View/Pages are as separate folder /View/Help?
If this Help were in PDF format, where (by convention)
If it´s all in HTML and you dont want to have much work, you can put inside
the webroot folder, OR you can put inside another folder in your
public_html folder but with a .htaccess file with RewriteEngine OFF, both
way will be accessible... for example...
Andre,
I thought webroot was my public_html folder as far as Cake was
concerned!? I would like to keep the html OUT of the public folders, so if
I understand you correctly I can place the folder as /app/docs/doc1.html
and then have htaccess in that folder to stop the RewriteEngine?
Your
Well, usually most users put the files online as it comes from cakephp
website, just unzip the files and when upload to server, uploads all file
to the public_html folder, and this folder will have the .htaccess that
redirects every request to app/webroot, BUT if you create another folder in
Andre,
Thank you for a great explanation... I'm using xampp and have my
VirtualHost DocumentRoot pointed at my /app/webroot, so essentially I have
Cake in private folders and my webroot is my public_html.
This works great for my testing, and I just assumed that the folders such
as
I dont know if it will work, but try to put this line in .htaccess of
webroot´s folder...
RewriteRule ^/docs/(.*)^ /path/to/docs/$1 [L]
* BEFORE other rules...
Em quinta-feira, 16 de maio de 2013 17h16min20s UTC-3, glk escreveu:
Andre,
Thank you for a great explanation... I'm using xampp
Wow, now i´ve understanded...
Em quinta-feira, 16 de maio de 2013 12h16min18s UTC-3, glk escreveu:
Hello All,
I have help documentation in html, png files located in a single
folder... Created by another.
Where should these files be located within the site's app folder. A
folder
Wow! I'm sorry I won't be able to try this out today But thanks!
Maybe I'll actually learn how to communicate everything the first time some
day.
I'll let you know either way!
Thanks again!
Greg
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter
Sorry, i saw it now, the correct is:
RewriteRule ^/docs/(.*)$ /path/to/docs/$1 [L]
I changed a character, i think this will work...
Em quinta-feira, 16 de maio de 2013 18h13min50s UTC-3, glk escreveu:
Wow! I'm sorry I won't be able to try this out today But thanks!
Maybe I'll actually
Hi,
I use the Cache Helper, to cache my views, but now I need to implement a
simple UPDATE query in my view() action.
When I use the cached views, CakePHP skip actions in the the controller?
I want to record the number of hits on each article!
Can someone point me in the right direction?
17 matches
Mail list logo