Re: Convincing my company to use Cake

2006-10-17 Thread sicapitan
You can use Cake, AND Smarty! What are your other options to be honest? Write it all from scratch? Use another framework? Don't forget open source means community, and the Cake community is growing rapidly, so most problems you'll encounter others have encountered. Cake is also growing

Re: Cjs stripping non-unicode compatible

2006-08-28 Thread sicapitan
Hmm even with adding in this line into ajax.thtml layout it still comes up. Everything comes out as still. I thought it was my locale __('keyword') causing it, but when I removed it and manually put in the chinese characters they still come out as ???. Is Cjs stripping my unicode, or, is

Re: Alternating Row Colors

2006-08-20 Thread sicapitan
AD7 is right, tablecells does this automatically, and you can set the claternating colours $html-tableCells($tr, array('style'='background:#E4E4E4'), array('style'='background:transparent')); --~--~-~--~~~---~--~~ You received this message because you are

Re: Auckland Based Bakers

2006-08-18 Thread sicapitan
and if there are any Beijing bakers, a bottle of tsingtao awaits :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Re: Optimizing cake projects

2006-08-17 Thread sicapitan
really? are there a list of cake:commands ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email

Re: set function

2006-08-17 Thread sicapitan
if you had add.thtml your variable will be available when /add/ is called. if you set both variables under user() { } they will both be available in user.thtml. hope this helps --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: How to use caching of views in multilinguaal sites?

2006-08-17 Thread sicapitan
Hmm I have a multilingual site, and cacheing is enabled, but I never really checked if the pages are cached. Each page is rendered so i guess its caching as normal :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: AJAX Update div not working

2006-08-16 Thread sicapitan
I get safari crashing on me when I'm logging in. I'm not sure how to fix it really :) Everything else works fine, even IE! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group,

Passing variables to views with Cajax

2006-08-14 Thread sicapitan
I have used cjs successfully for a while I really think its awesome :) But now I need to I have $ajax-link() which calls a number of views :) My ajax link is : $ajax-link('Choose','/companies/init_list/' . $company_id) my function init_list($id=null) { $this-set('users',

Re: Passing variables to views with Cajax

2006-08-14 Thread sicapitan
hah ok $page-link_remote_url(__('choose'),'/companies/init_list/' . $company_id) !!! sicapitan wrote: I have used cjs successfully for a while I really think its awesome :) But now I need to I have $ajax-link() which calls a number of views :) My ajax link is : $ajax-link('Choose

Re: Cjs stripping non-unicode compatible

2006-08-09 Thread sicapitan
Cajax anyone UTF-8 guess not :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

Cjs stripping non-unicode compatible

2006-08-08 Thread sicapitan
appreciated sicapitan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more

Re: good at typin? get at me

2006-08-08 Thread sicapitan
Try comp.lang.ruby --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For

Re: CakePHP Built-in Webservices?

2006-07-27 Thread sicapitan
I'm interested in this component, are you able to put it on cakeforge or send it through perhaps? I'm after some ideas, as eventually i wish to offer authenticated RSS feeds through cake --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Migrating from other (or no) framework.

2006-07-05 Thread sicapitan
I would say it is a fairly easy process if your application is similar to just inserting, modifying and displaying data. Cake allows for scaffolding which can give you this functionality immediatly so you can concentrate on other areas. Those other areas, by the looks of codecharge, would be

Re: 有在中国的朋友吗?一起研究 CAKE

2006-07-04 Thread sicapitan
点晶科技 yeeahh! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For

AJAX Form builder

2006-06-30 Thread sicapitan
Who wants to develop an AJAX form builder in Cake? :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group,

Re: xajax in CakePHP - CakeX package moves to CakeX project

2006-06-29 Thread sicapitan
nice one, ill look out for it --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL

Saving to 2 models

2006-06-28 Thread sicapitan
I had a search and couldn't find anything explicit with the current version so I thought I'd ask. I have a 'users' and 'companies' model: class User extends AppModel { var $name = 'User'; var $belongsTo = array('Group','Company'); var $recursive = 3; } class Company

Re: Saving to 2 models

2006-06-28 Thread sicapitan
$this-arrCompany['data']['Company'] = $this-params['data']['Company']; $this-arrUser['data']['Users'] = $this-params['data']['User']; $this-Company-save($this-arrCompany['data']); $this-User-save($this-arrUser['data']); Hmm ok so I know this doesn't work for Users only, but the company is saved.

Re: Ajax multiple dic update ..again, sorry to bother

2006-06-27 Thread sicapitan
if your going to be doing a lot of ajax work on updating divs like I am, then its probably a good idea to use Cake Cajax RJS Templates (thanks RosSoft). It's very simple to implement --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Ajax multiple dic update ..again, sorry to bother

2006-06-27 Thread sicapitan
http://cakephp.org/pastes/show/6f24627372b00190553280d6a73b shows an example. http://rossoft.wordpress.com/ for more --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send

Re: Roles, groups and users with Cake ACL

2006-06-26 Thread sicapitan
I used othAuth as it is readable both in code and in db tables. I had a little bit of trouble setting up, but thats because I'm a noob. Othy (CrazyLegs) has a nother version coming but it has not been tested yet, still, you can grab it here:

Re: How to update multiple divs with one ajax call

2006-06-26 Thread sicapitan
i know i can update multiple divs with one call, but can I specify their content in the call as well? like ? echo $ajax-link('User Control', array('/users/admin','/company/company_menu/'), array('update' = array('main_content','main_menu'))); ? would be great but isn't the case is there

Re: Ajax Back button

2006-06-26 Thread sicapitan
oh ok i might since im in the area ive seen a few solutions, it'll have to be in a helper i guess --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: How to update multiple divs with one ajax call

2006-06-26 Thread sicapitan
can RequestHandler help me with this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

Re: use ajax link with more div's

2006-06-26 Thread sicapitan
did you find a solution, makiemark? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

Re: How to update multiple divs with one ajax call

2006-06-25 Thread sicapitan
This works for me in IE for a single div, I have not tried multiple divs in IE yet. nate wrote: Okay, this is working fine on the following: PC: Firefox 1.5.0.4 Mac: Firefox 1.5.0.4, and 1.0.7 Clearly there's something else at issue here.

Re: Ajax Back button

2006-06-25 Thread sicapitan
did you have any success with this rossoft? Cheers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group,

Re: Ajax Back button

2006-06-25 Thread sicapitan
did you have any success with this rossoft? Cheers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group,

Re: n00b with ACM questions

2006-06-24 Thread sicapitan
Hi When is 1.0 coming out? thx :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

Re: How to editing thtml files in Dreamweaver

2006-06-23 Thread sicapitan
Either way, can someone host it on cakePHP somewhere! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group,

$ajax-submit css class

2006-06-22 Thread sicapitan
print $ajax-submit('Add task', array('url' = 'add', 'update'='tasks_todo'); print $ajax-submit('Add task', array('url' = 'add', 'update'='tasks_todo','class'='something'); doesn't work, is there a different format? --~--~-~--~~~---~--~~ You received this

Re: $ajax-link not to load default.thtml

2006-06-22 Thread sicapitan
Superb, you win --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For

Re: $ajax-link not to load default.thtml

2006-06-22 Thread sicapitan
ok you win now! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For

ajax tutorial : object not found

2006-06-14 Thread sicapitan
Hmm, unless I'm missing something with the new version I can add a task, but as soon as I click the checkbox to mark as done, it comes up as: Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. ...etc in

Re: radio button select

2006-06-12 Thread sicapitan
a thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more

generateList() from different model

2006-06-11 Thread sicapitan
Hi there I have a 'User' model, and a 'State' model with the appropriate controllers. so when i go /users/add_talent which calls add_talent.thtml I have a dropdown which I want to fill with the states. My states db is id,name I have no link in my user model to states, does it need to go into

Re: generateList() from different model

2006-06-11 Thread sicapitan
oops continued : label for=userstateState: /label?php echo $html-selectTag('User/user_id', $states, $selected_state, null, null, false); ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to

radio button select

2006-06-11 Thread sicapitan
?php echo $html-radio('User/twins', array('1' = 'Yes', '0' = 'No')); ? how do i make option 1 (yes) be selected? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: Models and multiple tables

2006-06-08 Thread sicapitan
just seemed a bit excessive to have 1,000,000 files for 1,000,000 tables --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe

Re: Models and multiple tables

2006-06-08 Thread sicapitan
ill read that cheers :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED]

Models and multiple tables

2006-06-07 Thread sicapitan
According the the manual, it says the model relates directly to a database table. But I have multiple tables. Does this mean I need a model.php file for each table? Surely not. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Models and multiple tables

2006-06-07 Thread sicapitan
well, some databases are huge, trying to display the files in a file tree, then finding the file, would take forever --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email