Re: 3.0: a peek into CakePHP's future

2013-02-19 Thread Novrian YF
I'm a CakeNoobs, and I'm sure some noobs out there were been confusing to 
understand Cake Built-in ACL.
So, I hope the core team will improve docs related on ACL :D

-- 
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: Question about HtmlHelper::loadConfig()

2012-12-04 Thread Novrian YF
@glk
Thanks for the suggestion. Here's my thoughts over your idea:
1. I don't want to use Custom Helper because I'm afraid it could add more 
coding task in the project. LOL
2. When I put it controller callback, fatal errors occured.
3. I've using Theme in this project, so it could add more coding task 
because I have to put it in every layout.

Thanks for replying anyway, and Nice to meet you :D

@Reuben
Where do you get those 'configFile'? LOL

IT WORKS!!

Thanks a lot Reuben :D

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




Question about HtmlHelper::loadConfig()

2012-12-04 Thread Novrian YF
Hi all,

According to the book, In order to override HtmlHelper Tags, we have to 
create html5_tags.php and put it in app/Config/html5_tags.php. The book 
also said you can then load the Config with $this->Html->loadConfig();

The question is, where I should put those code in order to make my custom 
Tags available to all view??

Thanks in advance

Regards,
Novrian

-- 
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: CakePHP 2.3.0-RC1 and 2.2.4 released

2012-12-04 Thread Novrian YF
Thanks Andreas :D

-- 
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: CakePHP 2.3.0-RC1 and 2.2.4 released

2012-12-03 Thread Novrian YF
Hi Jose

I'm new in Cake. I've exploring with it in about one month.
I've use 2.2.3 and I wanna upgrade to 2.2.4.

Can you tell me how to upgrade?
I've been searching in the book & groups, but I couldn't find the HOW TO 
UPGRADE Tutorial

I guess I should merge /lib/Cake with the new ones but I'm not pretty sure 
about it.

Thanks in advance.

Regards from Indonesia

Pada Senin, 03 Desember 2012 6:26:06 UTC+8, José Lorenzo menulis:
>
> The CakePHP core team is proud to announce the immediate availability of 
> CakePHP 2.3.0-RC1 and 2.2.4[1]. 2.3.0-RC1 marks the freezing of 2.3.0 API 
> and it is jsut a matter of a few weeks to mark it as stable if no bugs are 
> found in current codebase.
> Changes since 2.3.0-beta
>
>- Added ConfigReaderInterface::dump() and made all readers' dump() 
>method support 'Plugin.keyname' format for keys
>- Made View trigger notice by default if elements are missing and 
>added elementExists() method
>- Added Helper::$settings to match other objects like components and 
>behaviors
>- You no longer have to specify 'maxLimit' when setting 'limit' 
>greater than default 'maxLimit' when configuring pagination settings.
>- Added type hinting to Model::validator()
>- prev() and next() methods of PaginatorHelper now possible to place 
>the 'tag' option to 'false' to disable the wrapping element.
>- Calling Form->input() with 'errorMessage'=>false should trigger 
>field error, but not render error message (HTML element).
>- New options in HtmlHelper::getCrumbList() to make it compatible with 
>Twitter Bootstrap, Zurb foundation or other CSS frameworks.
>- Added CakeTestCase::getMockForModel convenience method.
>- Implemented SSL peer verification in HttpSocket.
>- Added context() to CakeSocket.
>- Renamed HttpResponse to HttpSocketResponse. HttpResponse will 
>continue to exist for backwards compatibility.
>- Using bytecode sequence for unicode ellipsis in String::trim().
>- When using XmlView, you can configure the top level element name by 
>setting the _rootNode view variable.
>- Added warning to home.ctp when DebugKit is not installed and added a 
>list of official plugins to home.ctp
>- Added View::startIfEmpty()
>- Added foreignKey to whitelist in saveAssociated()
>- RedisEngine: authenticate connection if 'password' is set 2.2.4 is a 
>bugfix/maintenance release for the 2.2.x release branch. These are some of 
>the changes included:
>- Update TLD validation to accept gTLD variations
>- Fixed sorting empty data with Hash & Set.
>- Fixed multi-model validators with deep & atomic validation error 
>nesting
>- Fixed exceptions being thrown in beforeFilter breaking error pages.
>- Using HttpSocket to get proper exceptions when trying to load XML 
>from remote servers to fix warnings from file_get_contents() in 
> Xml::build()
>- Send charset=UTF-8 if Content-Type is JSON.
>- Added query logging to DboSource::insertMulti().
>- Fixed contain rule parsig in authentication adapters
>- Fixed required validation rule
>- Removed Inflector::slug() replacement from Ä to A
>- Fixed issue with Model::saveAssociated() and TranslateBehavior
>- Only setting $request->data with PUT/DELETE when it can be decoded.
>- Improved "required" field detection.
>- Made Model::find('first') always return an array.
>- Fixed issue where the incorrect meridian would be selected in 
>FormHelper::dateTime()
>- Fixed issue where createSchema() would omit primary keys sometimes.
>- Fixed saveAssociated() with validate=first, atomic=false
>- Showing the last 200 queries instead of the first 200 in SQL log.
>- Fixed 0'th index file not being copied to $_FILES.
>- Fixed autoLinkUrls so it re-capture query strings.
>- Allow saving new records with pre specified primary key value with 
>treebehavior.
>- Fix find('count') with 'group' when result has only one group.
>
> A huge thanks to all involved in terms of both contributions through 
> commits, tickets, documentation edits, and those whom have otherwise 
> contributed to the framework. Without you there would be no CakePHP. 
> Download a packaged release [3]
> Links
>
>- [1] http://cakephp.org/changelogs/2.3.0-RC1
>- [1] http://cakephp.org/changelogs/2.2.4
>- [2] http://github.com/cakephp/cakephp/tags
>
>

-- 
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: How to disable pluralize in cake 2.x

2012-08-28 Thread Novrian YF
Baik :)
Are you from Indonesia too?

Well, I'd love to use english as naming convention but sometimes using your 
language as naming convention my help other local developer who would 
maintaining application in the future :)

Anyway, thanks for the reply Mr. Rchavik :)

Pada Selasa, 28 Agustus 2012 21:57:33 UTC+8, rchavik menulis:
>
> On Tuesday, August 28, 2012 3:44:24 PM UTC+7, Novrian YF wrote:
>>
>> Hi all,
>> I'm Novrian from Indonesia. Just call me Nono (weird name, huh?).
>>
>> I assuming that cake uses their naming convention over the application.
>> And I'm getting confused to naming my application MVC because in my 
>> language there is totally different pluralize & singularize.
>>
>> The question is, how to disable pluralize in cake?
>> I'm thinking about custom rules in Inflector to disable conversion of (*s
>> * or *es*) in pluralize form.
>>
>> and how about If I name the MVC in the same way, eg. ( 
>> Controller/KelasController, Model/Kelas, View/Kelas )
>> Note that *Kelas* is singular & plural name in my language.
>> Is there any risk in my 'custom' naming conventions?
>>
>> Thanks in advance :)
>>
>
> Well, apa kabar?
>
> I simply use English in my code. Makes things a whole lot easier.
>
>
>

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




Re: How to disable pluralize in cake 2.x

2012-08-28 Thread Novrian YF
Thanks Doctor :)

I've use irregullar value in my Inflector. Now it runs well :)
But may I ask you what is the difference between *uninflected* and *
irregular*?

Pada Selasa, 28 Agustus 2012 20:27:54 UTC+8, Dr. Tarique Sani menulis:
>
> Read the good book 
>
>
> http://book.cakephp.org/2.0/en/development/configuration.html#inflection-configuration
>  
>
> You don't really need to disable that... 
>
> Tarique 
>
> On Tue, Aug 28, 2012 at 2:14 PM, Novrian YF 
> > 
> wrote: 
> > Hi all, 
> > I'm Novrian from Indonesia. Just call me Nono (weird name, huh?). 
> > 
> > I assuming that cake uses their naming convention over the application. 
> > And I'm getting confused to naming my application MVC because in my 
> language 
> > there is totally different pluralize & singularize. 
> > 
> > The question is, how to disable pluralize in cake? 
> > I'm thinking about custom rules in Inflector to disable conversion of (s 
> or 
> > es) in pluralize form. 
> > 
> > and how about If I name the MVC in the same way, eg. ( 
> > Controller/KelasController, Model/Kelas, View/Kelas ) 
> > Note that Kelas is singular & plural name in my language. 
> > Is there any risk in my 'custom' naming conventions? 
> > 
> > Thanks in advance :) 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "CakePHP" group. 
> > To post to this group, send email to cake...@googlegroups.com. 
>
> > To unsubscribe from this group, send email to 
> > cake-php+u...@googlegroups.com . 
> > Visit this group at http://groups.google.com/group/cake-php?hl=en-US. 
> > 
> > 
>
>
>
> -- 
> = 
> PHP for E-Biz: http://sanisoft.com 
> = 
>

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




How to disable pluralize in cake 2.x

2012-08-28 Thread Novrian YF
Hi all,
I'm Novrian from Indonesia. Just call me Nono (weird name, huh?).

I assuming that cake uses their naming convention over the application.
And I'm getting confused to naming my application MVC because in my 
language there is totally different pluralize & singularize.

The question is, how to disable pluralize in cake?
I'm thinking about custom rules in Inflector to disable conversion of (*s*or 
*es*) in pluralize form.

and how about If I name the MVC in the same way, eg. ( 
Controller/KelasController, Model/Kelas, View/Kelas )
Note that *Kelas* is singular & plural name in my language.
Is there any risk in my 'custom' naming conventions?

Thanks in advance :)

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