ACL + habtm groups

2010-02-19 Thread cakeFreak
Did you guys manage to handle HABTM relations with ACL? Like User-habtm('Groups')? And then you assign a user to multiple groups and permissions to groups? Dan Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this

Re: ACL controlled and slow performance

2010-02-19 Thread cakeFreak
Do you mean you specify InnoDB actions on delete etc? Dan On 15 Feb, 13:57, Jon Bennett jmbenn...@gmail.com wrote: Hi Daniel, Just a question: why did you opt for InnoDB tables rather than MyISAM? Always use InnoDB for data integrity. J -- jon bennett -www.jben.net- blog.jben.net

Re: ACL controlled and slow performance

2010-02-13 Thread cakeFreak
by the way I use cakePHP 1.2.6 Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: ACL controlled and slow performance

2010-02-13 Thread cakeFreak
Hey Jon, you are my MySQL performance GURU!!! ;o) Your solution of indexes worked great!! Just a question: why did you opt for InnoDB tables rather than MyISAM? Cheers Daniel Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You

Re: git and cake2

2009-12-17 Thread cakeFreak
here we go with 1.3 http://github.com/cakephp/cakephp1x/tree/1.3 Using this url git://github.com/cakephp/cakephp1x.git once you pull the repo, you must switch to the 1.3 branch Dan Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related

display related articles

2009-12-16 Thread cakeFreak
Hey guys, how do you implemented a kinda query to display related posts when visualizing a post as Wordpress does? With tags? with title search? Other suggestions? Daniel Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You

Re: Authentication (cookies?) across different domains

2009-12-16 Thread cakeFreak
Anybody about this? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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

Re: Authentication (cookies?) across different domains

2009-12-16 Thread cakeFreak
the content? Will the content be for Italy also, when the domain is .it? Can you describe your site and what changes will happen to the content, when a user changes the domain extension? Enjoy,    John On Dec 10, 4:48 pm, cakeFreak freakclimb...@gmail.com wrote: Hey guys, developing

Re: display related articles

2009-12-16 Thread cakeFreak
Well for related posts I mean posts that have something in common: ie: if I write a news about cophenagen climate change summit related articles could be about - cophenagen - summit - environment - climate Maybe using tags I could diplay first articles that have the max number of tags in common

Authentication (cookies?) across different domains

2009-12-10 Thread cakeFreak
Hey guys, developing a multilanguage application I thought to have different languages according to the domain extension: i.e. mysite.com = english mysite.it = italian How can I keep the user authenticated across the 2 domains via cookies? --- I know that with

Re: CakeQs - aka Cake Questions - openID

2009-11-19 Thread cakeFreak
/openid/ - S 2009/11/18 cakeFreak freakclimb...@gmail.com I just noticed the new CakePHP applicationhttp://cakeqs.org/ It seems it has a really well implemented OpenID handling (supporting Yahoo! openid as well - likehttps://me.yahoo.com/your_user-name). Which library does it uses

CakeQs - aka Cake Questions - openID

2009-11-18 Thread cakeFreak
I just noticed the new CakePHP application http://cakeqs.org/ It seems it has a really well implemented OpenID handling (supporting Yahoo! openid as well - like https://me.yahoo.com/your_user-name). Which library does it uses for it? Is the source code of http://cakeqs.org/ available somewhere?

eCommerce question

2009-09-24 Thread cakeFreak
Hey guys, my question is about developing an eCommerce solution in PHP, and it about dealing with stock quantities. When you have real products (not services or e-books, for example, but real books instead) how do you deal with the following situation: 1) you have 10 copies of Book Learning

international SEO routing

2009-09-07 Thread cakeFreak
Hey guys, does anybody has any good suggestion for converting the application routing to international SEO friendly uri? like: http://mydomain.com/en/home http://mydomain.com/it/home etc? To change $this-base mybe? Dan --~--~-~--~~~---~--~~ You received this

encoding problems: utf-8

2009-08-25 Thread cakeFreak
Hey guys, I have a weird issue! On my local machine everithing works fine, while on the remote one I don't get utf-8 encoding working properly. - DB is utf8 encoding in both machines - files should be saved with utf-8 encoding on both Did you experience similar problems and have any advice?

WhoDidIt behavior

2009-03-01 Thread cakeFreak
I just posted a new behavior here: http://blog.4webby.com/ and here http://bakery.cakephp.org/articles/view/whodidit-behavior-automagic-created_by-and-modified_by-fields enjoy! Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Assmbla.com vs Github.com

2008-11-07 Thread cakeFreak
hey guys I noticed that assembla.com is not free anymore for reserved projects, what do you use: http://assembla.com or http://github.com/? Any other suggestion? Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Assmbla.com vs Github.com

2008-11-07 Thread cakeFreak
No one... has any advice ;o) --~--~-~--~~~---~--~~ 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 [EMAIL

Re: internazionalization | gettext not working on production server: any idea?

2008-10-16 Thread cakeFreak
are using an old version of CakePHP this should have been corrected months ago. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access  public */ On Wed, Oct 15, 2008 at 4:14 PM, cakeFreak [EMAIL PROTECTED] wrote: I finally

Re: CAKEPHP Job

2008-10-15 Thread cakeFreak
Hey Marcus, te 4webby.com team is up as well. Dan --~--~-~--~~~---~--~~ 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

Re: internazionalization | gettext not working on production server: any idea?

2008-10-15 Thread cakeFreak
I finally got it: the production servers where 64bits servers, while the development were 32bits. Therefore, here we go: https://trac.cakephp.org/changeset/6149 A small bug that caused the failure in loading the .mo files on 64bits machines! I'm really glad I found the problem, and I hope my

Re: internazionalization | gettext not working on production server: any idea?

2008-10-08 Thread cakeFreak
The problem is with cake.basics.php function __() that uses i18n class Unluckily I don't get any log error or debug error The production server is SuSe g this is driving me crazy! Dan On 4 Ott, 20:20, jitka (poLK) [EMAIL PROTECTED] wrote: Not enough info to tell you what is wrong there

internazionalization | gettext not working on production server: any idea?

2008-10-04 Thread cakeFreak
Hey guys, I have 4 languages in my CakePHP applications and everything works fine with l10n library and gettext on my local machine. I deployed the application on the production server, and static translations ( ie those wrapped in __('my word') ) don't wor. Any clue? The production server OS

Re: Set response header of ajax call

2008-06-23 Thread cakeFreak
I have a method that renders xml and it is structured as follows: /** * Lista faqs per Flash * */ function xml() { //$this-autoRender = false; $this-layout = 'xml/default'; $this-helpers = array('Xml');

WARNING: Model del() doesn't consider conditions while deleting hasOne/hasMany associations

2008-06-16 Thread cakeFreak
Hey guys, I was working with the generic upload behavior, but any kind of polymorfic association is subject to the same threat. Basically I have the following in my, for example, news model:

Re: Custom url in paginate CakePHP 1.2

2008-06-16 Thread cakeFreak
Try to add a parameter in your router: Router::connect('/catalogue/*/:page', array('controller' = 'your_controller', 'action'='index')); or alternatively: Router::connect('/catalogue/(.+)/:page', array('controller' = 'your_controller', 'action'='index')); Dan

Re: Captcha reload problem, works in ff not in IE

2008-06-16 Thread cakeFreak
Do you load your captcha with ajax? IE7 catches ajax get requests!! Dan On 16 Giu, 00:48, bingo [EMAIL PROTECTED] wrote: Its difficult to say what the problem is without having access to code or webpage. However, I have compiled a list of issues that can cause IE7 to break but not firefox.

Re: WARNING: Model del() doesn't consider conditions while deleting hasOne/hasMany associations

2008-06-16 Thread cakeFreak
I just cheked out from the repos, and it seems that this issue has now been fixed in latest revision #7198 cheers guys Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send

FAQs page hacked?

2008-06-15 Thread cakeFreak
Hey guys has the FAQs page got hacked? http://groups.google.com/group/cake-php/web/faq Every entry points to a movie site!!! Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this

Re: Custom url in paginate CakePHP 1.2

2008-06-15 Thread cakeFreak
Try something like this in your view: ?php $paginator-options = array('url'='../catalogue/'.$seourl)? Dan On 15 Giu, 21:08, Petr Vytlačil [EMAIL PROTECTED] wrote: Hi pleas can you help me? I have this function (return all entries for Journal): function entriesjournal($seourl = null) {

Re: translate behavoiur + not fetching translations on recursive fields

2008-03-28 Thread cakeFreak
Anyone about this issue? Dan --~--~-~--~~~---~--~~ 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

translate behavoiur + not fetching translations on recursive fields

2008-03-27 Thread cakeFreak
I just got into this post explaining the issue I encountered with the Translate Behavior: = http://groups.google.com/group/cake-php/browse_thread/thread/2e1567a159e16b55/34485c24eb5a44f7?lnk=gstq=associations+%2B+translate+behavior#34485c24eb5a44f7 Anyone got this problem fixed *AUTOMAGICALLY*?

Re: __call() in Controller? controller actions with underscores

2008-03-07 Thread cakeFreak
In faced a similar situation and I did the following: Router::connect('/content/:sezione/:pagina', array('controller' = 'sezioni')); In my sezioni_controller I had something like:

Re: TiramisuPHP

2008-03-07 Thread cakeFreak
No one then has much insights about this tasty TiramisuPHP? Dan --~--~-~--~~~---~--~~ 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: CakePHP bleading hedge... relayability

2008-03-06 Thread cakeFreak
cheers Baz! Dan On 5 Mar, 23:21, Baz [EMAIL PROTECTED] wrote: Use the pre-beta if you're worried about stability. On Wed, Mar 5, 2008 at 4:04 PM, cakeFreak [EMAIL PROTECTED] wrote: Hey guys, I'm currently using an intermidiate release in between CakePHP 1.2-alpha and CakePHP 1.2.pre

TiramisuPHP

2008-03-05 Thread cakeFreak
Hey guys, does anyone has any news or any clue about this project: TiramisuPHP? see it here: http://www.nuvole.org Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send

Re: TiramisuPHP

2008-03-05 Thread cakeFreak
unnecessary complexity. CakePHP's helpers and elements are a great solution for those who want to simplify their templates. On Mar 5, 6:25 am, Chris Hartjes [EMAIL PROTECTED] wrote: On Wed, Mar 5, 2008 at 9:15 AM, cakeFreak [EMAIL PROTECTED] wrote: Hey guys, does anyone has any

CakePHP bleading hedge... relayability

2008-03-05 Thread cakeFreak
Hey guys, I'm currently using an intermidiate release in between CakePHP 1.2-alpha and CakePHP 1.2.pre-beta. What about the latest version from the 1.2xxx branch (revision 6508)? Does anyone can suggest it in terms of functionalities/stability? I know it's a triky question expecially

Re: Dynamic form creation?

2008-01-21 Thread cakeFreak
I did the following while working on a dynamic questionnaires generation system. 1 Questionnaire hasMany Questions 1 Question has Many options (for multiple answers) --- ANSWERS -- 1 Questionnaire hasMany AnswersMain 1 AnswerMain hasMany Answers AnswerMain has:

Re: Dynamic form creation?

2008-01-21 Thread cakeFreak
I did the following while working on a dynamic questionnaires generation system. 1 Questionnaire hasMany Questions 1 Question has Many options (for multiple answers) --- ANSWERS -- 1 Questionnaire hasMany AnswersMain 1 AnswerMain hasMany Answers AnswerMain has:

Re: Problems going to production with CakePHP

2007-12-21 Thread cakeFreak
Another time i had a blank screen when I've forgotten to upload an helper (I didn't add it with SVN... an Capistrano didn't export it ...) Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post

Re: Problems going to production with CakePHP

2007-12-21 Thread cakeFreak
Check out this thread: http://groups.google.com/group/cake-php/browse_frm/thread/889295952424caf9 and in particular to this post: http://groups.google.com/group/cake-php/msg/3c8b54771a75b59a

Re: CakePHP and VBulletin

2007-12-14 Thread cakeFreak
of VBulletin handling the object in CakePHP. Thanks for the help. Regards, Lakshmi On Dec 13, 2007 8:34 PM, cakeFreak [EMAIL PROTECTED] wrote: DUnno if you are interested but I integrated SMF forum (http:// www.simplemachines.org/) as explained here: http://4webby.com/blog/posts

Re: CakePHP and VBulletin

2007-12-13 Thread cakeFreak
DUnno if you are interested but I integrated SMF forum (http:// www.simplemachines.org/) as explained here: http://4webby.com/blog/posts/view/2/smake_smf_cakephp_integration Maybe you can use the same method to integrate vBullettin. Dan --~--~-~--~~~---~--~~

Re: i18n: static language references with __(My lang key, true) in models and controllers

2007-12-13 Thread cakeFreak
Cheers for the help francky06l ! Dan --~--~-~--~~~---~--~~ 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

i18n: static language references with __(My lang key, true) in models and controllers

2007-12-04 Thread cakeFreak
Hey guys, is there a way to use i18n style static language references __(My lang key, true) in models and controllers like for example: $test = __(My lang key, true); When I try to do it this way I get a syntax error in my code. cheers Dan

Re: i18n: static language references with __(My lang key, true) in models and controllers

2007-12-04 Thread cakeFreak
Well sorry, this works in controllers. I had problems using it in a validation rule inside models. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

turn debugging on for a single controller

2007-12-01 Thread cakeFreak
Hey guys, is there a way to turn debugging on for a single controller and not application wide? Or should I use the test suite for this purpose? Cheers Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP

Re: Generic Upload Behavior and with HABTM associations

2007-11-16 Thread cakeFreak
Anyone about this issue? Dan --~--~-~--~~~---~--~~ 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

Generic Upload Behavior and with HABTM associations

2007-11-15 Thread cakeFreak
Hey guys, I'm using the Generic upload behavior by AD7six. http://www.ad7six.com/MiBlog/GenericFileUploadBehavior Everything works fine apart with models that have a HABTM relationship defined. The problem source is when the generic upload behavior overrides the parent::__contruct() in

Re: YAMMY!: feed your migrations faster

2007-11-07 Thread cakeFreak
HEy Evgeny, what do you mean here? To add comments to the schema generated by YAMMY? Dan On 7 Nov, 08:27, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Really usefull for next version is implement short YAML field decription syntax that appear in 3.3 version and only it work with add_fileds

Re: Admin Main page, routing and Routing.admin benefits

2007-11-07 Thread cakeFreak
29, 8:22 pm, cakeFreak [EMAIL PROTECTED] wrote: Right guys, what I' trying to achieve is a kindaadmin/home page, that holds my Routing.admin. I set my Routing.adminas *admin* -- Configure::write('Routing.admin', 'admin

Re: YAMMY!: feed your migrations faster

2007-11-07 Thread cakeFreak
? cakeFreak wrote: Well... YAMMY does not sort out the problem you mentioned yet. But the functionality you are looking for can be implemented in next versions ;o) -- View this message in context:http://www.nabble.com/YAMMY%21%3A-feed-your-migrations-faster-tf47388... Sent from

Re: YAMMY!: feed your migrations faster

2007-11-06 Thread cakeFreak
Well... YAMMY does not sort out the problem you mentioned yet. But the functionality you are looking for can be implemented in next versions ;o) YAMMY! adds a touch of speed and usability to the excellent shell written by joel Moss. Dan On 6 Nov, 22:17, Sonic Baker [EMAIL PROTECTED] wrote:

Re: YAMMY!: feed your migrations faster

2007-11-03 Thread cakeFreak
Cheers Daniel, I hope you enjoyed the tutorial! Daniel --~--~-~--~~~---~--~~ 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

Re: YAMMY!: feed your migrations faster

2007-11-03 Thread cakeFreak
: cc_photos do you want to use this table? (y/n) [y] Error: Missing database table 'cc_cc_photos' for model 'Model' and your blog insists on not accepting my comment ;) Cheers Tarique On 11/3/07, cakeFreak [EMAIL PROTECTED] wrote: Cheers Daniel, I hope you enjoyed the tutorial

Re: YAMMY!: feed your migrations faster

2007-11-03 Thread cakeFreak
A kinda function like this should work in order to strip the table_prefix; -- $tableName = cc_pippo; $prefix = 'cc_'; $myTab = substr_replace($tableName, '', 0, strlen($prefix)); echo $myTab; -- Dan

Re: YAMMY!: feed your migrations faster

2007-11-03 Thread cakeFreak
Or simply try to replace the mehtod __buildUpSchema() with the following: function __buildUpSchema($tableName) { $useTable = low(Inflector::pluralize($tableName)); $db = ConnectionManager::getDataSource($this-_useDbConfig); loadModel();

Re: YAMMY!: feed your migrations faster

2007-11-03 Thread cakeFreak
Sorry this is the right one: -- function __buildUpSchema($tableName) { $useTable = low(Inflector::pluralize($tableName)); $db = ConnectionManager::getDataSource($this-_useDbConfig);

Re: Model used by all controller

2007-10-30 Thread cakeFreak
If you put --- $uses = array( myglobalmodel); --- in your AppController, the you can use --- $this-myglobalmodel-BLABLABLA --- in all

converting DB tables from latin to utf-8

2007-10-29 Thread cakeFreak
Hey guys, I need to convert all tables of an old site from latin1_general_ci (or latin1_swedish_ci) to utf8_unicode_ci Is there a convenient way/script that you would suggest to perform this task in order to avoid to fill pages with strange chars?!? Cheers in advance! Dan

Re: converting DB tables from latin to utf-8

2007-10-29 Thread cakeFreak
cheers Mariano, I also found this 2 resources: http://projects.tacker.org/svn/smallprojects/wordpress/convert-encoding.php http://www.orthogonalthought.com/blog/index.php/2007/05/mysql-database-migration-and-special-characters/ Dan --~--~-~--~~~---~--~~ You

Re: deployment on shared host

2007-10-29 Thread cakeFreak
I had a 'blank page problem' on a shared host due to the sprintf() and the Zend Optimiser version installed on your hosting server. The problem is described here: http://groups.google.com/group/cake-php/browse_frm/thread/889295952424caf9 check out my post there. Maybe your problem is just

Re: converting DB tables from latin to utf-8

2007-10-29 Thread cakeFreak
Cheers Michael! I hope your suggestion will help before I'll go crazy ;o) I'll let you know! Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: Making comments safe with Sanitize

2007-10-29 Thread cakeFreak
Cheers guys, in the end I stripped the unwanted HTML tags using strip_tags() PHP native function. -- $commentInputs = $this-data['Comment']; $data['Comment']['body'] = strip_tags($commentInputs['body'], 'pabi');

Re: Routing + Form Action

2007-10-29 Thread cakeFreak
Well not sure about how you can handle it authomagically with the form helper, but why don't simply HTML hardcode your form? -- form id=PostAddForm method=post

Admin Main page, routing and Routing.admin benefits

2007-10-29 Thread cakeFreak
Right guys, what I' trying to achieve is a kinda admin/home page, that holds my Routing.admin. I set my Routing.admin as *admin* -- Configure::write('Routing.admin', 'admin');

Re: Stange chars in all apges

2007-10-27 Thread cakeFreak
Ciao Paolo, CakePHP speaks in English, not Italian. Therefore you must teach CakePHP Italian singular/plural rules in your app/config/inflections.php an example for you: $irregularPlural =

Re: Empty page response

2007-10-27 Thread cakeFreak
Another problem is that the table structure of i18n has changed. If you moving from Cake_1.2-alpha to Cake_1.2-pre-beta without updating that table will result in blank pages. With regard to the sprintf function, I had the same problem on one of my hosting, and I had to replace all delete

Re: Building a forum plug-in

2007-10-27 Thread cakeFreak
Anyone up for this mission? Dan --~--~-~--~~~---~--~~ 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

Making comments safe with Sanitize

2007-10-27 Thread cakeFreak
Hey guys, just wondering how do you sanitize the input data for the comments of, say for example, a post before saving them in DB. do you use $Sanitize-clean($data), $Sanitize-stripAll($data), both of them or samething else? Dan --~--~-~--~~~---~--~~ You

Re: Friends HABTM

2007-10-27 Thread cakeFreak
Hey Spyder, try to read these posts: Self-referential has_many :through associations http://blog.hasmanythrough.com/2006/4/21/self-referential-through http://groups.google.com/group/cake-php/browse_frm/thread/c8ebc2097f8...

Re: Making comments safe with Sanitize

2007-10-27 Thread cakeFreak
Hey guys, cheers for your suggestions! What about security? Should I strip out all html from comment messages, leave some stuff etc? Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to

Re: Building a forum plug-in

2007-10-24 Thread cakeFreak
Hey guys, i need a simple forum plugin as well. If you are up for it we can build a small team, open a project on CakeForge, and manage ourself via Trac. Let me know if you are interested. I wouldlike to build it for 1.2. Dan On Oct 23, 11:34 pm, DanielMedia [EMAIL PROTECTED] wrote: I've

Re: Forum / Bulletin Board written in cakephp

2007-10-24 Thread cakeFreak
Hey Jacob, read these posts about forum/bulletins: Building a forum plug-in http://groups.google.com/group/cake-php/browse_frm/thread/5397f338d19a155d CakePHP miniFORUM http://groups.google.com/group/cake-php/browse_frm/thread/1cec189f99b27dad CakePHP SMF integration

Re: CakePHP SMF integration

2007-10-22 Thread cakeFreak
I just did a istake in my first post. Correct point 7 with the following (rename to *session_smf.php* instead of *session_cake.php* as written above) - 7. create a file in cake/libs/ called *session_smf.php* [this extends

Re: CakePHP miniFORUM

2007-10-21 Thread cakeFreak
Ahhh, do you have a demo? Dan --~--~-~--~~~---~--~~ 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

CakePHP SMF integration

2007-10-20 Thread cakeFreak
Following the discussion of these 2 threads: http://groups.google.com/group/cake-php/browse_frm/thread/6440d2b1f7a29534/b0d25b27475b6bdc?lnk=gstq=SMf#b0d25b27475b6bdc http://groups.google.com/group/cake-php/browse_frm/thread/55d0edff83e39775/2040fbf427a3996c?lnk=gstq=SMf#2040fbf427a3996c I

CakePHP miniFORUM

2007-10-20 Thread cakeFreak
Has anyone implemented (or tried to) a simple forum in CakePHP? Dan --~--~-~--~~~---~--~~ 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: CakePHP miniFORUM

2007-10-20 Thread cakeFreak
well, I managed to integrate SMF (http://groups.google.com/group/cake- php/browse_frm/thread/e44d0a4b957f3bf0) , but I'm still not sure whether to go for a simple HOME-MADE forum solution, with just few esentials functions. In fact the API I'm building already has user profiles etc. Today I

change validation rules on the fly: how?

2007-10-10 Thread cakeFreak
Hey guys, I have a problem ?!?! In my user table I have a field password. I want it to be REQUIRED on add action, while I want it NOT-REQUIRED on edit actions. Namely if the field is left blank on edit it's value doesn't get changed in DB, an no errors are displayed. How can I achieve this?

Dedicated server: which Linux distribution?

2007-10-10 Thread cakeFreak
I know it is a bit out of the main topic of this forum, but CakeBakers know the job! Well I'm gonna get a dedicated server, and I can choose betwee Fedora, Debian and Ubuntu. Any suggestion both in terms of performance and mantainability? Dan

Re: change validation rules on the fly: how?

2007-10-10 Thread cakeFreak
Superb! CakePHP always rocks! Cheers GriGri! Dan --~--~-~--~~~---~--~~ 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: Dedicated server: which Linux distribution?

2007-10-10 Thread cakeFreak
Cheers MJ Ray! Anyone about CentOS? Dan --~--~-~--~~~---~--~~ 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: customize baked views

2007-10-09 Thread cakeFreak
Yep, It really is this easy! ...and now I can bake my views as-they-should-be-in-my-project! Hope this helps! Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email

customize baked views

2007-10-08 Thread cakeFreak
Hey guys, is there a way to customize the views templates used while baking with the command line feature? Should I edit the views in cake/libs/templates/views? Cheers Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Comment Controller

2007-10-06 Thread cakeFreak
Did you try to load the comments form via Ajax? Dan On 5 Ott, 02:19, dixon_ [EMAIL PROTECTED] wrote: Hi all bakers! I'm developing just another CMS application to learn the Cake framework. Really impressed so far! I'm implementing a commenting system to my posts on the blog. I've

Re: cake deployer

2007-10-05 Thread cakeFreak
Cheers Dave, I really appreciated your help. I'll dive deep into the single commands, and I'll might get back with some comments on your commands! looking forward your deploiment script via shell! Dan --~--~-~--~~~---~--~~ You received this message because you

Re: cake deployer

2007-10-04 Thread cakeFreak
Hey Dave, can you please give me the full command to deploy with rsync from my local machine and: 1) the repository is on my localhost 2) I need to chmod the files to be accessible to another user, and not just the root admin that has ssh permission on my virtual server, on the server I'm a

how to protect reserved files

2007-10-03 Thread cakeFreak
Hey guys, I need to build a filesharing section for one website. Is there any suggested strategy in order to protect reserved files from download? More precisely:

change model $useTable on the fly

2007-10-03 Thread cakeFreak
Anyone knows how it is possible to change the table used by a model on the fly? Should I use a beforeFind condition in my model? Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this

Re: change model $useTable on the fly

2007-10-03 Thread cakeFreak
Cheers guys! I'll post my findings here lata (if somebody else is interested to the same topic)! Dan On 3 Ott, 15:57, gwoo [EMAIL PROTECTED] wrote: do a search in this group for setSource --~--~-~--~~~---~--~~ You received this message because you are

Re: how to protect reserved files

2007-10-03 Thread cakeFreak
Cheers Samuel, I'll try to keep them under the root without ACL an with conditional rules! Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: cakePHP friend/buddy system

2007-10-03 Thread cakeFreak
Try to read these posts: Self-referential has_many :through associations http://blog.hasmanythrough.com/2006/4/21/self-referential-through http://groups.google.com/group/cake-php/browse_frm/thread/c8ebc2097f8aad11/fae9ec58501534e6?lnk=gstq=friendrnum=1#fae9ec58501534e6

Re: CakePHP Presentation

2007-10-02 Thread cakeFreak
Did you see this presentation: http://www.cakephp.org/files/OCPHP.pdf Dan On 2 Ott, 22:09, Joshua Benner [EMAIL PROTECTED] wrote: It would be really cool to have an entire workable application written while I'm up front... and it's conceivable with bake. Hmm rtconner wrote: Show em

Re: How to generate URL without ':' that has argument.

2007-10-02 Thread cakeFreak
Your welcome mate! Dan --~--~-~--~~~---~--~~ 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]

Re: How to generate URL without ':' that has argument.

2007-09-30 Thread cakeFreak
You can always use $myUri = $this-params['url']['url]; $arguments = explode('_', $myUri[1]); On 30 Set, 10:27, TGG008 [EMAIL PROTECTED] wrote: Thanks~ It seems that CakePHP is not so flexible. If I want to build URL like:/google_ID_PAGE.html when the 'ID' is the primary key. and

Re: generateList + selectTag (combo box) question

2007-09-30 Thread cakeFreak
Why in your view you don't pass the 'selected' paramether to the helper function? i.e. $html-selectTag('fieldName', $arrayOfOptions, $id); Where $id is the selected item. Dan On 30 Set, 10:37, Lian3W [EMAIL PROTECTED] wrote: Hello. I'm making a photographer's portfolio in Cake 1.1 and I have

Re: a simple tag cloud... how?

2007-09-30 Thread cakeFreak
download the cheesecake photoblog to see a live example in action: http://cheesecake-photoblog.org/ Dan app... I want to pull out a tag cloud. Basically, the page output is more or less like this: TAG - URL marketing - google.com searchengine - yahoo.com searchengine - live.com news

Re: How to generate URL without ':' that has argument.

2007-09-29 Thread cakeFreak
Why in your users/something function you don't write function something($id = null) { if (!$id) { $this-Session-setFlash(record not existent); $this-redirect(array('action'='index'), null, true); exit;

  1   2   >