Re: The Last Alpha Cake

2007-07-10 Thread cakeFreak
Great guys! Cheers for the hard job! Respect! 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, s

Re: How to set the database connection's character encoding in cakephp?

2007-07-12 Thread cakeFreak
Silly question: if the encoding of my pages is "utf8", should I also set my db tables with the same encoding? Said in other words: should the page encoding reflect the db table encoding and vice-versa? Dan --~--~-~--~~~---~--~~ You received this message becaus

Re: flashplayer for cake

2007-07-12 Thread cakeFreak
Me too as video player! http://www.climbingvideos.eu/ 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 g

svn screencast + application deployment

2007-07-12 Thread cakeFreak
Hey guys I watched the great screencast by Larry E. Masters about "Using TortoiseSVN to Sync CakePHP applications Using TortoiseSVN to Sync CakePHP applications" => http://cakephp.org/screencasts/view/2 -- PREAMBLE:

Re: How to set the database connection's character encoding in cakephp?

2007-07-12 Thread cakeFreak
Well I noticed that in MySQL it is possible to set: -> MySQL charset (general) -> table collation -> fields collation + character set database character set connection character set client etc. My DB for example has=> MySQL charset: UTF-8 Unicode (utf8) That why I asked the above question

Re: My first experience using the new AuthComponent in cake1.2

2007-07-12 Thread cakeFreak
well dunno if this can help you, but I tested it on the 1.2.0.5146alpha: => http://groups.google.com/group/cake-php/browse_frm/thread/871ff4c536bc1e00 Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP"

Re: svn screencast + application deployment

2007-07-12 Thread cakeFreak
anybody? ;o) 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] For

Re: svn screencast + application deployment

2007-07-13 Thread cakeFreak
Sorry for asking twice Chris! I was just curious! Well does Capistrano works even for PHP applications? about "I like to make sure my changes actually work, " If you branch your code via svn, you can work on the devapp, test the changes and then merge/commit them on the trunk only when they w

Re: svn screencast + application deployment

2007-07-13 Thread cakeFreak
Cheers mate for the Capistrano hint! I'll try it out! 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

Re: Bakery Article : How to use ACL in 1.2.x

2007-07-13 Thread cakeFreak
Great Article! I was just wondering whether instead of building the aros for every single user, it is possible to build the aros (and then acos) for user groups instead. You get the usergroup from the Auth->user session data, ACL checks if the group of that user is allowed a specific ACo and so

Paginator HELPER, Ajax mode, IE7 problems

2007-07-16 Thread cakeFreak
I builded a page with the paginator helper. -- Using: CAKEPHP: 1.2.0.5427alpha Prototype: 1.5.1.1 --- everything works fine with Firefox and Safari. Wi

Re: Paginator HELPER, Ajax mode, IE7 problems

2007-07-16 Thread cakeFreak
Hey Nate, cheers for the help! well I did some other Ajax stuff using sortable etc but with previous prototype versions: I should retry with the last build. About the paginatore issue, I'm using the last prototype version (1.5.1.1) I.E. 7 does not give any JS error. Is any tool I should use fo

forum integration best practice (SMF)

2007-07-19 Thread cakeFreak
Hey guys, I'm gonna have to integrate my forthcoming Cake project with a forum. First of all I just wanted to ask your opinion about the best practice to achieve it: 1) separated user tables (when 1 user registers with the Cake App it gets added to the forum user table and vice-versa) 2) single u

Re: Paginating the results after creating a dummy model to filter HABTM results?

2007-07-20 Thread cakeFreak
I have a similar problem: I have a Tag model that has a HABM association with Post and Photos. I wanna to retrieve 2 separate pagination results for the records for a given Tag, iin order to display the reults with 2 pagination blocks via Ajax on the same page. I'm trying to call 2 separate fun

Re: AuthComponent Tutorial

2007-07-20 Thread cakeFreak
Hey Geoff Ford, cheers for the tutorial! Great! I just modified a bit you beforeFilter function in the AppController to basically allow access to all controllers during development with ease! --

Re: forum integration best practice (SMF)

2007-07-22 Thread cakeFreak
le seperate tables might appear easier to start with, it will > introduce sync errors and data redundancy and probably give you > headaches further doen the track. > > BTW SMF 2.0 looks promising... > > Geoff > --http://lemoncake.wordpress.com > > On Jul 20, 4:02 am, ca

model without table: contact form (CAKE 1.2.0.54727alpha)

2007-07-23 Thread cakeFreak
Hey guys, I'm in the case of a model without a table, and in particular a contact form. I'm using the last alpha cakePHP 1.2.0.54727alpha. Despite using var $useTable = false; in my contact model I had to add a loadInfo() method in the contact model. my Contact Model looks as follows: -

Re: model without table: contact form (CAKE 1.2.0.54727alpha)

2007-07-23 Thread cakeFreak
by the way, for those that need a contact form these are my views: --- views/contacts/index.ctp --

Re: forum integration best practice (SMF)

2007-07-23 Thread cakeFreak
Cheers again Geoff! By the way, has anyone implemented a forum using CakePHP? Well the benefits of having a cakePHP driven forum would be perfect integration between the APP and the FORUM, compared with plugging in a pre-made one! with regard to SMF I found this thread in the googleGroup forum:

Re: forum integration best practice (SMF)

2007-07-23 Thread cakeFreak
Great Sascha! looking forward your progresses! ring the bell if you need help! 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

webservices + data pagination: component or behaviour?

2007-07-25 Thread cakeFreak
hey guys, I'm retrieving some data from webservices (YouTube, Flickr) from a controller. Therefore I have no DB table and no model for that controller. In order to use cake built in paginator helper, what should I build, a kinda Flickr behavior? or a component? Dan --~--~-~--~~---

Re: Creating a recurring newsletter

2007-07-25 Thread cakeFreak
Maybe your server has a limit (to protect themself against spamming) with regard to accepted mails sent on a certain time range. once I noticed that with Swift Mailer (http://www.swiftmailer.org/) you can tell him how many e-mails to send before taking a rest, and them restart. check out this pa

Re: Paginator HELPER, Ajax mode, IE7 problems

2007-07-25 Thread cakeFreak
Hey Nate, well I downgraded my prototype version to 1.5.0 with scriptaculous 1.7 While other ajax calls work with IE7, it seems that the paginator still struggles. check it out here: http://www.intellighenziaproject.it/ Dan --~--~-~--~~~---~--~~ You received t

paginator helper: how to use it without a model?

2007-07-27 Thread cakeFreak
I was just wondering whether it is possible to use the paginator helper without a model. In particular you can find yourself with a controller getting data in form of arrays from a webservice (youtube, flickr etc.). Should I build a behavihour and a model for the controller that retrieves the we

Re: Need: CakePHP Contact Form Need Please

2007-07-27 Thread cakeFreak
This is the view; VIEW: views/contacts/index.ctp Contacts: create('Contact', array('url'=>'/contacts'));?> input('nom

Re: Need: CakePHP Contact Form Need Please

2007-07-27 Thread cakeFreak
Here we go with a contact form for last 1.2.0.5427alpha: CONTROLLER: contacts_controller.php set('title_for_layout', 'Contatti');

Re: Need: CakePHP Contact Form Need Please

2007-07-27 Thread cakeFreak
Baz, come on, you getting a bit EXTRA-lazy here. On 27 Lug, 21:23, Baz <[EMAIL PROTECTED]> wrote: > I saw this before, but since I'm on 1.1. It didn't work for me. Also there's > the language barrier. Language barrier??! Now I give you a couple of lessons of Italian. A) try to concentrate all

Re: paginator helper: how to use it without a model?

2007-07-28 Thread cakeFreak
anyone :o( --~--~-~--~~~---~--~~ 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 o

Re: How do you usually create admin area on site with CakePHP?

2007-07-29 Thread cakeFreak
Check out this thread: admin backend best practice http://groups.google.com/group/cake-php/browse_frm/thread/7e14ca05b59e27f/d8e76d231cc58d15?lnk=gst&q=admin+best+practice&rnum=3#d8e76d231cc58d15 --~--~-~--~~~---~--~~ You received this message because you are s

dynamic internationalization -->multilanguage website

2007-09-07 Thread cakeFreak
Hey guys, cheers for the clues on how to use l10n (http://groups.google.com/ group/cake-php/browse_frm/thread/1edcbbaed20657b9/13afbe9841b91314? #13afbe9841b91314). This will be super in order to handle static language messages. But what about retrieving content in database for different langua

Re: dynamic internationalization -->multilanguage website

2007-09-10 Thread cakeFreak
hey guys, sorry for my late replay, and cheers for your help. I'll try to be less cryptic. Let's take a multilingual website with a specular section in language 1 (italian), and language 2 (english). When in other circumstances I was in this kind of situation I used to add an extra "language fi

1.2 Auth/ACL resume

2007-09-19 Thread cakeFreak
Well let's go with Cake 1.2, while the Auth component seems to be pretty stable, the ACL one still gives me some troubles! I found several interesting tutorials (cheers guys!) that I'll list for everybody else: - http://realm3.com/articles/setting_up_users_groups_withacl_and_auth_in_cake_1.2.p

Re: 1.2 Auth/ACL resume

2007-09-20 Thread cakeFreak
Found some other artices on the bakery, but still strugling. - ToniAcl component tutorial - uri (http://bakery.cakephp.org/articles/view/toniacl-component- tutorial) Dan On 19 Set, 23:59, cakeFreak <[EMAIL PROTECTED]> wrote: > Well let's go with Cake 1.2, > > while the Aut

Re: 1.2 Auth/ACL resume

2007-09-21 Thread cakeFreak
www.littlehart.net/atthekeyboard/2007/09/11/a-hopefully-useful... > > Also the latest nightly has proper ACO inheritence where if will > traverse up the url path until it finds a match. > > Geoff > --http://lemoncake.wordpress.com > > On Sep 20, 9:42 pm, cakeFreak <[EMAIL

Capistrano + PHP deployment

2007-09-21 Thread cakeFreak
Hey guys, I read throught the *Automated PHP Deployment With Capistrano* tutorial => http://www.simplisticcomplexity.com/2006/8/16/automated-php-deployment-with-capistrano but it seems outdated. Does anyone has any FRESH suggestion for using Capistrano for PHP projects? Cheers in advance Dan

Re: Capistrano + PHP deployment

2007-09-21 Thread cakeFreak
Hey Chris, cheers for sharing! I thought it was not updated 'cause I tried to follow the tutorial and it didn't work for me. + I'm new to capistrano one question: I have all my php projects in C:\\www, while I installed all Ruby + Capistrano stuff in C:\\ruby In order to give the recepy to C

Re: Capistrano + PHP deployment

2007-09-22 Thread cakeFreak
Just a small note that might be usefull to somebody: I tried Chris recepy, but I didn't have my Apache live server (not the locale, on my Windows machine) configured with subversion. In order to use Chris recepy you should compile your Apache 2.2 live server with subversion, and have the followi

Re: dynamic internationalization -->multilanguage website

2007-09-22 Thread cakeFreak
he fields in the post ...but that's another story. > > > On Sep 10, 8:56 pm, cakeFreak <[EMAIL PROTECTED]> wrote: > > > > hey guys, sorry for my late replay, and cheers for your help. > > > > I'll try to be less cryptic. > > > > Let'

Re: Capistrano + PHP deployment

2007-09-22 Thread cakeFreak
PROTECTED]> wrote: > On 9/22/07, cakeFreak <[EMAIL PROTECTED]> wrote: > > > > > Just a small note that might be usefull to somebody: > > > I tried Chris recepy, but I didn't have my Apache live server (not the > > locale, on my Windows machine) config

Re: Capistrano + PHP deployment

2007-09-23 Thread cakeFreak
hey Chris, well the answer I get from my remote server is: - ** [out :: www.mySite.com] sh: line 1: svn: command not found - --~--~-~--~~--

Re: Capistrano + PHP deployment

2007-09-23 Thread cakeFreak
ecify that I was referring to the REMOTE server. Thanks again! Dan On 23 Set, 17:17, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On 9/23/07, cakeFreak <[EMAIL PROTECTED]> wrote: > > > > > hey Chris, > &g

Re: several translations for one content item (Translate behavior?)

2007-09-24 Thread cakeFreak
Try to read this tutorial "p28n component": http://bakery.cakephp.org/articles/view/p28n-the-top-to-bottom-persistent-internationalization-tutorial Plug the code of the p28n tutorial in your app, with the book example for the translate behavior. Now the i28n behavihor will work for the curret lo

translation again: add new on update with translate behavior

2007-09-24 Thread cakeFreak
Hey guys I read a long post about i18n and translations. Nevertheless, I did not find an answer to my problem yet. http://groups.google.com/group/cake-php/browse_frm/thread/889c63d32cfdf69/877ac273611da97e?lnk=gst&q=i18n&rnum=1#877ac273611da97e Summarizing: 1) The translate behavior works fine

Re: translation again: add new on update with translate behavior

2007-09-24 Thread cakeFreak
Hey guys, well, I have to actions: ADD and EDIT. Eventually we can write a specific one: ADD_TRANSLATION Everything works fine if I maniulate the database entries manually after adding the first record. Namely I put the same id in table i18n "row_id": ---

Re: translation again: add new on update with translate behavior

2007-09-24 Thread cakeFreak
Is the right way to write a controller function that acts directly and only on the i18n tables? 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@go

Re: translation again: add new on update with translate behavior

2007-09-25 Thread cakeFreak
view/1730054190 > > use the mytranslated behavior as you use the built in translate > behavior (it just extends the built-in behavior) > > :jean-claude > > On Sep 25, 8:39 am, cakeFreak <[EMAIL PROTECTED]> wrote: > > > Is the right way to write a contr

Re: common _id issue but I can't find the damn answer!

2007-09-25 Thread cakeFreak
Did you already add a first author? My suggestion is to use the command line bake script to build your models In your model use $belongsTo and not *$belongTo* Dan On 25 Set, 14:38, naoise <[EMAIL PROTECTED]> wrote: > Hi, I've been researching already too much but I don't know what's > wrong. >

Re: translation again: add new on update with translate behavior

2007-09-25 Thread cakeFreak
Wow jcsiegrist, it works! So far I have a basic example for it: - CONTROLLER sections_controller.php (partial) - function add() { if (!empty($this->data)) {

Re: common _id issue but I can't find the damn answer!

2007-09-25 Thread cakeFreak
;o) your welcome mate! Dan On 25 Set, 16:55, "Naoise Golden" <[EMAIL PROTECTED]> wrote: > In your model use $belongsTo and not *$belongTo* > > Yes! That worked! See... just a simple error in the code. Thank you so much. > Why is it that it didn't work by default? --~--~-~--~~-

Re: 1.2 Auth/ACL resume

2007-09-25 Thread cakeFreak
My old question : >How I can grant specific rights to every CRUD operation of a controller >without the need to specify every CRUD action in the ACOs table? --- ==>ANSWER -

Re: Multilanguage Site

2007-09-27 Thread cakeFreak
Hey Mansillag, well this are my hints: 1) read about the P28n component on the Bakery and do what suggested there http://bakery.cakephp.org/articles/view/p28n-the-top-to-bottom-persistent-internationalization-tutorial 2) read this post http://groups.google.com/group/cake-php/browse_frm/thread/

Re: Easy way to deal with enum's?

2007-09-27 Thread cakeFreak
By the way, is the getEnumValues function ok for cake 1.2? 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 th

Best way to handle "GUESTS" with ACL and groups

2007-09-28 Thread cakeFreak
Hey guys I was just wondering what is the best way to handle "Guests" woth ACL. Let's say I have my Groups as follows: - Admin - Editors - Users - Guests I was thinking to do something like this in a beforeFilter function in my AppController ---

Re: catch all action

2007-09-28 Thread cakeFreak
Hey carSign, maybe there is a better way using regexpressions, but way in you controller index() function you don't explode the uri? In the ruter set - Router::connect('/videos/*', array('controller' => 'videos', 'action' => 'in

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;

Re: Best way to handle "GUESTS" with ACL and groups

2007-09-29 Thread cakeFreak
Cheers Geoff! With all answers you gave me I own you a couple of beers ;0) By the way you therefore do -ROOT ---Admins -Editors Users And then you deny all actions (or just all, but read) to ROOT? Dan --~--~-~--~~~---~--~~ You received this messag

Re: How do I removed header "CakePHP Rapid Development" in my page

2007-09-29 Thread cakeFreak
In your website installation go to: cake\libs\view\templates\layouts copy the file dafault.ctp (cake 1.2 - or default.thtml cake 1.1) in your app\views\layouts Open it and edit it according to your need. Dan --~--~-~--~~~---~--~~ You received this message bec

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

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 h

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

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: > > Sh

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

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 thi

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 subsc

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 cake-php@googl

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=gst&q=friend&rnum=1#fae9ec58501534e6 http://groups.google.c

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 n

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

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: 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 emai

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, se

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 t

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=gst&q=SMf#b0d25b27475b6bdc http://groups.google.com/group/cake-php/browse_frm/thread/55d0edff83e39775/2040fbf427a3996c?lnk=gst&q=SMf#2040fbf427a3996c I ca

Re: CakePHP SMF integration

2007-10-20 Thread cakeFreak
I was just forgetting a couple of things about a couple of modifications to the SMF original session table: 1) add a column called 'expires' and set it to NULL (only CakePHP writes there) 2) set the `last_update` field to NULL (only SMF writes there) - Final

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 fr

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 p

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

2008-10-16 Thread cakeFreak
ote: > Unless you 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

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 PROTEC

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 grou

Re: Custom url in paginate CakePHP 1.2

2008-06-15 Thread cakeFreak
Try something like this in your view: 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) { >

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 firef

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, sen

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');

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: 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 th

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 e

Re: TiramisuPHP

2008-03-05 Thread cakeFreak
ystem. > > I like using PHP for my templates. I have used Smarty before, and > mostly I felt it added 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, "Chri

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 regarding

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 relea

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 th

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=gst&q=associations+%2B+translate+behavior#34485c24eb5a44f7 Anyone got this problem fixed *AUTOMAGICALLY*

  1   2   >