Re: rss helper elem method images cakephp 2.0

2013-01-11 Thread TonyCharlotteCakePHP
;guid' => array( 'controller' => 'streams', 'action' => 'view', $post['Post']['id'] ), 'description' => $bodyText, 'pubDate' => $post['P

Re: Images in RSS Feed

2013-01-11 Thread TonyCharlotteCakePHP
7;, $post['Post']['id'] ), 'guid' => array( 'controller' => 'streams', 'action' => 'view', $post['Post']['id'] ), 'description'

rss helper elem method images cakephp 2.0

2013-01-11 Thread TonyCharlotteCakePHP
I'm trying to add images to my rss feed and I'm assuming that it can be done using the elem method of the rss helper but I don't know how to use elem method properly. If images are add a different way then please explain as well. This is my rss.ctp view file: set('channelData', array( '

Re: Images in RSS Feed

2013-01-11 Thread TonyCharlotteCakePHP
I'm having the same issue. I'm assuming it can be done via elem method of the Rss Helper class. http://api20.cakephp.org/file/Cake/View/Helper/RssHelper.php# (scroll down to the Rss helper class info). Here's what I have in my rss.ctp file but I can't get the elem method to work properly: set

Re: Pagination Limit Default Global AppController CakePHP 2.x

2012-10-02 Thread TonyCharlotteCakePHP
eFilter() like so: > > $this->paginate['limit'] = 15; > > Just remember to have parent::beforeFilter() in your other > controllers' beforeFilter callbacks. > > On Tue, Sep 18, 2012 at 5:38 PM, TonyCharlotteCakePHP > > wrote: > > Well it seems

Re: Pagination Limit Default Global AppController CakePHP 2.x

2012-09-18 Thread TonyCharlotteCakePHP
September 13, 2012 4:42:53 PM UTC-4, TonyCharlotteCakePHP wrote: > > Is it possible to set or change the limit of pagination globally for all > controllers? > > I've tried adding the below to the AppController: > > public $paginate = array( > 'limit

Pagination Limit Default Global AppController CakePHP 2.x

2012-09-13 Thread TonyCharlotteCakePHP
Is it possible to set or change the limit of pagination globally for all controllers? I've tried adding the below to the AppController: public $paginate = array( 'limit' => 15 ); Thanks -- You received this message because you are subscribed to the Google Groups "CakePHP" gro

Form Action Controller Camel Case | Cake 2.1

2012-06-01 Thread TonyCharlotteCakePHP
Sorry if this has been asked already but I have a controller that is uppercase camelcase and when I create a form, the controller part of the action for the form is not camelcase. Instead cake separates the camelcase controller with an underscore and all lowercase. For example: my controller co

Module based permissions cakephp 2.06

2012-03-29 Thread TonyCharlotteCakePHP
I'm fairly new to cakephp and I've searched for a few days now and can't find an answer to my situation. I'm using cakphp 2.06 I'm building an application that has several modules. I'm trying to create a user administration module so that after a user registers to the application, a user administr

Re: Naming Conventions - habtm multiple underscores join table

2011-11-16 Thread TonyCharlotteCakePHP
he convention is table_a_table_bs > > (where table_a and table_b are used alphabetically and the last table is > > pluralised). So in your example it's be __s > > > Jeremy Burns > > Class Outfit > > > Tel: +44 (0) 208 123 3822 > > Mob: +

Naming Conventions - habtm multiple underscores join table

2011-11-16 Thread TonyCharlotteCakePHP
I have a have two tables that need a join table but one of the tables that I'm trying to join has an underscore. What I'm wondering is what the models' file name, models' join database table name, and models' class name should be. For example: Table one = table two = _ join table = ?