Re: Wordpress blog archive look like in CakePHP

2013-08-03 Thread Matt Bowden
The CakeDC utils plugin has an Archive components that sounds like what 
you're trying to do.

https://github.com/CakeDC/utils

On Tuesday, July 30, 2013 4:19:54 PM UTC-7, Helder Lucas wrote:
>
> I'm building and application with cakePHP and I'm trying to achieve 
> something like a Wordpress blog archive.
>
> Let's imagine that i have this table in my database:
>
>- Posts
>   - id
>   - title
>   - body
>   - created
>   - modified
>
> and i want the output something like this:
>
> 2013
>  Post Title
>  Post Title
>  Post Title
>
> 2012
>  Post Title
>  Post Title
>  Post Title
>
> etc etc 
>
> I have searched and tried by myself but unfortunately with no success.
>
> Thanks in advance.
>

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

2013-08-03 Thread Salines
Create Twitter datasource

https://dev.twitter.com/docs/api/1.1/post/statuses/update

-- 
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: Website configuration

2013-08-03 Thread Salines
Hi, in your AppController add

$this->loadModel('Setting');
$this->set('Settings',$this->Setting->find('all'));

-- 
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: CakePHP Installation!

2013-08-03 Thread Sanjeev Divekar
Hello,

Download zip and extract in webroot folder of you php.

Regards, 

On Friday, 2 August 2013 08:25:08 UTC+5:30, CakeCSK wrote:
>
> Hello, all you guys!
>
> I'm new to CakePHP. I need your help.
> I need to know how can I install cakephp in my local machine?
> More addition, how can I up and running cakephp framework in Netbean IDE?
>
> 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.




UUID vs customer Primary Key

2013-08-03 Thread Sanjeev Divekar
Hello,

I am developing an application for 5 different locations.

Each location will have it's own mysql server and application will manually 
copy each record to Master Server which is VPS.

Please suggest me best way to use Primary Key.
*Option 1.*
Location based Primary key e.g. Location 1 will have A001 Record and 
Location 2 will have B001
*Option 2.*
uuid. I am confused that UUID will be unique across all servers?

Thanks & Regards,
Sanjeev Divekar

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