Moving configuration from .htaccess to httpd.conf

2007-11-23 Thread Vladimir
contents of my CakePHP .htaccess into e.g. /etc/ httpd/conf.d/ and set AllowOverride None on the directory however that breaks the site. Anyone achieve such a feat ? Thanks, Vladimir --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

SwfUpload: session problem solved without cake core hack

2007-09-26 Thread Vladimir
When you use some Flash stuff that sends AJAX request then you loose your session id because Flash is not the same HTTP_USER_AGENT as your good browser. I discovered that trying to use SwfUpload (upload your files using AJAX with progressbar). I cannot send params directly due to security reasons.

Multiple checkboxes in CakePHP 1.2

2007-08-24 Thread Vladimir
If you need multiple checkboxes instead of list in CakePHP 1.1 you could use code from http://bakery.cakephp.org/articles/view/create-multiple-checkboxes-instead-of-a-multiple-select-in-your-views This is the version for CakePHP 1.2 Example of use in the view checkboxMultiple('Tag', $tags, Set::e

Re: Edit Functionality

2007-07-10 Thread Vladimir
> By the way, I do not understand the > purpose of editing a field and not saving it. The form can "display" > only certain fields, as long as they are not "editable" they will not > be posted. It can be matter of security. --~--~-~--~~~---~--~~ You received this

Re: cake, Ajax, and jquery

2007-07-09 Thread Vladimir
$this->autoRender = false; in controller On Jul 8, 3:26 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, I'm trying to use cake with jquery, and I am wondering how to > automatically render certain controller actions as empty, or without > any layout, just html snippets, automatically. s

Re: SWFUpload with CakePHP 1.1.x

2007-07-09 Thread Vladimir
$lang = $this->Session->read('Config.language'); $this->Session->del('Config'); // keep selected language for i18n in session $this->Session->write('Config.language', $lang); On Jul 8, 3:52 am, NicoE <[EMAIL PROTECTED]> wrote: > Hello everybody. > I am using SWFUpload with CakePHP (based on the a

Re: Can cakePHP wrangle multiple controllers on one page?

2007-07-09 Thread Vladimir
Very complicated so I'm not sure that I'll help you :) To pass information between controllers use $this->requestAction('/ controller_name/actionName'); To get GET vars use $this->params['form']; $this means controller On Jul 8, 2:37 am, MrKrinkle <[EMAIL PROTECTED]> wrote: > I'm looking for a f

Re: is there any chance that using cakephp in apache not support mod_write

2007-05-15 Thread Vladimir
yep, using 404 "Page not found" error --~--~-~--~~~---~--~~ 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 [E

Re: (In-site) search with CakePHP -- where to start?

2007-05-13 Thread Vladimir
http://www.xapian.org/ Xapian is an Open Source Search Engine Library, released under the GPL. It's written in C++, with bindings to allow use from PHP Xapian is a highly adaptable toolkit which allows developers to easily add advanced indexing and search facilities to their own applications. It

Re: Tag model: Counting more than one model type

2007-05-13 Thread Vladimir
select tags.id,tags.tag, count(posts_tags.post_id) as c1, count(images_tags.post_id) as c2, count(events_tags.post_id) from tags, posts_tags, images_tags, events_tags where tags.id=posts_tags.tag_id and tags.id=images_tags.tag_id and tags.id=events_tags.tag_id group by (tags.id); --~--~-

Re: Disapearing text in IE

2007-05-12 Thread Vladimir
that's the common IE problem make not Title but Title --~--~-~--~~~---~--~~ 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: Use php in js files?

2007-05-12 Thread Vladimir
assigning js var is better because .js file can be cached --~--~-~--~~~---~--~~ 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 gro