Cakephp 2.x Receive emails into the application...

2016-03-11 Thread April DeRossett
Ahoy!  I am looking for a way to receive reply emails into my cakephp 
application and after a ton of research I haven't yet figured out how to 
make that happen.  Pretend I am an awesome PHP and MySQL programmer but, 
that I know Nothing about managing an email server.  Does anyone know of a 
great tutorial or read that would help me get started?  Thanks in advance. 
April

-- 
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup

We will soon be closing this Google Group. But don't worry, we have something 
better coming. Stay tuned for an updated from the CakePHP Team soon.

Like Us on FaceBook https://www.facebook.com/CakePHP
Follow 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.
For more options, visit https://groups.google.com/d/optout.


Re: Save Data

2015-05-20 Thread April DeRossett
This will work, make sure you are using cake 2.x and saveMany:

$myarray = array(
'AtendimentoPonto' => array(
0 => array(
'id' => '78',
'atendimentos_id' => '1',
'pontos_id' => '1',
'ordem' => '1'
),
1 => array(
'id' => '95',
'atendimentos_id' => '1',
'pontos_id' => '2',
'ordem' => '3'
)
)
);



$this->AtendimentoPonto->saveMany($myarray, array('deep' => true));

-- 
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: Save Data

2015-05-20 Thread April DeRossett
This should work.  Make sure you are using cake2.x and sameMany:
$myarray = array(
'AtendimentoPonto' => array(
0 => array(
'id' => '78',
'atendimentos_id' => '1',
'pontos_id' => '1',
'ordem' => '1'
),
1 => array(
'id' => '95',
'atendimentos_id' => '1',
'pontos_id' => '2',
'ordem' => '3'
)
)
);



$this->AtendimentoPonto->saveMany($myarray, array('deep' => true));


On Wednesday, May 20, 2015 at 1:13:04 PM UTC-5, Gustavo Martins wrote:
>
> This is a firefox params view and the array in PHP is:
>
> *add* - This works
>
> *array* *(size=1)*
>   'AtendimentoPonto' => 
> *array* *(size=4)*
>   'id' => string '' *(length=0)*
>   'atendimentos_id' => string '1' *(length=1)*
>   'pontos_id' => string '3' *(length=1)*
>   'ordem' => string '3' *(length=1)*
>
>
> *edit* - This don't work
>
> *array* *(size=1)*
>   'AtendimentoPonto' => 
> *array* *(size=2)*
>   0 => 
> *array* *(size=4)*
>   'id' => string '78' *(length=2)*
>   'atendimentos_id' => string '1' *(length=1)*
>   'pontos_id' => string '1' *(length=1)*
>   'ordem' => string '1' *(length=1)*
>   1 => 
> *array* *(size=4)*
>   'id' => string '95' *(length=2)*
>   'atendimentos_id' => string '1' *(length=1)*
>   'pontos_id' => string '2' *(length=1)*
>   'ordem' => string '3' *(length=1)*
>
> Thanks,
> Gustavo Martins
>
> 2015-05-20 12:18 GMT-03:00 April DeRossett  >:
>
>> Can you post the code you are using to create the array?  
>>
>>
>> On Friday, May 15, 2015 at 6:38:53 AM UTC-5, Gustavo Martins wrote:
>>>
>>> I try to save (edit) some information like data below and nothing 
>>> happening.
>>>
>>> AtendimentoPonto*[0]*[id]:"88"
>>> AtendimentoPonto*[0]*[atendimentos_id]:"3"
>>> AtendimentoPonto*[0]*[pontos_id]:"3"
>>> AtendimentoPonto*[1]*[id]:"89"
>>> AtendimentoPonto*[1]*[atendimentos_id]:"3"
>>> AtendimentoPonto*[1]*[pontos_id]:"2"
>>>
>>> But, this it's OK
>>>
>>> AtendimentoPonto[id]:""
>>> AtendimentoPonto[atendimentos_id]:"3"
>>> AtendimentoPonto[pontos_id]:"1"
>>>
>>> Why Cake don't recognize my array?
>>>
>>> Thanks,
>>> Gustavo Martins.
>>>
>>>  -- 
>> 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 a topic in the 
>> Google Groups "CakePHP" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/cake-php/bZhatTOY0ow/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> cake-php+u...@googlegroups.com .
>> To post to this group, send email to cake...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/cake-php.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
On Wednesday, May 20, 2015 at 1:13:04 PM UTC-5, Gustavo Martins wrote:
>
> This is a firefox params view and the array in PHP is:
>
> *add* - This works
>
> *array* *(size=1)*
>   'AtendimentoPonto' => 
> *array* *(size=4)*
>   'id' => string '' *(length=0)*
>   'atendimentos_id' => string '1' *(length=1)*
>   'pontos_id' => string '3' *(length=1)*
>   'ordem' => string '3' *(length=1)*
>
>
> *edit* - This don't work
>
> *array* *(size=1)*
>   'AtendimentoPonto' => 
> *array* *(size=2)*
>   0 => 
> *array* *(size=4)*
>   'id' => string '78' *(length=2)*
>  

Re: One Webroot Multiple Apps

2015-05-20 Thread April DeRossett
Yes, they are identified and no, no others will access the shared webroot 

On Wednesday, May 20, 2015 at 1:14:58 PM UTC-5, John Andersen wrote:
>
> Are the customers and administrators being identified before they can 
> access their respective sites?
>
> Are there any other actors that may access the sites without being 
> identified?
>
> Enjoy, John
>
> On Wednesday, 20 May 2015 19:23:09 UTC+3, April DeRossett wrote:
>>
>> I have found many discussions on a shared core with multiple apps..But I 
>> have a different need.
>>
>> I would like to set-up the following, but I can't figrue it out
>>
>>
>> */var/www/vhosts/customer/customer/app/*
>>
>> */var/www/vhosts/administrator/administrator/app/ *
>>
>> * /var/www/vhosts/shared/webroot*
>>
>>
>> I would like for both* customer* and *administrator* apps to use the 
>> same shared *webroot  *
>>
>> *Any thoughts?*
>>
>

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


One Webroot Multiple Apps

2015-05-20 Thread April DeRossett
I have found many discussions on a shared core with multiple apps..But I 
have a different need.

I would like to set-up the following, but I can't figrue it out


*/var/www/vhosts/customer/customer/app/*

*/var/www/vhosts/administrator/administrator/app/ *

* /var/www/vhosts/shared/webroot*


I would like for both* customer* and *administrator* apps to use the same 
shared *webroot  *

*Any thoughts?*

-- 
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: Save Data

2015-05-20 Thread April DeRossett
Can you post the code you are using to create the array?  

On Friday, May 15, 2015 at 6:38:53 AM UTC-5, Gustavo Martins wrote:
>
> I try to save (edit) some information like data below and nothing 
> happening.
>
> AtendimentoPonto*[0]*[id]:"88"
> AtendimentoPonto*[0]*[atendimentos_id]:"3"
> AtendimentoPonto*[0]*[pontos_id]:"3"
> AtendimentoPonto*[1]*[id]:"89"
> AtendimentoPonto*[1]*[atendimentos_id]:"3"
> AtendimentoPonto*[1]*[pontos_id]:"2"
>
> But, this it's OK
>
> AtendimentoPonto[id]:""
> AtendimentoPonto[atendimentos_id]:"3"
> AtendimentoPonto[pontos_id]:"1"
>
> Why Cake don't recognize my array?
>
> Thanks,
> Gustavo Martins.
>
>

-- 
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: All form fields are not saving in my cakephp database

2015-05-20 Thread April DeRossett
Are you using the create statement?  

$this->Appliedjob->create;
$this->Appliedjob->save($array);



On Wednesday, May 20, 2015 at 5:07:27 AM UTC-5, Clement Crownrise wrote:
>
> Below is the array of what is being filled in the form, this is what is 
> supposed to be saved in the database 
>
> Array ( [Appliedjob] => Array ( [jobid] => 2 [jobtitle] => Chashier 
> [companname ] => GTBank [firstname] => Clement [lastname] => Adetunji 
> [Email] => clementc...@gmail.com  [upload] => 
> samlogs_r2_c3.jpg ) ) 
>
> But looking at the query table below the page, the sql insert statement is 
> not complete, it doesnt include other form fields
>
> INSERT INTO `cakephp`.`appliedjobs` (`firstname`, `lastname`, `modified`, 
> `created`) VALUES ('Clement', 'Adetunji', 1432040170, 1432040170)
>
> What could be the cause of this please ?
>

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


Shard file directory

2015-05-20 Thread April DeRossett
Ahoy-

I have a bit of a problem.  I have two applications located at the 
following directory paths:

   - customer  = /var/www/vhosts/customer/customer/app/
   - administrator = /var/www/vhosts/administrator/administrator/app/


These are completely different applications, BUT I need for the 
administrator application to write and read media files from the customer 
webroot directory.  I have spent two days on this...I'm starting to think 
it can't be done.  Here is the administrator controller code I am using for 
a download:


public function conceptdownload($id,$companyid) {
 
   * ///I have tried several iterations of this path* 
   $dir = 
'/var/www/vhosts/customer/customer/app/webroot/proofs/'.$companyid.'/';

  
$options = array('conditions'=>array('ConceptFile.id'=>$id));
$getfile = $this->ConceptFile->find('first',$options);
 $this->viewClass = 'Media';
$base = explode('.',$getfile['ConceptFile']['filename']);
 $params = array(
'id'=> $getfile['ConceptFile']['filename'],
'name'  => $getfile['ConceptFile']['filename'],
'download'  => true,
'extension' => $base[1],
   'path'  => $dir
);

$this->set($params);
}.


Any recommendations?







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


Need Recommendations...please!

2015-03-24 Thread April DeRossett
Greetings!

I need a little help...and, I know if there is a way, this is the group to 
point the direction.  I have an application written in cake 2.3.x that 
handles booking and scheduling of appointments.  I am currently using 
FullCalendar  http://fullcalendar.io/ and things look as so...


The colors are indication of dispatch trucks (except for the gold color 
which indicates the job is completed).  I need to  make the calendar look 
more like this with the crew name running across the top (This is a single 
day view.




I kill it on the cake side...but I am very weak on the js and jquery side. 
  How should I go about this?  Is anyone aware of any plugins or classes 
that would work for this?  

Thanks for your help!
April






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


Console & Shells on sub-domains

2014-01-18 Thread April DeRossett
I don't know why I can't wrap my head around this. 

*Situation:*
I have multiple cake applications located as subdomains with my domain 
being organized as follows:

mydomain.com

   - *site1*.mydomain.com
  - *site2*.mydomain.com
  - site3.mydomain.com
  - etc...
   
I have installed my CakePHP Console under /usr/share/cakephp2.  I modified 
my .bash_profile to include this path for export PATH.  When I run cake 
from any location I get the "Welcome to CakePHP" message.

I have created a HelloShell.php following the instruction on the Cake 
website and placed it in 
/var/www/vhosts/mydomain.com/*site1*/app/Console/Command.  
then I run the following:

# cd /site1/app

# Console/cake hello

and get the following:

   - PHP Warning:  strtotime(): It is not safe to rely on the system's 
   timezone settings. You are *required* to use the date.timezone setting or 
   the date_default_timezone_set() function. In case you used any of those 
   methods and you are still getting this warning, you most likely misspelled 
   the timezone identifier. We selected 'America/Denver' for 'MST/-7.0/no DST' 
   instead in 
/var/www/vhosts/mydomain.com/*site2*/lib/Cake/Cache/CacheEngine.php 
   on line 60
   - Error: Shell class HelloShell could not be found.
   #0 
/var/www/vhosts/mydomain.com/*site2*/lib/Cake/Console/ShellDispatcher.php(190): 
   ShellDispatcher->_getShell('ba')
   #1 
/var/www/vhosts/mydomain.com/*site2*/lib/Cake/Console/ShellDispatcher.php(68): 
   ShellDispatcher->dispatch()
   #2 /var/www/vhosts/mydomain.com/*site2*/lib/Cake/Console/cake.php(51): 
   ShellDispatcher::run(Array)
   #3 {main}
   
*Question:*

   1. Why is the ShellDispatcher looking in the site2 directory when I am 
   running from the site1 app?
   2. If I place the same HelloShell.php in the 
   /var/www/vhosts/mydomain.com/*site2*/app/Console/Command -- It runs 
   without issue.  
   

*Goal:* My goal is to be able to run CRON jobs using shells from each of 
the subdomains.  

Any help you can give will be greatly appreciated.  

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


Help with threaded

2013-09-08 Thread April DeRossett


<https://lh4.googleusercontent.com/-mrtYQE5nTDA/Uiyjbwgw8CI/AEM/F266lPJCSZ4/s1600/CropperCapture%5B1%5D.png>
Can someone point me in the right direction on this?

I have a tasks table in my application - Tasks can be owned by the person 
who creates them or the task can be assigned to another user.  Users can 
make notes on the task as they work through the task.  The tasks care 
displayed as in the image -- My problem is with the "3:" in the task note.  
I want to display the fullname field of the user who entered the note but I 
can't figure out how to return that data.

*Here is what is in my controller:*
$options = array('OR' => array('Task.user_id =' => 
$this->Auth->user('id'),'Task.assigned_id =' => $this->Auth->user('id') ));
$this->set('tasks', $this->Task->find('threaded', 
array('conditions' => array('or' => array('Task.user_id =' => 
$this->Auth->user('id'), 'Task.assigned_id =' => 
$this->Auth->user('id'));
*
Here is the output:*

(int) 0 => array(
'Task' => array(
'id' => '1',
'user_id' => '3',
'task_name' => 'Test Task',
'created' => '2013-08-29',
'due' => '2013-08-31',
    'modified' => '2013-08-29',
'description' => 'test the task system',
'task_status_id' => '1',
'assigned_id' => '4'
),
'User' => array(
'id' => '3',
'username' => 'april.derossett',
'created' => '2013-08-08',
'fullname' => 'April DeRossett'
),
'Assigned' => array(
'id' => '4',
'username' => 'jim.pryor',
'created' => '2013-08-14',
'fullname' => 'Jim Pryor',
),
'TaskStatus' => array(
'id' => '1',
'name' => 'Active'
),
'TaskNote' => array(
(int) 0 => array(
'id' => '7',
'task_id' => '1',
   * 'user_id' => '3',*
'note' => 'Second Task Note',
'created' => '2013-09-08',
'modified' => '2013-09-08'
),
(int) 1 => array(
'id' => '6',
'task_id' => '1',
*'user_id' => '3',*
'note' => 'First task note',
'created' => '2013-09-08',
'modified' => '2013-09-08'
)
),

I want to return the fullname field from the users table for the id shown 
in red.  Any ideas?

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


User Defined Dashboard?

2013-08-28 Thread April DeRossett
AHOY!

In a current project I have a "dashboard" component for users to access 
information that is, currently, driven by their group.  However, I would 
love the users to have the ability to define what items appear on their 
dashboard...but, I just can't seem to wrap my head around how to make this 
happen in Cake.  Has anyone done this?  And can you give me a 'feel" for 
how to approach it?  I am using the 960 grid system...Thanks in advance for 
any advice!  April


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


Re: Odd issue with beforeFilter()

2013-07-31 Thread April DeRossett

Okay..If anyone else has this issue, here is the solution to my particular 
problem.  I created an element *'t_rt_keyhole' *, which uses the 
requestAction to return data, in one of my views.  The troublesome line is:

$this->requestAction('/page_key_holes/keyhole/'.$pageid.'/'.$templateid);

Since this action uses a view of "keyhole" my before filter was not 
allowing the page.  Simply adding keyhole to me beforefilter did the trick:

function beforeFilter() { parent::beforeFilter(); 
$this->Auth->allow('view', *'keyhole'*); } 

Hope this helps others.

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




Odd issue with beforeFilter()

2013-07-31 Thread April DeRossett
Greetings!  

I am using the Alaxos ACL plugin - which, is pretty awesome.  The only 
issue I am having, and I haven't had on any of my other applications is 
with beforeFilter(). 

*In my AppController I have the following:*

function beforeFilter() { parent::beforeFilter(); 
$this->Auth->allow('index'); } 

This seems to work without any issue.  When viewing any index the 
application allows the view - and on any other action redirects to the 
login action.  However, I don't want to allow any of the *index* actions, 
rather I only want to show the *'view' *actions.  Seem easy right?  

*But, alas, if I change this line to:*

function beforeFilter() { parent::beforeFilter(); 
$this->Auth->allow('view'); } 

I am redirected to the login action for *all* actions.

What the heck am I doing wrong?  I have been struggling with this for two 
days.  Help is greatly appreciated.

Thanks!

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




Form Helper - Checkboxes

2013-07-16 Thread April DeRossett



I am fairly new to cake, and this is actually the first time I have  needed 
to use checkboxes. Here is a screen capture of my form and you will notice 
that there are multiple checkboxes.  I am only able to check the boxes that 
show a checkmarks.  The common denominator appears to be any box that is 
followed by another is functioning, any box that is not followed by another 
box is not functioning.   I have included my form code below...What the 
heck am I doing wrong?



Form->create('Audit');
echo $this->Session->flash();
//print_r($customers);
?>


Form->input('Customer.first_name', array('label' => 
'First Name'));
echo $this->Form->input('Customer.last_name', array('label' => 
'Last Name'));
echo $this->Form->input('Customer.address');
echo $this->Form->input('Customer.city');
echo $this->Form->input('Customer.state');
echo $this->Form->input('Customer.zip', array('label' => 'Zip 
Code'));
echo $this->Form->input('Customer.email');
echo $this->Form->input('Customer.phone');
echo '';
echo '';
echo 'Add Audit:';
echo $this->Form->input('additional_insulation', array('type' => 
'checkbox','label' => 'Additional Insulation Needed?','value' => 
'1','hiddenField' => '0',));
echo $this->Form->input('radiant_barrier', array('type' => 
'checkbox','label' => 'Radient Barrier Present?','value' => 
'1','hiddenField' => '0',));
echo $this->Form->input('attic_square_footage');
echo $this->Form->input('roof_deck_square_footage');
echo $this->Form->input('soffit_vents', array('type' => 
'checkbox','label' => 'Soffit Vents Needed?','value' => '1','hiddenField' 
=> '0',));
echo $this->Form->input('number_of_soffits_needed', array('value'=> 
'0'));
echo $this->Form->input('insulated_outlet_covers', array('type' => 
'checkbox','label' => 'Insulated Exterior Outlets?','value' => 
'1','hiddenField' => '0',));
echo $this->Form->input('number_exterior_outlets', 
array('value'=>'0'));
echo $this->Form->input('programmable_thermostat', array('type' => 
'checkbox','label' => 'Is the thermostat programmable?','value' => 
'1','hiddenField' => '0',));
echo $this->Form->input('water_heater_blanket', array('type' => 
'checkbox','label' => 'Is there a water heater blanket?','value' => 
'1','hiddenField' => '0',));
echo $this->Form->input('water_heater_pipe_wrap', array('type' => 
'checkbox','label' => 'Does the water heater pipe need insulation?','value' 
=> '1','hiddenField' => '0',));
echo $this->Form->input('window_film', array('type' => 
'checkbox','label' => 'Are the windows insulated?','value' => 
'1','hiddenField' => '0',));
echo $this->Form->input('number_of_windows', array('value'=>'0'));
echo $this->Form->input('insulated_doors', array('type' => 
'checkbox','label' => 'Are the doors insulated?','value' => 
'1','hiddenField' => '0',));
echo $this->Form->input('number_of_doors', array('value'=>'0'));
echo $this->Form->input('garage_door_insulation', array('type' => 
'checkbox','label' => 'Is the garage door insulated?','value' => 
'1','hiddenField' => '0',));
echo $this->Form->input('garage_door_size', array('label' => 'How 
many single garage panels?','options' => array(1, 2, 3, 4, 5), 'empty' => 
'(choose one)'));
echo $this->Form->input('crawl_space_insulation', array('type' => 
'checkbox','label' => 'Is the crawl space insulated?','value' => 
'1','hiddenField' => '0',));
echo $this->Form->input('crawl_space_square_footage');
echo $this->Form->input('energy_saver_box', array('type' => 
'checkbox','label' => 'Is there an energy saving box?','value' => 
'1','hiddenField' => '0',));
echo $this->Form->input('average_energy_bill');
?>

Form->end(__('Submit')); ?>


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




Advertising and Social Media

2013-05-17 Thread April DeRossett
AHOY!  I am getting ready to apply two new components to a CakePHP Project  
(1) social media wall (like facebook) and (2) a pay per click advertising 
component that will allow advertisers to run ads on my site based on the 
user demographic/interest.  Does anyone know of any plugins for this type 
of project or have any suggestions on where I might find a good database 
layout?

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




Google OAuth help...

2013-03-19 Thread April DeRossett
Hi Everyone!

I have a CRM application that I built in Cake 2.0 which requires 
authentication.  Once a user logs in I want to be able to show them their 
google analytics using google-api-php-client.  I have the plugin working 
correctly however, when I run the OAuth authentication about 3 minutes 
after the allow-access I get an error on my cake page "A session had 
already been started -ignorning session_start()." but then my page displays 
exactly what I was expecting.  Has anyone done this?  Any ideas on why the 
latency?  It works great outside of cake.

Many Thanks.

-- 
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: Date picker for CakePHP 2.0.3

2013-03-06 Thread April DeRossett
@Florin Trifu  Thanks for the instruction...Works perfectly!


@Yen Hua Chuah  You can set the date format here:


$(function() {
   $("#datepicker").datepicker({ dateFormat: "yy-mm-dd" });
});


Check out the API documentation...It is pretty nice.  
http://api.jqueryui.com/datepicker/#option-dateFormat



On Thursday, February 21, 2013 1:25:13 AM UTC-6, Yen Hua Chuah wrote:
>
> Hi
> it does work but the default date format is mm/dd/. How can i change 
> it to /mm/dd
>
> please advise
>
> thanks
> chris
>
> On Wednesday, January 23, 2013 3:53:30 PM UTC+8, Gian Carlo Asuncion wrote:
>>
>> Works like magic bro no more conflict on other components, keep sharing 
>> God Bless!
>>
>> On Tuesday, November 29, 2011 4:11:27 PM UTC-8, Florin Trifu wrote:
>>>
>>> Thank you very much! Indeed it worked.
>>>
>>> Just to let the other users know in case they will have the same problem:
>>>
>>> 1. Download jquery (http://docs.jquery.com/Downloading_jQuery) and put 
>>> the file in $project/app/webroot/js (e.q: *
>>> $project/app/webroot/js/jquery.js*)
>>> 2. Download jquery-ui (http://jqueryui.com/download); I, for example, 
>>> downloaded a zip archive called: jquery-ui-1.8.16.custom.zip. From this 
>>> archive you will have to copy the followings:
>>>
>>> a. *$archive_root/js/jquery-ui-*.js* in *$project/app/webroot/js* (give 
>>> it a shorter name e.q: jquery-ui.js)
>>> b. *$archive_root/css/smothness/** to *$project/app/webroot/css*(including 
>>> the images; rename the css file to something shorter)
>>>
>>> 3. Include both js files in your layout. eq:
>>> *
>>> //$project/app/views/Layouts/default.ctp
>>> -
>>> echo $this->Html->script(array('jquery',
>>> 'jquery-ui'));
>>>
>>> *4. Include the css file. Eq
>>>
>>> *//$project/app/views/Layouts/default.ctp
>>> -
>>> echo $this->Html->css('jquery-ui.css');
>>>
>>> *5. Put this lines of code before calling the date-picker:
>>>
>>> *
>>> $(function() {
>>>$("#datepicker").datepicker();
>>> });
>>> *
>>>
>>> 6. Call the date picker in your form:
>>>
>>> *echo $this->Form->input('expire', 
>>> array(
>>>'id'=>'datepicker',
>>>'type'=>'text'
>>> )*
>>>
>>> This is it!
>>>
>>> Best regards!
>>>
>>>
>>>

-- 
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: Setting the "Value" of "Options" in a drop down...

2013-03-06 Thread April DeRossett
Thanks! ...Unfortunately, sometimes you inherit a database schema and just 
have to make do with what you have.  

I have, however, located a solution in case anyone else comes across this 
issue:
 
echo $this->Form->input('Sold', array('options' => 
array(*'SOLD'=>'Sold'*),'empty' 
=> $biddetail['Biddetail']['Sold']));

The first element ('SOLD' in this case) is the value of the option
The second element ('Sold' in this case) is the selection option

Hope this helps!

On Tuesday, March 5, 2013 5:17:36 PM UTC-6, April DeRossett wrote:
>
> Hello!
>
> Here is what I have in my view:
>
> if($biddetail['Biddetail']['Sold'] == 'SOLD'){$otherstate = 'OPEN';} else 
> {$otherstate = 'SOLD';}
> echo $this->Form->input('Sold', array('options' => 
> array($otherstate),'empty' => $biddetail['Biddetail']['Sold']));
>
> Is there no way to set the value to equal to the option?  ie  value = 
> 'SOLD' rather than value = '0'.  As you can see above the values change 
> based on the current value populated in the data base...
>
> I don't want to have to go back and add a table to hold two values that 
> will never change.  Any solutions?  I have already read the documentation 
> at:
> http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html  which 
> does not provide a solution for this question.
>
>
> Thanks!!
>
>

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




Setting the "Value" of "Options" in a drop down...

2013-03-05 Thread April DeRossett
Hello!

Here is what I have in my view:

if($biddetail['Biddetail']['Sold'] == 'SOLD'){$otherstate = 'OPEN';} else 
{$otherstate = 'SOLD';}
echo $this->Form->input('Sold', array('options' => 
array($otherstate),'empty' => $biddetail['Biddetail']['Sold']));

Is there no way to set the value to equal to the option?  ie  value = 
'SOLD' rather than value = '0'.  As you can see above the values change 
based on the current value populated in the data base...

I don't want to have to go back and add a table to hold two values that 
will never change.  Any solutions?  I have already read the documentation 
at:
http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html  which does 
not provide a solution for this question.


Thanks!!

-- 
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: form prefill?

2013-02-25 Thread April DeRossett
Oh Gosh...of course.  Excellent, Thank you!  

On Monday, February 25, 2013 8:38:36 PM UTC-6, Felipe Zavan wrote:
>
> In the controller action for this view:
> $this->request->data['Biddetail']['bid_id'] = "some value or variable";
>
>
> 2013/2/25 April DeRossett >
>
>> is there a way to pre-populate forms?  here is what I have in my view:
>>
>> Form->create('Biddetail'); ?>
>> 
>> 
>> >* echo $this->Form->input('bid_id');*  *I want to pre-fill this 
>> field*
>> echo $this->Form->input('Property_Owner');
>> echo $this->Form->input('Opening_Date');
>> echo $this->Form->input('Propery_Address');
>> echo $this->Form->input('Property_City');
>> echo $this->Form->input('Property_State');
>> echo $this->Form->input('Property_Zip');
>> echo $this->Form->input('Property_County');
>> echo $this->Form->input('Control_Map');
>> echo $this->Form->input('Parcel');
>> echo $this->Form->input('Open_Date');
>> echo $this->Form->input('Open_Time');
>> echo $this->Form->input('Bid_Location');
>> echo $this->Form->input('Performance_Bond');
>> echo $this->Form->input('Contract_Signing');
>> echo $this->Form->input('Entry_Date');
>> echo $this->Form->input('Sold');
>> echo $this->Form->input('Board_Foot_Hardwood_Sawtimber');
>> echo $this->Form->input('Hardwood_Pulpwood_Tons');
>> echo $this->Form->input('Pine_Sawtimber_Tons');
>> echo $this->Form->input('Pine_Pulpwood_Tons');
>> ?>
>> 
>> Form->end(__('Submit')); ?>
>>
>> -- 
>> 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+u...@googlegroups.com .
>> To post to this group, send email to cake...@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.




form prefill?

2013-02-25 Thread April DeRossett
is there a way to pre-populate forms?  here is what I have in my view:

Form->create('Biddetail'); ?>


Form->input('bid_id');*  *I want to pre-fill this field
*
echo $this->Form->input('Property_Owner');
echo $this->Form->input('Opening_Date');
echo $this->Form->input('Propery_Address');
echo $this->Form->input('Property_City');
echo $this->Form->input('Property_State');
echo $this->Form->input('Property_Zip');
echo $this->Form->input('Property_County');
echo $this->Form->input('Control_Map');
echo $this->Form->input('Parcel');
echo $this->Form->input('Open_Date');
echo $this->Form->input('Open_Time');
echo $this->Form->input('Bid_Location');
echo $this->Form->input('Performance_Bond');
echo $this->Form->input('Contract_Signing');
echo $this->Form->input('Entry_Date');
echo $this->Form->input('Sold');
echo $this->Form->input('Board_Foot_Hardwood_Sawtimber');
echo $this->Form->input('Hardwood_Pulpwood_Tons');
echo $this->Form->input('Pine_Sawtimber_Tons');
echo $this->Form->input('Pine_Pulpwood_Tons');
?>

Form->end(__('Submit')); ?>

-- 
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: cakephp not working in my local xampp

2013-02-24 Thread April DeRossett
Did you bake your application?

April DeRossett
President
Direct Connect Solutions
615.386.3946 (office)
615.305.7036 (mobile)
615.386.9510 (fax)

Sent from my iPhone

On Feb 23, 2013, at 7:30 AM, omsak...@adodis.com wrote:

> Dear all,
> 
> I am new for cakephp, I had download all file set in my production server, 
> and put in my local xampp server.
> 
> My file path is : E:/xampp/htdocs/projects/dish/ and i have change my 
> database connection also, but not working what can i do. 
> 
> I changed rewrite rule in appache config. All are post in google some 
> changes, And i follow that one but not  working,and how to change htaccess 
> file.
> 
> 
> root/.htaccess
> 
> 
> RewriteEngine On
> RewriteBase /projects/dishgram/app/webroot/
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
> 
> 
> root/app/.htaccess
> 
> RewriteEngine On
> RewriteBase /projects/dishgram/app/webroot/
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
> 
> 
> root/app/webroot/.htaccess
> 
> DirectoryIndex index.html index.php
> 
> 
> RewriteEngine On
> RewriteBase /projects/dishgram/app/webroot/
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
> 
> 
> After i put this url in  my system " http://127.0.0.1/projects/dishgram/ " 
> getting error.
> 
> Warning: require(..\config\config.php) [function.require]: failed to open 
> stream: No such file or directory in 
> E:\xampp\htdocs\projects\dishgram\app\webroot\index.php on line 27
> 
> Fatal error: require() [function.require]: Failed opening required 
> '..\config\config.php' (include_path='.;E:\xampp\php\PEAR') in 
> E:\xampp\htdocs\projects\dishgram\app\webroot\index.php on line 27
> 
> Thanks,
> Sakthi
> 
> 
> 
> 
> -- 
> 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.




Google Analytics API - gapi plugin

2013-02-22 Thread April DeRossett
Hello!!  I finally figured out how to integrate the GAPI- Google Analytics 
AIP PHP Interface into my cake project...But, it is painfully slow.  Here 
is what I did:
*
File in Vendor directory:*
/app/Vendor/gapi.php

*In my controller:*
App::import('Vendor', 'gapi');
*
In my view:*
requestReportData(ga_profile_id,array('browser','browserVersion'),array('pageviews','visits'));
?>


  Browser & Browser Version
  Pageviews
  Visits

getResults() as $result):
?>

  
  getPageviews() ?>
  getVisits() ?>




This returns exactly what I was looking forbut it takes between 60 and 
90 seconds.  Any thoughts or sage wisdom to depart (please?) - I appreciate 
any help.  I have been programming in PHP for a decade, but in cake for 
only about a month.

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




Google Analytics Plugin...

2013-02-21 Thread April DeRossett
Has anyone used the msadouni plugin for google analytics?  (
https://github.com/msadouni/cakephp-plugin-google-analytics) I am getting
the following error:  *Error: * Table *google_analytics_accounts* for model
*GoogleAnalyticsAccount* was not found in datasource *default*. The
documentation is a bit thin.

Or does anyone have a link to a good google analytics plug that will allow
me to pull basic google analytics for a dashboard?

Thanks in advance!
April

-- 
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: Link to PDF? Yikes!

2013-02-21 Thread April DeRossett
@AD7six  Thanks...You were right...I had my path wrong.  Gosh I hate that.
Thank you to everyone for your help!

-- 
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: Link to PDF? Yikes!

2013-02-20 Thread April DeRossett
Okay...the end path will be variable so a route won't work.  I just noticed 
that I typed the path wrong. The location is /webroot/files/../..

April DeRossett
President
Direct Connect Solutions
615.386.3946 (office)
615.305.7036 (mobile)
615.386.9510 (fax)

Sent from my iPhone

On Feb 20, 2013, at 8:12 AM, Jonathan Sundquist  wrote:

> Either create a route so that cake knows how to get to that folder or best 
> option would be to move the files folder under webroot.
> 
> 
> On Wed, Feb 20, 2013 at 8:05 AM, April DeRossett  
> wrote:
>> I have read, and read, but I can not figure this out.  I am hoping someone 
>> will point me in the right direction.  I have .pdf resources in 
>> app/files/id#/../..  To which I need to link.  How do I do this?  I keep 
>> getting a missing controller. "Files". Isn't there a way to link without 
>> controller and model?
>> 
>> --
>> 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.
>  
>  

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




Link to PDF? Yikes!

2013-02-20 Thread April DeRossett
I have read, and read, but I can not figure this out.  I am hoping someone will 
point me in the right direction.  I have .pdf resources in app/files/id#/../..  
To which I need to link.  How do I do this?  I keep getting a missing 
controller. "Files". Isn't there a way to link without controller and model?  

-- 
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: Migrating from local host...Issues with CSS

2012-11-11 Thread April DeRossett
At this point...BTW, I have several codeigniter applications I am hosting
on this same server environment and I have no issues with mod_rewrite.

On Sun, Nov 11, 2012 at 12:18 PM, April DeRossett  wrote:

> ?  I have followed all of the steps and still nothing.  Has anyone else
> had this issue?  My server is a dedicated virtual server  on Godaddy - not
> virtual hosting; virtual server.  My head is starting to hurt.
>
>
>
> On Sun, Nov 11, 2012 at 3:44 AM, Paul Willis  wrote:
>
>> The CSS not loading is a classic sign That your mod_rewrtie isn't
>> working on he server
>>
>> http://book.cakephp.org/2.0/en/installation/advanced-installation.html
>>
>> PW
>>
>>
>> On 11 Nov 2012, at 02:41, April  wrote:
>>
>> This is kicking my butt...I have migrated my application from my
>> localhost to my server.  I modified the database config and the application
>> seems to be hitting the database correctly and it seems that my themed
>> layout is being used correctly...HOWEVER, the themed css is not being
>> utilized.  I can't seem to figure it out...
>>
>> Here are my settings:
>> class AppController extends Controller {
>> public $view   = 'Theme';
>> public $theme = 'default';
>> }
>>
>> In my controller:
>> $this->layout = 'onecolumn';
>>
>> In my view:
>> Html->css('default'); ?>
>> 
>>
>>
>> My routes.php seems to be working since the URL is pulling up the correct
>> layout and the database is populating the data...But the style and images
>> are just not working.  What am I doing wrong?  How is it possible that the
>> layout would be pulled correctly but the .css and img would not?  Any help
>> is much appreciated!
>>
>>  --
>> 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.
>>
>>
>>
>>  --
>> 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.
>>
>>
>>
>
>

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




Re: Migrating from local host...Issues with CSS

2012-11-11 Thread April DeRossett
?  I have followed all of the steps and still nothing.  Has anyone else had
this issue?  My server is a dedicated virtual server  on Godaddy - not
virtual hosting; virtual server.  My head is starting to hurt.


On Sun, Nov 11, 2012 at 3:44 AM, Paul Willis  wrote:

> The CSS not loading is a classic sign That your mod_rewrtie isn't working
> on he server
>
> http://book.cakephp.org/2.0/en/installation/advanced-installation.html
>
> PW
>
>
> On 11 Nov 2012, at 02:41, April  wrote:
>
> This is kicking my butt...I have migrated my application from my localhost
> to my server.  I modified the database config and the application seems to
> be hitting the database correctly and it seems that my themed layout is
> being used correctly...HOWEVER, the themed css is not being utilized.  I
> can't seem to figure it out...
>
> Here are my settings:
> class AppController extends Controller {
> public $view   = 'Theme';
> public $theme = 'default';
> }
>
> In my controller:
> $this->layout = 'onecolumn';
>
> In my view:
> Html->css('default'); ?>
> 
>
>
> My routes.php seems to be working since the URL is pulling up the correct
> layout and the database is populating the data...But the style and images
> are just not working.  What am I doing wrong?  How is it possible that the
> layout would be pulled correctly but the .css and img would not?  Any help
> is much appreciated!
>
>  --
> 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.
>
>
>
>  --
> 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.
>
>
>

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




Interactive Entry...

2012-06-14 Thread April DeRossett
Thank everyone in advance for help on this...I have cake application that
is basically a job management portal.  Jobs are entered based on their job
type.  Each job type has different logic process (See Image)
[image: Job Flow Example]
How would I best capitalize on the Model, Controller, View process in cake
to drive this logic? Any suggestions?

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