One form with two submit buttons

2007-12-08 Thread Arne-Kolja Bachstein
Hi, I have to implement a search form like How could I do this the cake way, is there any option? I cannot imagine atm how to do this at all, but maybe someone out there has a clue... Thanks in advance Arne --~--~-~--~~~---~--~~ You received this message b

versions of CakePHP - How to locate

2007-12-08 Thread sum1kul
This page mentions about 5 versions of CakePHP. https://trac.cakephp.org/wiki/Developement/Process * stable * development * trunk * nightly * branch Was wondering how to locate some of them. Particularly, for cake 1.2, where can I locate the 'development' version? Is the st

Problem with the hostmonster

2007-12-08 Thread rvntone
Hi, I buy one hosting in "hostmonster" and I have my web site ready (in cakePHP of course), when I upload my files to the server and I tried to connect to my page I get a blank page, somebody has the same problem? which would be the problem? --~--~-~--~~~---~--~~ Y

Re: Hi

2007-12-08 Thread bingo
hi maxi, you can use requestAction to get data from post model and display it in /page/display.thtml in you display.thtml use $data = this->requestAction('/post/view/id:'); if you search more on requestAction on http://bakery.cakephp.org/, you will find some good articles...also look at so

Multiple N to Distinct N Model

2007-12-08 Thread Santa
I have a model situation that I cannot find in the group anywhere. I have spent nearly a day searching. I am hoping there is a model guru that can help. First, to help you understand, I am putting together a pre-canned form letter tool. I will have three sections to the letter using all pre- writ

Re: How to trigger a cake controller function from CLI?

2007-12-08 Thread Jeff Seibert
I am having exactly the same issue - the action I want to trigger via cron requires Auth. Any ideas how to do this? Curl? On Dec 8, 3:58 pm, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote: > Hi there, > > I am writing a nice app atm that needs a function to be triggered via > cron few times a day

Re: How to trigger a cake controller function from CLI?

2007-12-08 Thread chad
Arne - If you're using 1.2 start here: http://cakebaker.42dh.com/2007/05/16/shells-and-tasks/ If you're on 1.1: http://bakery.cakephp.org/articles/view/calling-controller-actions-from-cron-and-the-command-line -chad On Dec 8, 4:58 pm, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote: > Hi there,

How to trigger a cake controller function from CLI?

2007-12-08 Thread Arne-Kolja Bachstein
Hi there, I am writing a nice app atm that needs a function to be triggered via cron few times a day. Do you have an idea how to do this? I mean is there a problem with triggering it because of the url scheme or something? And what if I need this function to go through Auth component? Thanks in

Tree Behavior :: Basic Usage :: Using cakephp 1.2.x.x_06.12.2007

2007-12-08 Thread Josoroma
Im very motivated, now im starting to understand the cool Tree Behabior in Cake. Im going to share some of my code with you (i hope you contribute and fix what you think needs to be fixed). I can add and delete categories without problems, im still a newbee, any advice or comment is welcome. Dat

Re: Tree Behavior :: Basic Usage :: Using cakephp 1.2.x.x_06.12.2007

2007-12-08 Thread Josoroma
Sorry! To avoid the forbidden message, you need to copy and paste each link directly in the browser. --~--~-~--~~~---~--~~ 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@goo

Re: Depcrecation

2007-12-08 Thread Gwoo
You can expect all deprecated functions to be removed after the beta release. Some have already been removed. You can find the list in the changelog on https://trac.cakephp.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: need xhtml and css designer with Cake experience

2007-12-08 Thread chad
Hi Lee - Checkout: http://withcake.com -chad On Dec 7, 8:03 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hey Cake Users and Developers, > > I co-own a web development company in the Chicagoland area and we are > strictly a CakePHP shop. We are in severe need of a talented designer > with

Hi

2007-12-08 Thread maxi
How I can show "post" on presentation page from table posts? If I add post on admin page..Post use Post model, and I need show post in /Page/display.thtm I'm new in Cake...Thank you!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Depcrecation

2007-12-08 Thread beetlecube
Was wondering if there is any documentation on the main site, that tells you when those particular functions listed as deprecated in the API, will actually be removed from the framework. I'm using some depcrecated functions now, because when I tried to upgrade to a higher version of 1.2 to use th

Re: Creating an index page

2007-12-08 Thread Dardo Sordi Bogado
Try putting in app/config/routes.php Router::connect('/directory', array('controller' => 'somecontroller', 'action' => 'theaction')); On Dec 7, 2007 5:05 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I'm starting to toy with CakePHP and while I've gone over the > tutorials I could find

Edit action - Sanitize ID and Queries inside array(not strings)

2007-12-08 Thread Josoroma
Code example: Inside a edit action like: function edit($id = null) { Im calling generatetreelist like: $this->set('categoriesSelect', $this->Category- >generatetreelist("Ca

Re: using dojo with cakephp

2007-12-08 Thread kchopein
Hi again! Well, finally I've been able to dojo widgets working in Cake. The dojo helper from the bakery is a little bit old, for the previous dojo release (I think), so I've written some code to get a working colorpicker. Now i'm stuck with the grid, the main reason I need dojo working. Any ideas

Re: Links translation - best practices to solve a complex problem

2007-12-08 Thread vlad
Sorry. I didn't specify what i want. The title says 'best practices' - that's what i want. How would you do this? Thank you. On Dec 8, 7:07 pm, vlad <[EMAIL PROTECTED]> wrote: > Hello all! > > First of all thanks in advance to all who will answer. > > I'm not using i18n, but i have a multilanguag

Links translation - best practices to solve a complex problem

2007-12-08 Thread vlad
Hello all! First of all thanks in advance to all who will answer. I'm not using i18n, but i have a multilanguage website on cake. Premises: There are a few issues to consider here. We want our links to be translated. They are user-friendly and seo-friendly. And they use various keywords that re

Re: Limit number of words returned in a query

2007-12-08 Thread Dardo Sordi Bogado
Also you can retieve the fulltext and present a fragment in the view, look at the TextHelper in the api: http://api.cakephp.org/1.2/class_text_helper.html On Dec 8, 2007 12:31 PM, ianh <[EMAIL PROTECTED]> wrote: > > Various ways this could be done. A lot depends on how you need to call > the inf

othAuth component + CakePHP 1.2.0.5875 prebeta = broken ==> saveField not working

2007-12-08 Thread bingo
hi, I did some debugging..and it seems the above problem is only with OthAuth component. I searched through all the possible sources..but couldn't find any reason why its not working. Any help will be appreciated. Regards, Ritesh --~--~-~--~~~---~--~~ You received

Re: Limit number of words returned in a query

2007-12-08 Thread ianh
Various ways this could be done. A lot depends on how you need to call the information throughout your app. Three possibilities are: 1. Store a "preview" field in your database and use the beforeSave callback in the model to auto-populate/update the field from submitted text; 2. Use the afterFin

Limit number of words returned in a query

2007-12-08 Thread Dilbert
Let's say I have an article with a text field that is the full content. How can I have a preview of the text in the home page limiting the numbers of phrases or words (a bit like in drupal)? Thank you. --~--~-~--~~~---~--~~ You received this message because you are

Re: Dbdesigner :: hasAndBelongsToMany ER example

2007-12-08 Thread zonium
Okey, I'll give it a shot explaining my understanding: We get used to describing entity relationships via traditional types: 1-to-1, 1-to-many, and many-to many. It would be less confused if we were able to communicate with cake through these traditional terms. Cake has its own conventions for d

Re: Model Association 'limit' not working

2007-12-08 Thread zonium
Did you try turning on debug mode and see how the SQL statement looks like? Try running the sql statement manually and you should be able to track where the problem is. Zonium On Dec 7, 5:30 pm, sanderken <[EMAIL PROTECTED]> wrote: > People looking for the answer to " defining limit row in oracl

Обсуждение на groups-in-other-languages

2007-12-08 Thread VolCh
Russian - http://groups.google.com/group/cake-php-ru?hl=ru&lnk=li --~--~-~--~~~---~--~~ 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

SYPAD beta, outsourcing marketplace built with CakePHP

2007-12-08 Thread Mariano Iglesias
People, I'm pleased to announce that we've just released the first beta version of SYPAD, an outsourcing marketplace where you can, among other services, hire developers or sell your development services while working on existing projects: http://www.sypad.com I

Re: Dbdesigner :: hasAndBelongsToMany ER example

2007-12-08 Thread zonium
I'll give it a shot explaining my understanding: We get used to describing entity relationships via traditional types: 1-to-1, 1-to-many, and many-to many. It would be less confused if we were able to communicate with cake through these traditional terms. Cake has its own conventions for describi